Updated partition tables so that 4M with OTA is possible
This commit is contained in:
@ -1,6 +0,0 @@
|
|||||||
# Name, Type, SubType, Offset, Size, Flags
|
|
||||||
nvs, data, nvs, 0x9000, 0x5000,
|
|
||||||
otadata, data, ota, 0xe000, 0x2000,
|
|
||||||
app0, app, ota_0, 0x10000, 0x2F0000,
|
|
||||||
app1, app, ota_1, 0x300000, 0x2F0000,
|
|
||||||
spiffs, data, spiffs, 0x5F0000, 0x100000,
|
|
|
@ -1,5 +0,0 @@
|
|||||||
# Name, Type, SubType, Offset, Size, Flags
|
|
||||||
nvs, data, nvs, 0x9000, 0x5000,
|
|
||||||
otadata, data, ota, 0xe000, 0x2000,
|
|
||||||
app0, app, ota_0, 0x10000, 0x2F0000,
|
|
||||||
spiffs, data, spiffs, 0x300000, 0x100000,
|
|
|
@ -11,7 +11,8 @@ echo "OTHER_FILES += \\" >> platformio.pro
|
|||||||
# echo " $i \\" >> platformio.pro
|
# echo " $i \\" >> platformio.pro
|
||||||
#done
|
#done
|
||||||
|
|
||||||
echo " bobbycar.csv \\" >> platformio.pro
|
echo " partitions_16M_ota.csv \\" >> platformio.pro
|
||||||
echo " bobbycar_noota.csv \\" >> platformio.pro
|
echo " partitions_4M_noota.csv \\" >> platformio.pro
|
||||||
|
echo " partitions_4M_ota.csv \\" >> platformio.pro
|
||||||
echo " LICENSE" >> platformio.pro
|
echo " LICENSE" >> platformio.pro
|
||||||
echo " README.md" >> platformio.pro
|
echo " README.md" >> platformio.pro
|
||||||
|
6
partitions_16M_ota.csv
Normal file
6
partitions_16M_ota.csv
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Name, Type, SubType, Offset, Size, Flags
|
||||||
|
nvs, data, nvs, 0x9000, 0x5000,
|
||||||
|
otadata, data, ota, 0xe000, 0x2000,
|
||||||
|
app0, app, ota_0, 0x10000, 0x2F0000,
|
||||||
|
app1, app, ota_1, 0x300000, 0x2F0000,
|
||||||
|
spiffs, data, spiffs, 0x5F0000, 0x100000,
|
|
4
partitions_4M_noota.csv
Normal file
4
partitions_4M_noota.csv
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Name, Type, SubType, Offset, Size, Flags
|
||||||
|
nvs, data, nvs, 0x9000, 0x5000,
|
||||||
|
otadata, data, ota, 0xe000, 0x2000,
|
||||||
|
app0, app, ota_0, 0x10000, 0x3F0000,
|
|
5
partitions_4M_ota.csv
Normal file
5
partitions_4M_ota.csv
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Name, Type, SubType, Offset, Size, Flags
|
||||||
|
nvs, data, nvs, 0x9000, 0x5000,
|
||||||
|
otadata, data, ota, 0xe000, 0x2000,
|
||||||
|
app0, app, ota_0, 0x10000, 0x1F0000,
|
||||||
|
app1, app, ota_1, 0x200000, 0x1F0000,
|
|
@ -85,22 +85,12 @@ build_flags =
|
|||||||
-DPINS_GAS=33
|
-DPINS_GAS=33
|
||||||
-DPINS_BREMS=35
|
-DPINS_BREMS=35
|
||||||
|
|
||||||
[ota_common]
|
|
||||||
board_build.partitions = bobbycar.csv
|
|
||||||
build_flags =
|
|
||||||
-DFEATURE_OTA
|
|
||||||
|
|
||||||
[no_ota_common]
|
|
||||||
board_build.partitions = bobbycar_noota.csv
|
|
||||||
build_flags =
|
|
||||||
|
|
||||||
|
|
||||||
[feedc0de]
|
[feedc0de]
|
||||||
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}
|
||||||
platform_packages = ${common_env_data.platform_packages}
|
platform_packages = ${common_env_data.platform_packages}
|
||||||
board_build.partitions = ${no_ota_common.board_build.partitions}
|
board_build.partitions = partitions_4M_noota.csv
|
||||||
lib_deps = ${common_env_data.lib_deps}
|
lib_deps = ${common_env_data.lib_deps}
|
||||||
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
||||||
build_unflags = ${common_env_data.build_unflags}
|
build_unflags = ${common_env_data.build_unflags}
|
||||||
@ -128,11 +118,11 @@ build_flags =
|
|||||||
; -DPINS_MOSFET0=18
|
; -DPINS_MOSFET0=18
|
||||||
; -DPINS_MOSFET1=19
|
; -DPINS_MOSFET1=19
|
||||||
; -DPINS_MOSFET2=21
|
; -DPINS_MOSFET2=21
|
||||||
${no_ota_common.build_flags}
|
|
||||||
${default_limits.build_flags}
|
${default_limits.build_flags}
|
||||||
-DDEVICE_PREFIX=bobbyquad
|
-DDEVICE_PREFIX=bobbyquad
|
||||||
-DAP_PASSWORD=Passwort_123
|
-DAP_PASSWORD=Passwort_123
|
||||||
-DFEATURE_WEBSERVER
|
-DFEATURE_WEBSERVER
|
||||||
|
; -DFEATURE_OTA
|
||||||
-DFEATURE_DPAD_5WIRESW
|
-DFEATURE_DPAD_5WIRESW
|
||||||
-DPINS_DPAD_5WIRESW_OUT=32
|
-DPINS_DPAD_5WIRESW_OUT=32
|
||||||
-DPINS_DPAD_5WIRESW_IN1=25
|
-DPINS_DPAD_5WIRESW_IN1=25
|
||||||
@ -200,19 +190,19 @@ 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}
|
||||||
platform_packages = ${common_env_data.platform_packages}
|
platform_packages = ${common_env_data.platform_packages}
|
||||||
board_build.partitions = ${ota_common.board_build.partitions}
|
board_build.partitions = partitions_16M_ota.csv
|
||||||
lib_deps = ${common_env_data.lib_deps}
|
lib_deps = ${common_env_data.lib_deps}
|
||||||
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
||||||
build_unflags = ${common_env_data.build_unflags}
|
build_unflags = ${common_env_data.build_unflags}
|
||||||
build_flags =
|
build_flags =
|
||||||
${common_env_data.build_flags}
|
${common_env_data.build_flags}
|
||||||
${peters_platine.build_flags}
|
${peters_platine.build_flags}
|
||||||
${ota_common.build_flags}
|
|
||||||
${default_limits.build_flags}
|
${default_limits.build_flags}
|
||||||
${default_wheels_inverted.build_flags}
|
${default_wheels_inverted.build_flags}
|
||||||
-DDEVICE_PREFIX=bobbycar
|
-DDEVICE_PREFIX=bobbycar
|
||||||
-DAP_PASSWORD=Passwort_123
|
-DAP_PASSWORD=Passwort_123
|
||||||
-DFEATURE_WEBSERVER
|
-DFEATURE_WEBSERVER
|
||||||
|
-DFEATURE_OTA
|
||||||
-DDEFAULT_GASMIN=400
|
-DDEFAULT_GASMIN=400
|
||||||
-DDEFAULT_GASMAX=2000
|
-DDEFAULT_GASMAX=2000
|
||||||
-DDEFAULT_BREMSMIN=600
|
-DDEFAULT_BREMSMIN=600
|
||||||
@ -258,7 +248,7 @@ 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}
|
||||||
platform_packages = ${common_env_data.platform_packages}
|
platform_packages = ${common_env_data.platform_packages}
|
||||||
board_build.partitions = ${ota_common.board_build.partitions}
|
board_build.partitions = partitions_16M_ota.csv
|
||||||
lib_deps = ${common_env_data.lib_deps}
|
lib_deps = ${common_env_data.lib_deps}
|
||||||
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
||||||
build_unflags = ${common_env_data.build_unflags}
|
build_unflags = ${common_env_data.build_unflags}
|
||||||
@ -269,12 +259,12 @@ upload_port = /dev/ttyUSB*
|
|||||||
build_flags =
|
build_flags =
|
||||||
${common_env_data.build_flags}
|
${common_env_data.build_flags}
|
||||||
${peters_platine.build_flags}
|
${peters_platine.build_flags}
|
||||||
${ota_common.build_flags}
|
|
||||||
${default_limits.build_flags}
|
${default_limits.build_flags}
|
||||||
${default_wheels_inverted.build_flags}
|
${default_wheels_inverted.build_flags}
|
||||||
-DDEVICE_PREFIX=bobbyquad
|
-DDEVICE_PREFIX=bobbyquad
|
||||||
-DAP_PASSWORD=Passwort_123
|
-DAP_PASSWORD=Passwort_123
|
||||||
-DFEATURE_WEBSERVER
|
-DFEATURE_WEBSERVER
|
||||||
|
-DFEATURE_OTA
|
||||||
-DFEATURE_DPAD
|
-DFEATURE_DPAD
|
||||||
-DPINS_DPAD_UP=32
|
-DPINS_DPAD_UP=32
|
||||||
-DPINS_DPAD_DOWN=22
|
-DPINS_DPAD_DOWN=22
|
||||||
@ -292,7 +282,7 @@ 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}
|
||||||
platform_packages = ${common_env_data.platform_packages}
|
platform_packages = ${common_env_data.platform_packages}
|
||||||
board_build.partitions = ${no_ota_common.board_build.partitions}
|
board_build.partitions = partitions_4M_ota.csv
|
||||||
lib_deps = ${common_env_data.lib_deps}
|
lib_deps = ${common_env_data.lib_deps}
|
||||||
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
||||||
build_unflags = ${common_env_data.build_unflags}
|
build_unflags = ${common_env_data.build_unflags}
|
||||||
@ -302,11 +292,11 @@ upload_speed = 921600
|
|||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${common_env_data.build_flags}
|
${common_env_data.build_flags}
|
||||||
${no_ota_common.build_flags}
|
|
||||||
${default_limits.build_flags}
|
${default_limits.build_flags}
|
||||||
-DDEVICE_PREFIX=bobbyquad
|
-DDEVICE_PREFIX=bobbyquad
|
||||||
-DAP_PASSWORD=Passwort_123
|
-DAP_PASSWORD=Passwort_123
|
||||||
-DFEATURE_WEBSERVER
|
-DFEATURE_WEBSERVER
|
||||||
|
-DFEATURE_OTA
|
||||||
-DRPI_DISPLAY_TYPE
|
-DRPI_DISPLAY_TYPE
|
||||||
-DR61581_DRIVER
|
-DR61581_DRIVER
|
||||||
; TODO: TFT_MISO (touch MISO?)
|
; TODO: TFT_MISO (touch MISO?)
|
||||||
@ -341,19 +331,19 @@ 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}
|
||||||
platform_packages = ${common_env_data.platform_packages}
|
platform_packages = ${common_env_data.platform_packages}
|
||||||
board_build.partitions = ${ota_common.board_build.partitions}
|
board_build.partitions = partitions_16M_ota.csv
|
||||||
lib_deps = ${common_env_data.lib_deps}
|
lib_deps = ${common_env_data.lib_deps}
|
||||||
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
lib_compat_mode = ${common_env_data.lib_compat_mode}
|
||||||
build_unflags = ${common_env_data.build_unflags}
|
build_unflags = ${common_env_data.build_unflags}
|
||||||
build_flags =
|
build_flags =
|
||||||
${common_env_data.build_flags}
|
${common_env_data.build_flags}
|
||||||
${peters_platine_reversed.build_flags}
|
${peters_platine_reversed.build_flags}
|
||||||
${ota_common.build_flags}
|
|
||||||
${default_limits.build_flags}
|
${default_limits.build_flags}
|
||||||
${default_wheels_inverted.build_flags}
|
${default_wheels_inverted.build_flags}
|
||||||
-DDEVICE_PREFIX=bobbycar
|
-DDEVICE_PREFIX=bobbycar
|
||||||
-DAP_PASSWORD=Passwort_123
|
-DAP_PASSWORD=Passwort_123
|
||||||
-DFEATURE_WEBSERVER
|
-DFEATURE_WEBSERVER
|
||||||
|
-DFEATURE_OTA
|
||||||
-DDEFAULT_GASMIN=1000
|
-DDEFAULT_GASMIN=1000
|
||||||
-DDEFAULT_GASMAX=4000
|
-DDEFAULT_GASMAX=4000
|
||||||
-DDEFAULT_BREMSMIN=200
|
-DDEFAULT_BREMSMIN=200
|
||||||
|
Reference in New Issue
Block a user