thinknode_m5: initial port

This commit is contained in:
Florent 2025-11-27 21:49:04 +01:00
parent ffbc24b3e7
commit d0f6def4f9
8 changed files with 421 additions and 0 deletions

View file

@ -0,0 +1,21 @@
#define I2C_SCL 1
#define I2C_SDA 2
#define PIN_VBAT_READ 8
#define AREF_VOLTAGE (3.0)
#define ADC_MULTIPLIER (2.11F)
#define PIN_BUZZER 9
#define PIN_VEXT_EN_ACTIVE HIGH
#define PIN_VEXT_EN 46
#define PIN_USER_BTN 21
#define PIN_LED 3
#define PIN_STATUS_LED 1
#define PIN_PWRBTN 14
#define PIN_DISPLAY_MISO (-1)
#define PIN_DISPLAY_MOSI (45)
#define PIN_DISPLAY_SCLK (38)
#define PIN_DISPLAY_CS (39)
#define PIN_DISPLAY_DC (40)
#define PIN_DISPLAY_RST (41)
#define PIN_DISPLAY_BUSY (42)
#define DISP_BACKLIGHT (5)