1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/gengstrong-arduino-esp32

Клонировать/Скачать
platform.txt 32 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Отправлено 26.06.2025 14:49 4465c5e
name=ESP32 Arduino
version=2.0.0
runtime.tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32-elf
runtime.tools.xtensa-esp32s2-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32s2-elf
runtime.tools.riscv32-esp-elf-gcc.path={runtime.platform.path}/tools/riscv32-esp-elf
tools.esptool_py.path={runtime.platform.path}/tools/esptool
tools.esptool_py.cmd=esptool
tools.esptool_py.cmd.linux=esptool.py
tools.esptool_py.cmd.windows=esptool.exe
tools.esptool_py.network_cmd=python "{runtime.platform.path}/tools/espota.py" -r
tools.esptool_py.network_cmd.windows="{runtime.platform.path}/tools/espota.exe" -r
tools.gen_esp32part.cmd=python "{runtime.platform.path}/tools/gen_esp32part.py"
tools.gen_esp32part.cmd.windows="{runtime.platform.path}/tools/gen_esp32part.exe"
compiler.path={runtime.tools.{build.tarch}-{build.target}-elf-gcc.path}/bin/
compiler.sdk.path={runtime.platform.path}/tools/sdk/{build.mcu}
compiler.prefix={build.tarch}-{build.target}-elf-#
# Поддержка ESP32 Начало
#
compiler. cpreprocessor. flags. esp32=-DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config. h" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE -DIDF_VER="v4. 4-beta1-189-ga79dc75f0a" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS "-I{compiler. sdk. path}/include/config" "-I{compiler. sdk. path}/include/newlib/platform_include" "-I{compiler. sdk. path}/include/freertos/include" "-I{compiler. sdk. path}/include/freertos/include/esp_additions/freertos" "-I{compiler. sdk. path}/include/freertos/port/xtensa/include" "-I{compiler. sdk. path}/include/freertos/include/esp_additions" "-I{compiler. sdk. path}/include/esp_hw_support/include" "-I{compiler. sdk. path}/include/esp_hw_support/include/soc" "-I{compiler. sdk. path}/include/esp_hw_support/include/soc/esp32" "-I{compiler. sdk. path}/include/esp_hw_support/port/esp32" "-I{compiler. sdk. path}/include/heap/include" "-I{compiler. sdk. path}/include/log/include" "-I{compiler. sdk. path}/include/lwip/include/apps" "-I{compiler. sdk. path}/include/lwip/include/apps/sntp" "-I{compiler. sdk. path}/include/lwip/lwip/src/include" "-I{compiler. sdk. path}/include/lwip/port/esp32/include" "-I{compiler. sdk. path}/include/lwip/port/esp32/include/arch" "-I{compiler. sdk. path}/include/soc/include" "-I{compiler. sdk. path}/include/soc/esp32" "-I{compiler. sdk. path}/include/soc/esp32/include" "-I{compiler. sdk. path}/include/hal/esp32/include" "-I{compiler. sdk. path}/include/hal/include" "-I{compiler. sdk. path}/include/hal/platform_port/include" "-I{compiler. sdk. path}/include/esp_rom/include" "-I{compiler. sdk. path}/include/esp_rom/include/esp32" "-I{compiler. sdk. path}/include/esp_rom/esp32" "-I{compiler. sdk. path}/include/esp_common/include" "-I{compiler. sdk. path}/include/esp_system/include" "-I{compiler. sdk. path}/include/esp_system/port/soc" "-I{compiler. sdk. path}/include/esp_system/port/public_compat" "-I{compiler. sdk. path}/include/esp32/include" "-I{compiler. sdk. path}/include/xtensa/include" "-I{compiler. sdk. path}/include/xtensa/esp32/include" "-I{compiler. sdk. path}/include/driver/include" "-I{compiler. sdk. path}/include/driver/esp32/include" "-I{compiler. sdk. path}/include/esp_pm/include" "-I{compiler. sdk. path}/include/esp_ringbuf/include" "-I{compiler. sdk. path}/include/efuse/include" "-I{compiler. sdk. path}/include/efuse/esp32/include" "-I{compiler. sdk. path}/include/vfs/include" "-I{compiler. sdk. path}/include/esp_wifi/include" "-I{compiler. sdk. path}/include/esp_event/include" "-I{compiler. sdk. path}/include/esp_netif/include" "-I{compiler. sdk. path}/include/esp_eth/include" "-I{compiler. sdk. path}/include/tcpip_adapter/include" "-I{compiler. sdk. path}/include/esp_phy/include" "-I{compiler. sdk. path}/include/esp_phy/esp32/include" "-I{compiler. sdk. path}/include/esp_ipc/include" "-I{compiler. sdk. path}/include/app_trace/include" "-I{compiler. sdk. path}/include/esp_timer/include" "-I{compiler. sdk. path}/include/mbedtls/port/include" "-I{compiler. sdk. path}/include/mbedtls/mbedtls/include" "-I{compiler. sdk. path}/include/mbedtls/esp_crt_bundle/include" "-I{compiler. sdk. path}/include/app_update/include" "-I{compiler. sdk. path}/include/spi_flash/include" "-I{compiler. sdk. path}/include/bootloader_support/include" "-I{compiler. sdk. path}/include/nvs_flash/include" "-I{compiler. sdk. path}/include/pthread/include" "-I{compiler. sdk. path}/include/esp_gdbstub/include" "-I{compiler. sdk. path}/include/esp_gdbstub/xtensa" "-I{compiler. sdk. path}/include/esp_gdbstub/esp32" "-I{compiler. sdk. path}/include/espcoredump/include" "-I{compiler. sdk. path}/include/espcoredump/include/port/xtensa" "-I{compiler. sdk. path}/include/wpa_supplicant/include" "-I{compiler. sdk. path}/include/wpa_supplicant/port/include" "-I{compiler. sdk. path}/include/wpa_supplicant/esp_supplicant/include" "-I{compiler. sdk. path}/include/ieee802154/include" "-I{compiler. sdk. path}/include/console" "-I{compiler. sdk. path}/include/asio/asio/asio/include" "-I{compiler. sdk. path}/include/asio/port/include" "-I{compiler.sdk.path.include.btc.common.osi.include}" "-I{compiler.sdk.path.include.bt.include.esp32.include}" "-I{compiler.sdk.path.include.bt.common.api.include.api}" "-I{compiler.sdk.path.include.bt.common.btc.profile.esp.blufi.include}" "-I{compiler.sdk.path.include.bt.common.btc.profile.esp.include}" "-I{compiler.sdk.path.include.bt.host.bluedroid.api.include.api}" "-I{compiler.sdk.path.include.cbor.port.include}" "-I{compiler.sdk.path.include.cmock.CMock.src}" "-I{controller.idf_path.include.idf_test}" "{controller.idf_path.include.idf_test.esp32}" "{controller.idf_path.include.jsmn}" "{controller.idf_path.include.json.cJSON}" "{controller.idf_path.include.libsodium.libsodium.src.libsodium.include}" "{controller.idf_path.include.libsodium.port_include}" "{controller.idf_path.include.mqtt.esp-mqtt.include}" "{controller.idf_path.include.openssl.include}" "{controller.idf_path.include.perfmon.include}" "{controller.idf_path.include.spiffs.include}" "{controller.idf_path.include.usb.include}" "{controller.idf_path.include.touch_element.include}" "{controller.idf_path.include.ulp.include}" "{controller.idf_path.include.wifi_provisioning.include}" "{controller.idf_path.include.freertos.include.freertos}" "{controller.idf_path.include.esp_littlefs.src}" "{controller.idf_path.include.esp_littlefs.include}" "{controller.idf_path.include.esp-dsp.modules.dotprod.include}" "{controller.idf_path.include.esp-dsp.modules.support.include}" "{controller.idf_path.include.esp-dsp.modules.windows.include}" "{controller.idf_path.include.esp-dsp.modules.windows.hann.include}" "{controller.idf_path.include.esp-dsp.modules.windows.blackman.include}" "{controller.idf_path.include.esp-dsp.modules.windows.blackman_harris.include}" "{controller.idf_path.include.esp-dsp.modules.windows.blackman_nuttall.include}" "{controller.idf_path.include.esp-dsp.modules.windows.nuttall.include}" "{controller.idf_path.include.esp-dsp.modules.windows.flat_top.include}" "{controller.idf_path.include.esp-dsp.modules.iir.include}" "{controller.idf_path.include.esp-dsp.modules.fir.include}" "{controller.idf_path.include.esp-dsp.modules.math.include}" "{controller.idf_path.include.esp-dsp.modules.math.add.include}" "{controller.idf_path.include.esp-dsp.modules.math.sub.include}" "{controller.idf_path.include.esp-dsp.modules.math.mul.include}" "{controller.idf_path.include.esp-dsp.modules.math.addc.include}" "{controller.idf_path.include.esp-dsp.modules.math.mulc.include}" "{controller.idf_path.include.esp-dsp.modules.math.sqrt.include}" "{controller.idf_path.include.esp-dsp.modules.matrix.include}" "{controller.idf_path.include.esp-dsp.modules.fft.include}" "{controller.idf_path.include.esp-dsp.modules.dct.include}" "{controller.idf_path.include.esp-dsp.modules.conv.include}" "{controller.idf_path.include.esp-dsp.modules.common.include}" "{controller.idf_path.include.esp-dsp.modules.kalman(ekf).include}" "{controller.idf_path.include.esp-dsp.modules.kalman(ekf_imu13states).include}" "{controller.idf_path.driver.esp32-camera.driver(include)}"{controller.idf_path.driver.esp32-camera.conversions(include)}"{controller.idf_path.fb_gfx(include)}"
. compiler.celf.libs.esp32=-lesp_ringbuf -lefuse -lesp_ipc -ldriver -lesp_pm -lmbedtls -lapp_update -lbootloader_support -lspi_flash -lnvs_flash -lpthread -lesp_gdbstub -lespcoredump -lesp_phy -lesp_system -lesp_rom -lhal -lvfs -lesp_eth -ltcpip_adapter -lesp_netif -lesp_event -lwpa_supplicant -lesp_wifi -lconsole -llwip -llog -lheap -lsoc -lesp_hw_support -lxtensa -lesp_common -lesp_timer -lfreertos -lnewlib -lcxx lapp_trace asio cbor cmock unity coap nghttp esp-tls esp_adc_cal esp_hid tcp_transport esp_http_client esp_http_server esp_https_ota esp_lcd protobuf-c protocomm mdns esp_local_ctrl sdmmc esp_serial_slave_link esp_websocket_client expat wear_levelling fatfs freemodbus jsmn json libsodium mqtt openssl perfmon spiffs ulp wifi_provisioning button json_parser json_generator esp_schedule esp_rainmaker qrcode ws2812_led esp-dsp esp32-camera esp_littlefs fb_gfx asio cbor cmock unity coap esp_lcd esp_local_ctrl esp_websocket_client expat freemodbus jsmn libsodium perfmon esp_adc_cal esp_hid fatfs wear_levelling openssl spiffs esp_rainmaker mqtt wifi_provisioning protocomm bt btdm_app protobuf-c mdns json json_parser json_generator esp_schedule qrcode cat_face_detect human_face_detect color_detect mfn dl esp_ringbuf efuse esp_ipc ldriv er lapp_update lbootloader_support lspi_flash lnvs_flash lpthread lapp_gdbstub lappcoredump lapp_phy lapp_system lapp_rom lhal lvfs lapp_eth ltcpip_adapter lapp_netif lapp_event lwpa_supplicant lapp_wifi lconsole llwip llog lheap lsoc lapp_hw_support lxtensa lapp_common lapp_timer lfreetos lnewlib lcxx lapp_trace lnghttp lesptls ltcp_transport lesph ttp_client lesph ttp_server lesph ttps_ota ls dmmc lesps erial_slave_link lup mbedtls lmbedcrypto lmbedx509 lcoexist lcore les pnow lm e sh ln et80211 lpp ls martconfig lwapi lphy lr tc les p_phy lphy lr tc les p_phy lphy lr tc lex t_hal lm ln ewlib lst dc++ lpthread lgcc lcxx lapp_trace lgcov lapp_trace lgcov lc
. compiler.c.flags.esp32=-mlongcalls Wno-frame-address ffunction-sections fdata-sections Wno-error=unused-function Wno-error=unused-variable Wno-error=deprecated-declarations Wno-unused-parameter Wno-sign-compare ggdb Os freorder-blocks Wwrite-strings fstack-protector fstrict-volatile-bitfields Wno-error=unused-but-set-variable fno-jump-tables fno-tree-switch-conversion std=gnu99 Wno-old-style-declaration MMD c
. compiler.cpp.flags.esp32=-mlongcalls Wno-frame-address ffunction-sections fdata-sections Wno-error=unused-function Wno-error=unused-variable Wno-error=deprecated-declarations Wno-unused-parameter Wno-sign-compare ggdb Os freorder-blocks Wwrite-strings fstack-protector fstrict-volatile-bitfields Wno-error=unused-but-set-variable fno-jump-tables fno-tree-switch-conversion std=gnu++11 fexceptions fno-rtti MMD c
. compiler.S.flags.esp32=-ffunction-sections fdata-sections Wno-error=unused-function Wno-error=unused-variable Wno-error=deprecated-declarations Wno-unused-parameter Wno-sign-compare ggdb Os freorder-blocks Wwrite-strings fstack-protector fstrict-volatile-bitfields Wno-error=unused-but-set-variable fno-jump-tables fno-tree-switch-conversion x assembler-with-cpp MMD c
. compiler.celf.flags.esp32=-T esp32 rom redefined ld T memory ld T sections ld T esp32 rom ld T esp32 rom api ld T esp32 rom libgcc ld T esp32 rom newlib data ld T esp32 rom syscalls ld T esp32 peripherals ld mlongcalls Wno-frame-address Wl cref Wl gc-sections fno-rtti fno-lto u ld_include_hli_vectors_bt u _Z5setupv u _Z4loopv u esp_app_desc u pthread_include_pthread_impl u pthread_include_pthread_cond_impl u pthread_include_pthread_local_storage_impl u pthread_include_pthread_rwlock_impl u ld_include_highint_hdl u start_app u start_app_other_cores u __ubsan_include Wl wrap longjmp u __assert_func u vfs_include_syscalls_impl Wl undefined uxTopUsedPriority u app_main u newlib_include_heap_impl u newlib_include_syscalls_impl u newlib_include_pthread_impl u newlib_include_assert_impl u __cxa_guard_dummy
. compiler.ar.flags.esp32=cr
. build.extra_flags.esp32=-DARDUINO_USB_CDC_ON_BOOT=0
#
# Поддержка ESP32 Конец
##
# Поддержка ESP32S2 Начало
#
compiler.cpreprocessor.flags.esp32s2=-DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE -DIDF_VER="v4 4-beta1-189-ga79dc75f0a" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS "-I{compiler.sdk.path}/include/config" "-I{compiler.sdk.path}/include/newlib/platform_include" "-I{compiler.sdk.path}/include/freertos/include" "-I{compiler.sdk.path}/include/freertos/include/esp_additions/freertos" "-I{compiler.sdk.path}/include/freertos/port/xtensa/include" "-I{compiler.sdk.path}/include/freertos/include/esp_additions" "-I{compiler.sdk.path}/include/esp_hw_support/include" "-I{compiler.sdk.path}/include/esp_hw_support/include/soc" "-I{compiler.sdk.path}/include/esp_hw_support/include/soc/esp32s2" "-I{compiler.sdk.path}/include/esp_hw_support/port/esp32s2" "-I{compiler.sdk.path}/include/esp_hw_support/port/esp32s2/private_include" "-I{compiler.sdk.path}/include/heap/include" "-I{compiler.sdk.path}/include/log/include" "-I{compiler.sdk.path}/include/lwip/include/apps" "-I{compiler.sdk.path}/include/lwip/include/apps/sntp" "-I{compiler.sdk.path}/include/lwip/lwip/src/include" "-I{compiler.sdk.path}/include/lwip/port/esp32/include" "-I{compiler.sdk.path}/include/lwip/port/esp32/include/arch" "-I{compiler.sdk.path}/include/soc/include" "-I{compiler.sdk.path}/include/soc/esp32s2" "-I{compiler.sdk.path}/include/soc/esp32s2/include" "-I{compiler.sdk.path}/include/hal/esp32s2/include" "-I{compiler.sdk.path}/include/hal/include" "-I{compiler.sdk.path}/include/hal/platform_port/include" "-I{compiler.sdk.path}/include/esp_rom/include" "-I{compiler.sdk.path}/include/esp_rom/include/esp32s2" "-I{compiler.sdk.path}/include/esp_rom/esp32s2" "-I{compiler.sdk.path}/include/esp_common/include" "-I{compiler.sdk.path}/include/esp_system/include" "-I{compiler.sdk.path}/include/esp_system/port/soc" "-I{compiler.sdk.path}/include/esp_system/port/public_compat" "-I{compiler.sdk.path}/include/xtensa/include" "-I{compiler.sdk.path}/include/xtensa/esp32s2/include" "-I{compiler.sdk.path}/include/driver/include" "-I{compiler.sdk.path}/include/driver/esp32s2/include" "-I{composer.sdk.path.driver.esp32-camera.driver(include)}"{composer.sdk.path.driver.esp32-camera.conversions(include)}"{composer.sdk.path.fb_gfx(include)}"
compiler.celf.libs.esp32s2=-lesp_ringbuf -lefuse -lesp_ipc -ldriver -lesp_pm -lmbedtls -lapp_update -lbootloader_support -lspi_flash -lnvs_flash -lpthread -lesp_gdbstub -lespcoredump -lesp_phy -lesp_system -lesp_rom -lhal -lvfs -lesp_eth -ltcpip_adapter -lesp_netif -lesp_event -lwpa_supplicant -lesp_wifi -lconsole -llwip -llog -lheap -lsoc -lesp_hw_support -lxtensa -lesp_common -lesp_timer -lfreertos -lnewlib -lcxx lapp_trace asio cbor cmock unity coap nghttp esp-tls esp_adc_cal esp_hid tcp_transport esp_http_client esp_http_server esp_https_ota esp_https_server esp_lcd protobuf-c protocomm mdns esp_local_ctrl sdmmc esp_serial_slave_link esp_websocket_client expat wear_levelling fatfs freemodbus jsmn json libsodium mqtt openssl perfmon spiffs usb touch_element ulp wifi_provisioning esp-dsp esp32-camera fb_gfx
#
# Поддержка ESP32S2 Конец
##
# Поддержка ESP32C3 Начало
#
compiler.cpreprocessor.flags.esp32c3=-DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE -DIDF_VER="v4 4-beta1-189-ga79dc75f0a" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS "-I{composer.sdk.path.driver.esp32-camera.driver(include)}"{composer.sdk.path.driver.esp32-camera.conversions(include)}"{composer.sdk.path.fb_gfx(include)}"
compiler.celf.libs.esp32c3=-lesp_ringbuf -lefuse -lesp_ipc -ldriver -lesp_pm -lmbedtls -lapp_update -lbootloader_support -lspi_flash -lnvs_flash -lpthread -lesp_gdbstub -lespcoredump -lesp_phy -lesp_system -lesp_rom -lhal -lvfs -lesp_eth -ltcpip_adapter -lesp_netif -lesp_event -lwpa_supplicant -lesp_wifi -lconsole -llwip -llog -lheap -lsoc -lesp_hw_support -lriscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freertos_porting_layer riscv_freetrospath } / include / protobuf-c / protobuf-c " - I { compiler . sdk . path } / include / protocomm / include / common " - I { compiler . sdk . path } / include / protocomm / include / security " - I { compiler . sdk . path } / include / protocomm / include / transports " - I { compiler . sdk . path } / include / mdns / include " - I { compiler . sdk . path } / include / esp_local_ctrl / include " - I { compiler . sdk . path } / include / sdmmc / include " - I { compiler . sdk . path } / include / esp_serial_slave_link / include " - I { compiler . sdk . path } / include / esp_websocket_client / include " - I { compiler . sdk . path } / include / expat / expat / expat / lib " - I { compiler . sdk . path } / include / expat / port / include " - I { compiler . sdk . path } / include / wear_levelling / include " - I { compiler . sdk . path } / include / fatfs / diskio " - I { compiler . sdk . path } / include / fatfs / vfs " - I { compiler . sdk . path } / include / fatfs / src " - I { compiler . sdk . path } / include / freemodbus / common / include " - I { compiler . sdk . path } / include / idf_test / include " - I { compiler . sdk . path } / include / idf_test / include / esp32c3 " - I { compiler . sdk . path } / include / jsmn / include " - I { compiler . sdk . path } / include / json / cJSON " - I { compiler . sdk . path } / include / libsodium / libsodium / src / libsodium / include " - I { compiler . sdk . path } / include / libsodium / port_include " - I { compiler . sdk . path } / include / mqtt / esp-mqtt / include " - I { compiler . sdk . path } / include / openssl / include " - I { compiler . sdk . path } / include / spiffs / include " - I { compiler . sdk . path } / include / wifi_provisioning / include " - I { compiler . sdk . path } / include / esp_littlefs/src " - I { compiler . sdk . path } / include / esp_littlefs(include) " - I { compiler . sdk . path } / include( esp-face ) ( include ) ( tool ) ( typedef ) ( image ) ( math ) ( nn ) ( layer ) ( detect ) ( model_zoo ) " - I { compiler. sdk. path} ( fb_gfx ) ( include )
. compiler. c. elf. libs. esp32c3=-lesp_ringbuf -lefuse -lesp_ipc -ldriver -lesp_pm -lmbedtls -lapp_update -lbootloader_support -lspi_flash -lnvs_flash -lpthread -lesp_gdbstub -lespcoredump -lesp_phy -lesp_system -lesp_rom -lhal -lvfs -lesp_eth -ltcpip_adapter -lesp_netif -lesp_event -lwpa_supplicant -lesp_wifi -lconsole -llwip -llog -lheap -lsoc -lesp_hw_support -lriscv -lesp_common -lesp_timer -lfreertos -lnewlib -lcxx -lapp_trace -lasio -lbt -lcbor -lunity -lcmock -lcoap -lnghttp -lesp-tls -lesp_adc_cal -lesp_hid -ltcp_transport -lesp_http_client -lesp_http_server -lesp_https_ota -lesp_https_server -lesp_lcd -lprotobuf-c -lprotocomm -lmdns -lesp_local_ctrl -lsdmmc -lesp_serial_slave_link -lesp_websocket_client -lexpat -lwear_levelling -lfatfs -lfreemodbus -ljsmn -ljson -llibsodium -lmqtt -lopenssl -lspiffs -lwifi_provisioning -lesp_littlefs -lfb_gfx
. compiler. c. flags. esp32c3=-march=rv32imc -ffunction-sections -fdata-sections-Wno-error=unused-function-Wno-error=unused-variable-Wno-error=deprecated-declarations-Wno-unused-parameter-Wno-sign-compare-ggdb-Wno-error=format=-nostartfiles-Wno-format-Os-freorder-blocks-fstrict-volatile-bitfields-Wno-error=unused-but-set-variable-fno-jump-tables-fno-tree-switch-conversion-std=gnu99-Wno-old-style-declaration-MMD-c
. compiler. cpp. flags. esp32c3=-march=rv32imc-ffunction-sections-fdata-sections-Wno-error=unused-function-Wno-error=unused-variable-Wno-error=deprecated-declarations-Wno-unused-parameter-Wno-sign-compare-ggdb-Wno-error=format=-nostartfiles-Wno-format-Os-freorder-blocks-fstrict-volatile-bitfields-Wno-error=unused-but-set-variable-fno-jump-tables-fno-tree-switch-conversion-std=gnu++11-fno-exceptions-fno-rtti-MMD-c
. compiler. S. flags. esp32c3=-ffunction-sections-fdata-sections-Wno-error=unused-function-Wno-error=unused-variable-Wno-error=deprecated-declarations-Wno-unused-parameter-Wno-sign-compare-ggdb-Wno-error=format=-nostartfiles-Wno-format-Os-freorder-blocks-fstrict-volatile-bitfields-Wno-error=unused-but-set-variable-fno-jump-tables-fno-tree-switch-conversion-xassembler-with-cpp-MMD-c
. compiler. c. elf. flags. esp32c3=-Tmemory. ld-Tsections. ld-Tesp32c3. rom. ld-Tesp32c3. rom. api. ld-Tesp32c3. rom. libgcc. ld-Tesp32c3. rom. newlib. ld-Tesp32c3. rom. version. ld-Tesp32c3. rom. eco3. ld-Tesp32c3. peripherals. ld-nostartfiles-march=rv32imc--specs=nosys. specs-Wl,--cref-Wl,--gc-sections-fno-rtti-fno-lto-u_Z5setupv-u_Z4loopv-u_esp_app_desc-u_pthread_include_pthread_impl-u_pthread_include_pthread_cond_impl-u_pthread_include_pthread_local_storage_impl-u_pthread_include_pthread_rwlock_impl-u_start_app-u__ubsan_include-u__assert_func-u_vfs_include_syscalls_impl-Wl,--undefined=uxTopUsedPriority-u_app_main-u_newlib_include_heap_impl-u_newlib_include_syscalls_impl-u_newlib_include_pthread_impl-u_newlib_include_assert_impl-Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting-Wl,--wrap=__register_frame_info_bases-Wl,--wrap=__register_frame_info-Wl,--wrap=__register_frame-Wl,--wrap=__register_frame_info_table_bases-Wl,--wrap=__register_frame_info_table-Wl,--wrap=__register_frame_table-Wl,--wrap=__deregister_frame_info_bases-Wl,--wrap=__deregister_frame_info-Wl,--wrap=_Unwind_Find_FDE-Wl,--wrap=_Unwind_GetGR-Wl,--wrap=_Unwind_GetCFA-Wl,--wrap=_Unwind_GetIP-Wl,--wrap=_Unwind_GetIPInfo-Wl,--wrap=_Unwind_GetRegionStart-Wl,--wrap=_Unwind_GetDataRelBase-Wl,--wrap=_Unwind_GetTextRelBase-Wl,--wrap=_Unwind_SetIP-Wl,--wrap=_Unwind_SetGR-Wl,--wrap=_Unwind_GetLanguageSpecificData-Wl,--wrap=_Unwind_FindEnclosingFunction-Wl,--wrap=_Unwind_Resume-Wl,--wrap=_Unwind_RaiseException-Wl,--wrap=_Unwind_DeleteException-Wl,--wrap=_Unwind_ForcedUnwind-Wl,--wrap=_Unwind_Resume_or_Rethrow-Wl,--wrap=_Unwind_Backtrace-Wl,--wrap=__cxa_call_unexpected-Wl,--wrap=__gxx_personality_v0-u__cxa_guard_dummy-u__cxx_fatal_exception
. compiler. ar. flags. esp32c3=cr
. build. extra_flags. esp32c3=-DARDUINO_HW_CDC_ON_BOOT={build. cdc_on_boot}
#
# Поддержка ESP32C3 Конец
## Флаги компиляции
.compiler.cpreprocessor.flags={compiler.cpreprocessor.flags.{build.mcu}}
.compiler.c.flags={compiler.c.flags.{build.mcu}}
.compiler.cpp.flags={compiler.cpp.flags.{build.mcu}}
.compiler.S.flags={compiler.S.flags.{build.mcu}}
.compiler.c.elf.flags={compiler.c.elf.flags.{build.mcu}}
.compiler.c.elf.libs={compiler.c.elf.libs.{build.mcu}}
.compiler.ar.flags={compiler.ar.flags.{build.mcu}}
# Компиляторы
.compiler.c.cmd={compiler.prefix}gcc
.compiler.cpp.cmd={compiler.prefix}g++
.compiler.S.cmd={compiler.prefix}gcc
.compiler.c.elf.cmd={compiler.prefix}g++
.compiler.as.cmd={compiler.prefix}as
.compiler.ar.cmd={compiler.prefix}ar
.compiler.size.cmd={compiler.prefix}size
# Уровни предупреждений компиляции Arduino
.compiler.warning_flags=-w
.compiler.warning_flags.none=-w
.compiler.warning_flags.default=
.compiler.warning_flags.more=-Wall-Werror=all
.compiler.warning_flags.all=-Wall-Werror=all-Wextra
# Эти параметры могут быть переопределены в platform.local.txt
.compiler.c.extra_flags=
.compiler.c.elf.extra_flags=
.compiler.S.extra_flags=
.compiler.cpp.extra_flags=
.compiler.ar.extra_flags=
.compiler.objcopy.eep.extra_flags=
.compiler.elf2hex.extra_flags=
.compiler.libraries.ldflags=
# Это может быть переопределено в boards.txt
.build.flash_size=4MB
.build.flash_mode=dio
.build.boot=bootloader
.build.bootloader_addr=0x1000
.build.code_debug=0
.build.defines=
.build.loop_core=
.build.event_core=
.build.extra_flags=-DESP32-DCORE_DEBUG_LEVEL={build.code_debug}{build.loop_core}{build.event_core}{build.defines}{build.extra_flags.{build.mcu}}
# Пользовательские опции сборки
.build.opt.name=build_opt.h
.build.opt.path={build.path}/{build.opt.name}
# Проверка наличия пользовательских разделов: исходный код > вариант > build.partitions
.recipe.hooks.prebuild.1.pattern=bash-c"[!-f"{build.source.path}"/partitions.csv]||cp-f"{build.source.path}"/partitions.csv"{build.path}"/partitions.csv"
.recipe.hooks.prebuild.2.pattern=bash-c"[!-f"{build.variant.path}"/partitions.csv]||cp"{build.variant.path}"/partitions.csv"{build.path}"/partitions.csv"
.recipe.hooks.prebuild.3.pattern=bash-c"[!-f"{runtime.platform.path}"/tools/partitions/{build.partitions}.csv]||cp"{runtime.platform.path}"/tools/partitions/{build.partitions}.csv"{build.path}"/partitions.csv"
.recipe.hooks.prebuild.1.pattern.windows=cmd/cifexist"{build.source.path}\partitions.csv"COPY/y"{build.source.path}\partitions.csv"{build.path}\partitions.csv"
.recipe.hooks.prebuild.2.pattern.windows=cmd/cifnotexist"{build.variant.path}\partitions.csv"COPY"{build.variant.path}\partitions.csv"{build.path}\partitions.csv"
.recipe.hooks.prebuild.3.pattern.windows=cmd/cifnotexist"{runtime.platform.path}\tools\partitions\{build.partitions}.csv"COPY/y"{runtime.platform.path}\tools\partitions\{build.partitions}.csv"{build.path}\partitions.csv"
# Проверка наличия пользовательского загрузчика: исходный код > вариант > build.boot
.recipe.hooks.prebuild.4.pattern=bash-c"[!-f"{build.source.path}"/bootloader.bin]||cp-f"{build.source.path}"/bootloader.bin"{build.project_name}.bootloader.bin"( [!-f"{build.variant.path}"/bootloader.bin]||cp"{build.variant.path}"/bootloader.bin"{build.project_name}.bootloader.bin")||cp-f"{runtime.platform.path}"/tools/sdk/{build.mcu}/bin/bootloader_{build.boot}_{build.flash_freq}.bin"{build.project_name}.bootloader.bin"
.recipe.hooks.prebuild.4.pattern.windows=cmd/cIFEXIST"{build.sourcepath}\bootloader.bin"(COPY/y"{build.sourcepath}\bootloader.bin"{build.project_name}.bootloader.bin)ELSE(IFEXIST"{build.variantpath}\bootloader.bin"(COPY"{build.variantpath}\bootloader.bin"{build.project_name}.bootloader.bin)ELSE(COPY/y"{runtime.platformpath}\toolssdk\{build.mcu}\bin\bootloader_{build.boot}_{build.flash_freq}.bin"{build.project_name}.bootloader.bin))
# Проверка наличия пользовательских опций сборки в папке скетча
.recipe.hooks.prebuild.5.pattern=bash-c"[!-f"{build.sourcepath}"/build_opt.h]||cp-f"{build.sourcepath}"/build_opt.h"{buildpath}"/build_opt.h"
.recipe.hooks.prebuild.6.pattern=bash-c"[!-f"{buildpath}"/build_opt.h]ortouch"{buildpath}"/build_opt.h"
.recipe.hooks.prebuild.5.pattern.windows=cmd/cifexist"{build.sourcepath}\build_opt.h"COPY/y"{build.sourcepath}\build_opt.h"{buildpath}\build_opt.h"
.recipe.hooks.prebuild.6.pattern.windows=cmd/cifnotexist"{buildpath}\build_opt.h"typeNUL>"{buildpath}\build_opt.h"
## Компиляция файлов C
.recipe.c.o.pattern="{compilercmd}" {compilercpreprocessor.flags}{compilercflags}-DF_CPU={buildd.f_cpu}-DARDUINO={runtimeideversion}-DARDUINO_{buildd.board}-DARDUINO_ARCH_{buildd.arch}-DARDUINO_BOARD="{buildd.board}"-DARDUINO_VARIANT="{buildd.variant}"-DARDUINO_PARTITION_{buildd.partitions}{compilercextraflags}{buildd.extraflags}"@{buildd.optpath}" {includes}"source_file"-o"{object_file}"
## Компиляция файлов C++
.recipe.cpp.o.pattern="{compilercppcmd}" {compilercpreprocessor.flags}{compilercppflags}-DF_CPU={buildd.f_cpu}-DARDUINO={runtimeideversion}-DARDUINO_{buildd.board}-DARDUINO_ARCH_{buildd.arch}-DARDUINO_BOARD="{buildd.board}"-DARDUINO_VARIANT="{buildd.variant}"-DARDUINO_PARTITION_{buildd.partitions}{compilercppextraflags}{buildd.extraflags}"@{buildd.optpath}" {includes}"source_file"-o"{object_file}"
## Компиляция файлов S
.recipe.S.o.pattern="{compilercmd}" {compilercpreprocessor.flags}{compilersflags}-DF_CPU={buildd.f_cpu}-DARDUINO={runtimeideversion}-DARDUINO_{buildd.board}-DARDUINO_ARCH_{buildd.arch}-DARDUINO_BOARD="{buildd.board}"-DARDUINO_VARIANT="{buildd.variant}"-DARDUINO_PARTITION_{buildd.partitions}{compilersextraflags}{buildd.extraflags}"@{buildd.optpath}" {includes}"source_file"-o"{object_file}"
## Создание архивов
.recipe.ar.pattern="{compilera.cmd}" {compileraflags}{compileraextraflags}"archive_file_path""object_file"
## Объединение gc-sections, архивов и объектов
.recipe.c.combine.pattern="{compilercelfcmd}"-Wl,--Map="{builddpath}/{buildd.project_name}.map"-L"{compilersdkpath.lib}"-L"{compilersdkpath.ld}" {compilercelfflags}{compilercelfextraflags}{buildd.extraflags}-Wl,--start-group)object_files""archive_file_path""compilercelflibs""compilerslibrariesldflags"-Wl,--end-group-Wl,-EL-o"{builddpath}/{buildd.project_name}.elf"
## Создание partitions.bin
.recipe.objcopy.partitions.bin.pattern={toolsgen_esp32partcmd}-q"{builddpath/partitions.csv""builddpath/{buildd.project_name}.partitions.bin"
## Создание bin
.recipe.objcopy.bin.pattern_args=--chipbuildd.mcuelf2image-flash_mode"{buildd.flash_mode}"-flash_freq"{buildd.flash_freq}"-flash_size"{buildd.flash_size}"-o"{builddpath}/{buildd.project_name}.bin""builddpath/{buildd.project_name}.elf"
.recipe.objcopy.bin.pattern="{toolsestool_py_path}/{toolsestool_py_cmd}"recipe.objcopy.bin.pattern_args
.recipe.objcopy.bin.pattern.linux=python"{toolsestool_py_path}/{toolsestool_py_cmd}"recipe.objcopy.bin.pattern_args
## Сохранение bin
.recipe.output.tmp_file={buildd.project_name}.bin
.recipe.output.save_file={buildd.project_name}.{buildd.variant}.bin
## Вычисление размера
.recipe.size.pattern="{compilersizecmd}"-A"{builddpath}/{buildd.project_name}.elf"
.recipe.size.regex=^(?:\.iram0\.text|\.iram0\.vectors|\.dram0\.data|\.flash\.text|\.flash\.rodata|)\s+([0-9]+).*
.recipe.size.regex.data=^(?:\.dram0\.data|\.dram0\.bss|\.noinit)\s+([0-9]+).*
# ------------------------------
.tools.estool_py.upload.protocol=esp32
.tools.estool_py.upload.params.verbose=
.tools.estool_py.upload.params.quiet=
.tools.estool_py.upload.pattern_args=--chipbuildd.mcu-portserial.port-baudupload.speedupload.flags-beforedefault_reset-afterhard_resetwrite_flash-z-flash_modebuildd.flash_mode-flash_freqbuildd.flash_freq-flash_sizebuildd.flash_size0xe000runtime.platformpath/tools/partitions/boot_app0.binbulid.bootloader_addrbulidpath/{bulid.project_name}.bootloader.bin0x10000bulidpath/{bulid.project_name}.bin0x8000bulidpath/{bulid.project_name}.partitions.binnetwork_cmd-iserial.port-pnetwork.port"--authnetwork.password"-fbulidpath/{bulid.project_name}.bin"
.tools.estool_py.upload.pattern="{path}/{cmd}"upload.pattern_args
.tools.estool_py.upload.pattern.linux=python"path/{cmd}"upload.pattern_args
.tools.estool_py.upload.network_pattern=network_cmd-iserial.port-pnetwork.port"--authnetwork.password"-fbulidpath/{bulid.project_name}.bin"

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/gengstrong-arduino-esp32.git
git@api.gitlife.ru:oschina-mirror/gengstrong-arduino-esp32.git
oschina-mirror
gengstrong-arduino-esp32
gengstrong-arduino-esp32
master