pins_arduino.h 798 B

12345678910111213141516171819202122232425262728
  1. // Need this file for ESP32-S3
  2. // No need to modify this file, changes to pins imported from variant.h
  3. // Most is similar to https://github.com/espressif/arduino-esp32/blob/master/variants/esp32s3/pins_arduino.h
  4. #ifndef Pins_Arduino_h
  5. #define Pins_Arduino_h
  6. #include <stdint.h>
  7. #include <variant.h>
  8. #define USB_VID 0x303a
  9. #define USB_PID 0x1001
  10. // Serial
  11. static const uint8_t TX = PIN_GPS_TX;
  12. static const uint8_t RX = PIN_GPS_RX;
  13. // Default SPI will be mapped to Radio
  14. static const uint8_t SS = P_LORA_NSS;
  15. static const uint8_t SCK = P_LORA_SCLK;
  16. static const uint8_t MOSI = P_LORA_MISO;
  17. static const uint8_t MISO = P_LORA_MOSI;
  18. // The default Wire will be mapped to PMU and RTC
  19. static const uint8_t SCL = PIN_BOARD_SCL;
  20. static const uint8_t SDA = PIN_BOARD_SDA;
  21. #endif /* Pins_Arduino_h */