forked from wellenvogel/esp32-nmea2000
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OBP40 Battery voltage measuring and capacity calculation
- Loading branch information
1 parent
a952567
commit 7afcb86
Showing
3 changed files
with
38 additions
and
3 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
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 |
---|---|---|
|
@@ -2,7 +2,9 @@ | |
#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 | ||
default_envs = | ||
obp60_s3 | ||
obp40_s3 | ||
|
||
[env:obp60_s3] | ||
platform = [email protected] | ||
|
@@ -91,6 +93,8 @@ build_flags= | |
-D DISABLE_DIAGNOSTIC_OUTPUT #Disable diagnostic output for GxEPD2 lib | ||
-D BOARD_OBP40S3 #Board OBP40 V1.0 with ESP32S3 SKU:DIE07300S (CrowPanel 4.2) | ||
-D DISPLAY_GDEY042T81 #new E-Ink display from Waveshare, R10 2.2 ohm | ||
-D LIPO_ACCU_1200 #Hardware extension, LiPo accu 3,7V 1200mAh | ||
-D VOLTAGE_SENSOR #Hardware extension, LiPo voltage sensor with two resistors | ||
${env.build_flags} | ||
upload_port = /dev/ttyUSB0 #OBP40 download via external USB/Serail converter | ||
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 | ||
|