mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-01 11:25:44 +00:00

Some checks are pending
CI / setup (check) (push) Waiting to run
CI / setup (esp32) (push) Waiting to run
CI / setup (esp32c3) (push) Waiting to run
CI / setup (esp32c6) (push) Waiting to run
CI / setup (esp32s3) (push) Waiting to run
CI / setup (nrf52840) (push) Waiting to run
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / build-debian-src (push) Waiting to run
CI / package-pio-deps-native-tft (push) Waiting to run
CI / test-native (push) Waiting to run
CI / docker-deb-amd64 (push) Waiting to run
CI / docker-deb-amd64-tft (push) Waiting to run
CI / docker-alp-amd64 (push) Waiting to run
CI / docker-alp-amd64-tft (push) Waiting to run
CI / docker-deb-arm64 (push) Waiting to run
CI / docker-deb-armv7 (push) Waiting to run
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
CI / publish-firmware (push) Blocked by required conditions
42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
#ifndef Pins_Arduino_h
|
|
#define Pins_Arduino_h
|
|
|
|
#include <stdint.h>
|
|
|
|
#define USB_VID 0x303a
|
|
#define USB_PID 0x1001
|
|
|
|
// Now declared in .platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h
|
|
// #define NUM_ANALOG_INPUTS 20
|
|
// #define EXTERNAL_NUM_INTERRUPTS 46
|
|
// #define NUM_DIGITAL_PINS 48
|
|
// #define analogInputToDigitalPin(p) (((p) < 20) ? (analogChannelToDigitalPin(p)) : -1)
|
|
// #define digitalPinToInterrupt(p) (((p) < 48) ? (p) : -1)
|
|
// #define digitalPinHasPWM(p) (p < 46)
|
|
|
|
static const uint8_t TX = 43;
|
|
static const uint8_t RX = 44;
|
|
|
|
// The default Wire will be mapped to PMU and RTC
|
|
static const uint8_t SDA = 42;
|
|
static const uint8_t SCL = 41;
|
|
|
|
// Default SPI will be mapped to Radio
|
|
static const uint8_t SS = 10;
|
|
static const uint8_t MOSI = 11;
|
|
static const uint8_t MISO = 13;
|
|
static const uint8_t SCK = 12;
|
|
|
|
// Another SPI bus shares SD card and QMI8653 inertial measurement sensor
|
|
#define SPI_MOSI (35)
|
|
#define SPI_SCK (36)
|
|
#define SPI_MISO (37)
|
|
#define SPI_CS (47)
|
|
#define IMU_CS (34)
|
|
|
|
#define SDCARD_CS SPI_CS
|
|
#define IMU_INT (33)
|
|
// #define PMU_IRQ (40)
|
|
#define RTC_INT (14)
|
|
|
|
#endif /* Pins_Arduino_h */ |