Added esp32c3 v1.0 board target
This commit is contained in:
parent
9351696732
commit
88fc94ed8c
BIN
bin/firmware32c3v1.bin
Normal file
BIN
bin/firmware32c3v1.bin
Normal file
Binary file not shown.
@ -40,7 +40,7 @@ build_flags =
|
|||||||
-DUSER_SSID=\""\"" # =\""myssid\""
|
-DUSER_SSID=\""\"" # =\""myssid\""
|
||||||
-DUSER_SSID_PWD=\""\"" # =\""mypwd\""
|
-DUSER_SSID_PWD=\""\"" # =\""mypwd\""
|
||||||
-DCFG_APPVER="\"1.2.0\""
|
-DCFG_APPVER="\"1.2.0\""
|
||||||
-DCFG_GITREV=\""beta-2\""
|
-DCFG_GITREV=\""beta-3\""
|
||||||
#!python script/git_rev.py
|
#!python script/git_rev.py
|
||||||
lib_deps =
|
lib_deps =
|
||||||
# Using local copy of these libraries
|
# Using local copy of these libraries
|
||||||
@ -143,6 +143,39 @@ platform = ${common_env_data.platform32}
|
|||||||
upload_speed = ${common_env_data.upload_speed}
|
upload_speed = ${common_env_data.upload_speed}
|
||||||
monitor_speed = ${common_env_data.monitor_speed}
|
monitor_speed = ${common_env_data.monitor_speed}
|
||||||
extra_scripts = ${common_env_data.extra_scripts}
|
extra_scripts = ${common_env_data.extra_scripts}
|
||||||
|
build_unflags =
|
||||||
|
${common_env_data.build_unflags}
|
||||||
|
build_flags =
|
||||||
|
-Wl,-Map,output.map
|
||||||
|
${common_env_data.build_flags}
|
||||||
|
-DLOG_LEVEL=5
|
||||||
|
-DCORE_DEBUG_LEVEL=0
|
||||||
|
-DESP32C3
|
||||||
|
-DARDUINO_ESP32C3_DEV
|
||||||
|
#-DUSE_SERIAL_PINS # Use the TX/RX pins for the serial port
|
||||||
|
lib_deps =
|
||||||
|
${common_env_data.lib_deps}
|
||||||
|
${common_env_data.lib_deps32}
|
||||||
|
lib_ignore =
|
||||||
|
board = lolin_c3_mini
|
||||||
|
build_type = release
|
||||||
|
board_build.partitions = part32.csv
|
||||||
|
board_build.filesystem = littlefs
|
||||||
|
board_build.embed_txtfiles =
|
||||||
|
html/calibration.min.htm
|
||||||
|
html/config.min.htm
|
||||||
|
html/firmware.min.htm
|
||||||
|
html/format.min.htm
|
||||||
|
html/about.min.htm
|
||||||
|
html/index.min.htm
|
||||||
|
html/test.min.htm
|
||||||
|
|
||||||
|
[env:gravity32c3v1-release]
|
||||||
|
framework = ${common_env_data.framework}
|
||||||
|
platform = ${common_env_data.platform32}
|
||||||
|
upload_speed = ${common_env_data.upload_speed}
|
||||||
|
monitor_speed = ${common_env_data.monitor_speed}
|
||||||
|
extra_scripts = ${common_env_data.extra_scripts}
|
||||||
build_unflags =
|
build_unflags =
|
||||||
${common_env_data.build_unflags}
|
${common_env_data.build_unflags}
|
||||||
build_flags =
|
build_flags =
|
||||||
|
@ -45,6 +45,12 @@ def after_build(source, target, env):
|
|||||||
print( "Copy file : " + source + " -> " + target )
|
print( "Copy file : " + source + " -> " + target )
|
||||||
shutil.copyfile( source, target )
|
shutil.copyfile( source, target )
|
||||||
|
|
||||||
|
if name == "gravity32c3v1-release" :
|
||||||
|
target = dir + "/bin/firmware32c3v1.bin"
|
||||||
|
source = dir + "/.pio/build/" + name + "/firmware.bin"
|
||||||
|
print( "Copy file : " + source + " -> " + target )
|
||||||
|
shutil.copyfile( source, target )
|
||||||
|
|
||||||
if name == "gravity32s2-release" :
|
if name == "gravity32s2-release" :
|
||||||
target = dir + "/bin/firmware32s2.bin"
|
target = dir + "/bin/firmware32s2.bin"
|
||||||
source = dir + "/.pio/build/" + name + "/firmware.bin"
|
source = dir + "/.pio/build/" + name + "/firmware.bin"
|
||||||
|
Loading…
Reference in New Issue
Block a user