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
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[platformio]
|
||||
default_envs = bobbycar_usb
|
||||
|
||||
[common_env_data]
|
||||
platform = espressif32
|
||||
board = esp32dev
|
||||
@@ -35,7 +32,7 @@ build_flags =
|
||||
-DLOAD_FONT4=1
|
||||
-DLOAD_FONT7=1
|
||||
|
||||
[default_limits_common_env_data]
|
||||
[default_limits]
|
||||
build_flags =
|
||||
-DDEFAULT_IMOTMAX=25
|
||||
-DDEFAULT_IDCMAX=27
|
||||
@@ -43,8 +40,7 @@ build_flags =
|
||||
-DDEFAULT_FIELDWEAKMAX=5
|
||||
-DDEFAULT_FIELDADVMAX=40
|
||||
|
||||
|
||||
[bobbycar_common_env_data]
|
||||
[peters_platine]
|
||||
build_flags =
|
||||
-DILI9341_DRIVER=1
|
||||
-DTFT_MOSI=13
|
||||
@@ -62,26 +58,61 @@ build_flags =
|
||||
-DPINS_TX2=26
|
||||
-DPINS_GAS=35
|
||||
-DPINS_BREMS=33
|
||||
; -DFEATURE_3WIRESW
|
||||
; -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
|
||||
|
||||
|
||||
|
||||
[feedc0de]
|
||||
build_flags =
|
||||
${common_env_data.build_flags}
|
||||
${peters_platine.build_flags}
|
||||
-DFEATURE_3WIRESW
|
||||
-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
|
||||
; -DPINS_ROTARY_CLK=16
|
||||
; -DPINS_ROTARY_DT=27
|
||||
; -DPINS_ROTARY_SW=0
|
||||
${default_limits_common_env_data.build_flags}
|
||||
${default_limits.build_flags}
|
||||
-DDEFAULT_GASMIN=800
|
||||
-DDEFAULT_GASMAX=3700
|
||||
-DDEFAULT_BREMSMIN=1300
|
||||
-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}
|
||||
board = ${common_env_data.board}
|
||||
framework = ${common_env_data.framework}
|
||||
@@ -95,23 +126,25 @@ upload_port = /dev/ttyUSB*
|
||||
|
||||
build_flags =
|
||||
${common_env_data.build_flags}
|
||||
${bobbycar_common_env_data.build_flags}
|
||||
|
||||
[env:bobbycar_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}
|
||||
|
||||
upload_protocol = espota
|
||||
upload_port = 192.168.127.171
|
||||
|
||||
build_flags =
|
||||
${common_env_data.build_flags}
|
||||
${bobbycar_common_env_data.build_flags}
|
||||
${peters_platine.build_flags}
|
||||
; -DFEATURE_3WIRESW
|
||||
; -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
|
||||
; -DPINS_ROTARY_CLK=16
|
||||
; -DPINS_ROTARY_DT=27
|
||||
; -DPINS_ROTARY_SW=0
|
||||
${default_limits.build_flags}
|
||||
-DDEFAULT_GASMIN=800
|
||||
-DDEFAULT_GASMAX=3700
|
||||
-DDEFAULT_BREMSMIN=1300
|
||||
-DDEFAULT_BREMSMAX=4000
|
||||
|
||||
|
||||
|
||||
@@ -153,7 +186,7 @@ build_flags =
|
||||
; -DPINS_ROTARY_CLK=4
|
||||
; -DPINS_ROTARY_DT=16
|
||||
; -DPINS_ROTARY_SW=17
|
||||
${default_limits_common_env_data.build_flags}
|
||||
${default_limits.build_flags}
|
||||
-DDEFAULT_GASMIN=0
|
||||
-DDEFAULT_GASMAX=4095
|
||||
-DDEFAULT_BREMSMIN=0
|
||||
@@ -205,7 +238,7 @@ build_flags =
|
||||
; -DPINS_ROTARY_CLK=4
|
||||
; -DPINS_ROTARY_DT=16
|
||||
; -DPINS_ROTARY_SW=17
|
||||
${default_limits_common_env_data.build_flags}
|
||||
${default_limits.build_flags}
|
||||
-DDEFAULT_GASMIN=0
|
||||
-DDEFAULT_GASMAX=4095
|
||||
-DDEFAULT_BREMSMIN=0
|
||||
|
Reference in New Issue
Block a user