forked from wellenvogel/esp32-nmea2000
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
71673e7
commit 9fc090a
Showing
2 changed files
with
67 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
[platformio] | ||
#if you want a pio run to only build | ||
#your special environments you can set this here | ||
#by uncommenting the next line | ||
default_envs = obp60_s3 | ||
[env:obp60_s3] | ||
platform = [email protected] | ||
board_build.variants_dir = variants | ||
#board = obp60_s3_n8 #ESP32-S3 N8, 8MB flash, no PSRAM | ||
#board = obp60_s3_n16 #ESP32-S3 N16,16MB flash, no PSRAM, zero series | ||
#board = obp60_s3_n8r8 #ESP32-S3 N8R8, 8MB flash, 8MB PSRAM | ||
board = obp60_s3_n16r8 #ESP32-S3 N16R8, 16MB flash, 8MB PSRAM, production series | ||
#board = obp60_s3_light_n8r8 #ESP32-S3 N8R8, 8MB flash, 8MB PSRAM, OBP60 clone | ||
#board_build.partitions = default_8MB.csv #ESP32-S3 N8, 8MB flash | ||
board_build.partitions = default_16MB.csv #ESP32-S3 N16, 16MB flash | ||
framework = arduino | ||
lib_deps = | ||
${basedeps.lib_deps} | ||
Wire | ||
SPI | ||
esphome/[email protected] | ||
robtillaart/[email protected] | ||
adafruit/Adafruit Unified Sensor @ 1.1.13 | ||
blemasle/[email protected] | ||
adafruit/Adafruit [email protected] | ||
adafruit/Adafruit GFX [email protected] | ||
#zinggjm/[email protected] | ||
#https://github.com/ZinggJM/GxEPD2 | ||
https://github.com/thooge/GxEPD2 | ||
sstaub/[email protected] | ||
adafruit/Adafruit BMP280 [email protected] | ||
adafruit/Adafruit BME280 [email protected] | ||
adafruit/Adafruit BMP085 [email protected] | ||
enjoyneering/[email protected] | ||
robtillaart/[email protected] | ||
paulstoffregen/[email protected] | ||
milesburton/[email protected] | ||
signetica/[email protected] | ||
adafruit/Adafruit FRAM I2C@^2.0.3 | ||
build_flags= | ||
#https://thingpulse.com/usb-settings-for-logging-with-the-esp32-s3-in-platformio/?srsltid=AfmBOopGskbkr4GoeVkNlFaZXe_zXkLceKF6Rn-tmoXABCeAR2vWsdHL | ||
# -D ARDUINO_USB_MODE=1 #0=OTG (to implement other external devices), 1=CDC (is a serial device) | ||
# -D ARDUINO_USB_CDC_ON_BOOT=1 #0=JTAG, 1=CDC (serial device) | ||
# -D CORE_DEBUG_LEVEL=1 #Debug level for CPU core via CDC (seral device) | ||
# -D TIME=$UNIX_TIME #Set PC time for RTC (only settable via VSC) | ||
-D DISABLE_DIAGNOSTIC_OUTPUT #Disable diagnostic output for GxEPD2 lib | ||
-D BOARD_OBP60S3 #Board OBP60 V2.1 with ESP32S3 | ||
# -D HARDWARE_V20 #OBP60 hardware revision V2.0 | ||
-D HARDWARE_V21 #OBP60 hardware revision V2.1 | ||
# -D HARDWARE_LIGHT #OBP60 hardware clone | ||
# -D DISPLAY_GDEW042T2 #old E-Ink display from Waveshare, R10 0.47 ohm | ||
-D DISPLAY_GDEY042T81 #new E-Ink display from Waveshare, R10 2.2 ohm | ||
# -D DISPLAY_GYE042A87 #alternativ E-Ink display from Genyo Optical, R10 2.2 ohm | ||
# -D DISPLAY_SE0420NQ04 #alternativ E-Ink display from SID Technology, R10 2.2 ohm | ||
${env.build_flags} | ||
#CONFIG_ESP_TASK_WDT_TIMEOUT_S = 10 #Task Watchdog timeout period (seconds) [1...60] 5 default | ||
#upload_port = /dev/ttyACM0 #OBP60 original | ||
upload_port = /dev/ttyUSB0 #OBP60 clone | ||
upload_protocol = esptool #firmware upload via USB OTG seriell, by first upload need to set the ESP32-S3 in the upload mode with shortcut GND to Pin27 | ||
upload_speed = 230400 | ||
monitor_speed = 115200 |