Added configs for feedc0de
This commit is contained in:
105
platformio.ini
105
platformio.ini
@@ -8,9 +8,6 @@
|
|||||||
; Please visit documentation for the other options and examples
|
; Please visit documentation for the other options and examples
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[platformio]
|
|
||||||
default_envs = bobbycar_usb
|
|
||||||
|
|
||||||
[common_env_data]
|
[common_env_data]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
@@ -35,7 +32,7 @@ build_flags =
|
|||||||
-DLOAD_FONT4=1
|
-DLOAD_FONT4=1
|
||||||
-DLOAD_FONT7=1
|
-DLOAD_FONT7=1
|
||||||
|
|
||||||
[default_limits_common_env_data]
|
[default_limits]
|
||||||
build_flags =
|
build_flags =
|
||||||
-DDEFAULT_IMOTMAX=25
|
-DDEFAULT_IMOTMAX=25
|
||||||
-DDEFAULT_IDCMAX=27
|
-DDEFAULT_IDCMAX=27
|
||||||
@@ -43,8 +40,7 @@ build_flags =
|
|||||||
-DDEFAULT_FIELDWEAKMAX=5
|
-DDEFAULT_FIELDWEAKMAX=5
|
||||||
-DDEFAULT_FIELDADVMAX=40
|
-DDEFAULT_FIELDADVMAX=40
|
||||||
|
|
||||||
|
[peters_platine]
|
||||||
[bobbycar_common_env_data]
|
|
||||||
build_flags =
|
build_flags =
|
||||||
-DILI9341_DRIVER=1
|
-DILI9341_DRIVER=1
|
||||||
-DTFT_MOSI=13
|
-DTFT_MOSI=13
|
||||||
@@ -62,26 +58,61 @@ build_flags =
|
|||||||
-DPINS_TX2=26
|
-DPINS_TX2=26
|
||||||
-DPINS_GAS=35
|
-DPINS_GAS=35
|
||||||
-DPINS_BREMS=33
|
-DPINS_BREMS=33
|
||||||
; -DFEATURE_3WIRESW
|
|
||||||
; -DPINS_3WIRESW_OUT=0
|
|
||||||
; -DPINS_3WIRESW_IN1=16
|
|
||||||
; -DPINS_3WIRESW_IN2=27
|
[feedc0de]
|
||||||
-DFEATURE_DPAD
|
build_flags =
|
||||||
-DPINS_DPAD_IN1=22
|
${common_env_data.build_flags}
|
||||||
-DPINS_DPAD_IN2=23
|
${peters_platine.build_flags}
|
||||||
-DPINS_DPAD_IN3=27
|
-DFEATURE_3WIRESW
|
||||||
-DPINS_DPAD_IN4=32
|
-DPINS_3WIRESW_OUT=0
|
||||||
|
-DPINS_3WIRESW_IN1=16
|
||||||
|
-DPINS_3WIRESW_IN2=27
|
||||||
|
; -DFEATURE_DPAD
|
||||||
|
; -DPINS_DPAD_IN1=22
|
||||||
|
; -DPINS_DPAD_IN2=23
|
||||||
|
; -DPINS_DPAD_IN3=27
|
||||||
|
; -DPINS_DPAD_IN4=32
|
||||||
; -DFEATURE_ROTARY
|
; -DFEATURE_ROTARY
|
||||||
; -DPINS_ROTARY_CLK=16
|
; -DPINS_ROTARY_CLK=16
|
||||||
; -DPINS_ROTARY_DT=27
|
; -DPINS_ROTARY_DT=27
|
||||||
; -DPINS_ROTARY_SW=0
|
; -DPINS_ROTARY_SW=0
|
||||||
${default_limits_common_env_data.build_flags}
|
${default_limits.build_flags}
|
||||||
-DDEFAULT_GASMIN=800
|
-DDEFAULT_GASMIN=800
|
||||||
-DDEFAULT_GASMAX=3700
|
-DDEFAULT_GASMAX=3700
|
||||||
-DDEFAULT_BREMSMIN=1300
|
-DDEFAULT_BREMSMIN=1300
|
||||||
-DDEFAULT_BREMSMAX=4000
|
-DDEFAULT_BREMSMAX=4000
|
||||||
|
|
||||||
[env:bobbycar_usb]
|
[env:feedc0de_usb]
|
||||||
|
platform = ${common_env_data.platform}
|
||||||
|
board = ${common_env_data.board}
|
||||||
|
framework = ${common_env_data.framework}
|
||||||
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
|
lib_deps = ${common_env_data.lib_deps}
|
||||||
|
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
||||||
|
build_unflags = ${common_env_data.build_unflags}
|
||||||
|
build_flags = ${feedc0de.build_flags}
|
||||||
|
|
||||||
|
upload_speed = 921600
|
||||||
|
upload_port = /dev/ttyUSB*
|
||||||
|
|
||||||
|
[env:feedc0de_ota]
|
||||||
|
platform = ${common_env_data.platform}
|
||||||
|
board = ${common_env_data.board}
|
||||||
|
framework = ${common_env_data.framework}
|
||||||
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
|
lib_deps = ${common_env_data.lib_deps}
|
||||||
|
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
||||||
|
build_unflags = ${common_env_data.build_unflags}
|
||||||
|
build_flags = ${feedc0de.build_flags}
|
||||||
|
|
||||||
|
upload_protocol = espota
|
||||||
|
upload_port = 192.168.127.171
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:aveexy_usb]
|
||||||
platform = ${common_env_data.platform}
|
platform = ${common_env_data.platform}
|
||||||
board = ${common_env_data.board}
|
board = ${common_env_data.board}
|
||||||
framework = ${common_env_data.framework}
|
framework = ${common_env_data.framework}
|
||||||
@@ -95,23 +126,25 @@ upload_port = /dev/ttyUSB*
|
|||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${common_env_data.build_flags}
|
${common_env_data.build_flags}
|
||||||
${bobbycar_common_env_data.build_flags}
|
${peters_platine.build_flags}
|
||||||
|
; -DFEATURE_3WIRESW
|
||||||
[env:bobbycar_ota]
|
; -DPINS_3WIRESW_OUT=0
|
||||||
platform = ${common_env_data.platform}
|
; -DPINS_3WIRESW_IN1=16
|
||||||
board = ${common_env_data.board}
|
; -DPINS_3WIRESW_IN2=27
|
||||||
framework = ${common_env_data.framework}
|
-DFEATURE_DPAD
|
||||||
board_build.partitions = ${common_env_data.board_build.partitions}
|
-DPINS_DPAD_IN1=22
|
||||||
lib_deps = ${common_env_data.lib_deps}
|
-DPINS_DPAD_IN2=23
|
||||||
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
-DPINS_DPAD_IN3=27
|
||||||
build_unflags = ${common_env_data.build_unflags}
|
-DPINS_DPAD_IN4=32
|
||||||
|
; -DFEATURE_ROTARY
|
||||||
upload_protocol = espota
|
; -DPINS_ROTARY_CLK=16
|
||||||
upload_port = 192.168.127.171
|
; -DPINS_ROTARY_DT=27
|
||||||
|
; -DPINS_ROTARY_SW=0
|
||||||
build_flags =
|
${default_limits.build_flags}
|
||||||
${common_env_data.build_flags}
|
-DDEFAULT_GASMIN=800
|
||||||
${bobbycar_common_env_data.build_flags}
|
-DDEFAULT_GASMAX=3700
|
||||||
|
-DDEFAULT_BREMSMIN=1300
|
||||||
|
-DDEFAULT_BREMSMAX=4000
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -153,7 +186,7 @@ build_flags =
|
|||||||
; -DPINS_ROTARY_CLK=4
|
; -DPINS_ROTARY_CLK=4
|
||||||
; -DPINS_ROTARY_DT=16
|
; -DPINS_ROTARY_DT=16
|
||||||
; -DPINS_ROTARY_SW=17
|
; -DPINS_ROTARY_SW=17
|
||||||
${default_limits_common_env_data.build_flags}
|
${default_limits.build_flags}
|
||||||
-DDEFAULT_GASMIN=0
|
-DDEFAULT_GASMIN=0
|
||||||
-DDEFAULT_GASMAX=4095
|
-DDEFAULT_GASMAX=4095
|
||||||
-DDEFAULT_BREMSMIN=0
|
-DDEFAULT_BREMSMIN=0
|
||||||
@@ -205,7 +238,7 @@ build_flags =
|
|||||||
; -DPINS_ROTARY_CLK=4
|
; -DPINS_ROTARY_CLK=4
|
||||||
; -DPINS_ROTARY_DT=16
|
; -DPINS_ROTARY_DT=16
|
||||||
; -DPINS_ROTARY_SW=17
|
; -DPINS_ROTARY_SW=17
|
||||||
${default_limits_common_env_data.build_flags}
|
${default_limits.build_flags}
|
||||||
-DDEFAULT_GASMIN=0
|
-DDEFAULT_GASMIN=0
|
||||||
-DDEFAULT_GASMAX=4095
|
-DDEFAULT_GASMAX=4095
|
||||||
-DDEFAULT_BREMSMIN=0
|
-DDEFAULT_BREMSMIN=0
|
||||||
|
Reference in New Issue
Block a user