Migrate esp32 families to pioarduino platform

This commit is contained in:
Austin Lane
2025-12-12 12:36:52 -05:00
committed by Austin
parent 3a723ceae8
commit aa506ce4ab
124 changed files with 670 additions and 374 deletions

View File

@@ -8,13 +8,9 @@ board_build.mcu = esp32s3
upload_protocol = esptool
;upload_port = /dev/ttyACM0
upload_speed = 921600
build_unflags =
${esp32s3_base.build_unflags}
-DARDUINO_USB_MODE=1
build_flags =
${esp32s3_base.build_flags}
-D STATION_G2
-I variants/esp32s3/station-g2
-DBOARD_HAS_PSRAM
-DSTATION_G2
-DARDUINO_USB_MODE=0

View File

@@ -42,7 +42,7 @@ Board Information: https://wiki.uniteng.com/en/meshtastic/station-g2
/*
#define BATTERY_PIN 4 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
#define ADC_CHANNEL ADC1_GPIO4_CHANNEL
#define ADC_CHANNEL ADC_CHANNEL_3
#define ADC_MULTIPLIER 4
#define BATTERY_SENSE_SAMPLES 15 // Set the number of samples, It has an effect of increasing sensitivity.
#define BAT_FULLVOLT 8400