Introduced new gernot config

This commit is contained in:
2021-01-03 15:37:25 +01:00
parent 31aedecfe2
commit ebbbe11980
2 changed files with 84 additions and 6 deletions

View File

@ -18,10 +18,11 @@ install:
env:
- BUILD_CONFIG=feedc0de_usb
- BUILD_CONFIG=greyhash_usb
- BUILD_CONFIG=aveexy_usb
# - BUILD_CONFIG=greyhash_usb
# - BUILD_CONFIG=aveexy_usb
- BUILD_CONFIG=mickdermack_usb
- BUILD_CONFIG=peter_usb
- BUILD_CONFIG=gernot
script:
- platformio run -e $BUILD_CONFIG

View File

@ -8,9 +8,6 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
inc_dir = src/espcpputils
[common_env_data]
platform = espressif32
board = esp32dev
@ -133,7 +130,7 @@ build_flags =
-DDEVICE_PREFIX=bobbyquad
-DAP_PASSWORD=Passwort_123
${webserver_common.build_flags}
-DFEATURE_ARDUINOOTA
; -DFEATURE_ARDUINOOTA
; -DFEATURE_WEBOTA
-DFEATURE_DPAD_5WIRESW
-DPINS_DPAD_5WIRESW_OUT=32
@ -395,3 +392,83 @@ build_flags = ${peter.build_flags}
upload_protocol = espota
upload_port = 192.168.127.83
[gernot]
platform = ${common_env_data.platform}
board = ${common_env_data.board}
framework = ${common_env_data.framework}
platform_packages = ${common_env_data.platform_packages}
board_build.partitions = partitions_4M_ota.csv
lib_deps =
${common_env_data.lib_deps}
${webserver_common.lib_deps}
lib_compat_mode = ${common_env_data.lib_compat_mode}
build_unflags = ${common_env_data.build_unflags}
build_flags =
${common_env_data.build_flags}
-DPINS_GAS=33
-DPINS_BREMS=35
-DILI9341_DRIVER=1
-DTFT_MOSI=13
-DTFT_SCLK=15
-DTFT_CS=14
-DTFT_DC=12
-DTFT_RST=2
-DSPI_FREQUENCY=27000000
-DDEFAULT_SWAPSCREENBYTES=false
-DPINS_RX1=4
-DPINS_TX1=5
-DPINS_RX2=25
-DPINS_TX2=26
-DDEFAULT_INVERTFRONTLEFT=false
-DDEFAULT_INVERTFRONTRIGHT=true
-DDEFAULT_INVERTBACKLEFT=true
-DDEFAULT_INVERTBACKRIGHT=false
; -DFEATURE_MOSFETS
; -DPINS_MOSFET0=18
; -DPINS_MOSFET1=19
; -DPINS_MOSFET2=21
${default_limits.build_flags}
-DDEVICE_PREFIX=bobbyquad
-DAP_PASSWORD=Passwort_123
${webserver_common.build_flags}
-DFEATURE_ARDUINOOTA
-DPINS_DPAD_UP=23 ;runter
-DPINS_DPAD_DOWN=32
-DPINS_DPAD_CONFIRM=34 ;rauf
-DPINS_DPAD_BACK=27
-DFEATURE_DPAD
; -DDPAD_5WIRESW_DEBUG
-DDEFAULT_GASMIN=770
-DDEFAULT_GASMAX=2770
-DDEFAULT_BREMSMIN=770
-DDEFAULT_BREMSMAX=2970
; -DFEATURE_BMS
[env:gernot_usb]
platform = ${gernot.platform}
board = ${gernot.board}
framework = ${gernot.framework}
platform_packages = ${gernot.platform_packages}
board_build.partitions = ${gernot.board_build.partitions}
lib_deps = ${gernot.lib_deps}
lib_compat_mode = ${gernot.lib_compat_mode}
build_unflags = ${gernot.build_unflags}
build_flags = ${gernot.build_flags}
upload_speed = 921600
upload_port = COM14
[env:gernot_ota]
platform = ${gernot.platform}
board = ${gernot.board}
framework = ${gernot.framework}
platform_packages = ${gernot.platform_packages}
board_build.partitions = ${gernot.board_build.partitions}
lib_deps = ${gernot.lib_deps}
lib_compat_mode = ${gernot.lib_compat_mode}
build_unflags = ${gernot.build_unflags}
build_flags = ${gernot.build_flags}
upload_protocol = espota
upload_port = 192.168.0.50