From 202a462e95171a50c093d01c3f88d233e90eefa8 Mon Sep 17 00:00:00 2001 From: Heltec-Aaron-Lee Date: Mon, 10 Feb 2020 18:33:28 +0800 Subject: [PATCH] optimization ESP32 menu, and added LoRaWAN frequency and debug level options --- esp32/boards.txt | 1033 +++++++++++++++++++------------------------- esp32/platform.txt | 218 +++++----- 2 files changed, 561 insertions(+), 690 deletions(-) diff --git a/esp32/boards.txt b/esp32/boards.txt index e289bf07..a566a7a4 100644 --- a/esp32/boards.txt +++ b/esp32/boards.txt @@ -1,581 +1,452 @@ -menu.UploadSpeed=Upload Speed -menu.CPUFreq=CPU Frequency -menu.FlashFreq=Flash Frequency -menu.FlashMode=Flash Mode -menu.FlashSize=Flash Size -menu.PartitionScheme=Partition Scheme -menu.DebugLevel=Core Debug Level -menu.PSRAM=PSRAM - -############################################################## - -wifi_kit_32.name=WiFi Kit 32 - -wifi_kit_32.upload.tool=esptool_py -wifi_kit_32.upload.maximum_size=1310720 -wifi_kit_32.upload.maximum_data_size=327680 -wifi_kit_32.upload.wait_for_upload_port=true - -wifi_kit_32.serial.disableDTR=true -wifi_kit_32.serial.disableRTS=true - -wifi_kit_32.build.mcu=esp32 -wifi_kit_32.build.core=esp32 -wifi_kit_32.build.variant=wifi_kit_32 -wifi_kit_32.build.board=WIFI_KIT_32 - -wifi_kit_32.build.f_cpu=240000000L -wifi_kit_32.build.flash_size=4MB -wifi_kit_32.build.flash_freq=40m -wifi_kit_32.build.flash_mode=dio -wifi_kit_32.build.boot=dio -wifi_kit_32.build.partitions=default -wifi_kit_32.build.defines= - -wifi_kit_32.menu.PSRAM.disabled=Disabled -wifi_kit_32.menu.PSRAM.disabled.build.defines= -wifi_kit_32.menu.PSRAM.enabled=Enabled -wifi_kit_32.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue - -wifi_kit_32.menu.PartitionScheme.default=Default -wifi_kit_32.menu.PartitionScheme.default.build.partitions=default -wifi_kit_32.menu.PartitionScheme.minimal=Minimal (2MB FLASH) -wifi_kit_32.menu.PartitionScheme.minimal.build.partitions=minimal -wifi_kit_32.menu.PartitionScheme.no_ota=No OTA (Large APP) -wifi_kit_32.menu.PartitionScheme.no_ota.build.partitions=no_ota -wifi_kit_32.menu.PartitionScheme.no_ota.upload.maximum_size=2097152 -wifi_kit_32.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA) -wifi_kit_32.menu.PartitionScheme.huge_app.build.partitions=huge_app -wifi_kit_32.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 -wifi_kit_32.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA) -wifi_kit_32.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs -wifi_kit_32.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 -wifi_kit_32.menu.PartitionScheme.fatflash=16M Fat -wifi_kit_32.menu.PartitionScheme.fatflash.build.partitions=ffat - -wifi_kit_32.menu.CPUFreq.240=240MHz (WiFi/BT) -wifi_kit_32.menu.CPUFreq.240.build.f_cpu=240000000L -wifi_kit_32.menu.CPUFreq.160=160MHz (WiFi/BT) -wifi_kit_32.menu.CPUFreq.160.build.f_cpu=160000000L -wifi_kit_32.menu.CPUFreq.80=80MHz (WiFi/BT) -wifi_kit_32.menu.CPUFreq.80.build.f_cpu=80000000L -wifi_kit_32.menu.CPUFreq.26=26MHz (26MHz XTAL) -wifi_kit_32.menu.CPUFreq.26.build.f_cpu=26000000L -wifi_kit_32.menu.CPUFreq.13=13MHz (26MHz XTAL) -wifi_kit_32.menu.CPUFreq.13.build.f_cpu=13000000L - -wifi_kit_32.menu.FlashMode.qio=QIO -wifi_kit_32.menu.FlashMode.qio.build.flash_mode=dio -wifi_kit_32.menu.FlashMode.qio.build.boot=qio -wifi_kit_32.menu.FlashMode.dio=DIO -wifi_kit_32.menu.FlashMode.dio.build.flash_mode=dio -wifi_kit_32.menu.FlashMode.dio.build.boot=dio -wifi_kit_32.menu.FlashMode.qout=QOUT -wifi_kit_32.menu.FlashMode.qout.build.flash_mode=dout -wifi_kit_32.menu.FlashMode.qout.build.boot=qout -wifi_kit_32.menu.FlashMode.dout=DOUT -wifi_kit_32.menu.FlashMode.dout.build.flash_mode=dout -wifi_kit_32.menu.FlashMode.dout.build.boot=dout - -wifi_kit_32.menu.FlashFreq.40=40MHz -wifi_kit_32.menu.FlashFreq.40.build.flash_freq=40m -wifi_kit_32.menu.FlashFreq.80=80MHz -wifi_kit_32.menu.FlashFreq.80.build.flash_freq=80m - -wifi_kit_32.menu.FlashSize.4M=4MB (32Mb) -wifi_kit_32.menu.FlashSize.4M.build.flash_size=4MB -wifi_kit_32.menu.FlashSize.2M=2MB (16Mb) -wifi_kit_32.menu.FlashSize.2M.build.flash_size=2MB -wifi_kit_32.menu.FlashSize.2M.build.partitions=minimal -wifi_kit_32.menu.FlashSize.16M=16MB (128Mb) -wifi_kit_32.menu.FlashSize.16M.build.flash_size=16MB -wifi_kit_32.menu.FlashSize.16M.build.partitions=ffat - -wifi_kit_32.menu.UploadSpeed.921600=921600 -wifi_kit_32.menu.UploadSpeed.921600.upload.speed=921600 -wifi_kit_32.menu.UploadSpeed.115200=115200 -wifi_kit_32.menu.UploadSpeed.115200.upload.speed=115200 -wifi_kit_32.menu.UploadSpeed.256000.windows=256000 -wifi_kit_32.menu.UploadSpeed.256000.upload.speed=256000 -wifi_kit_32.menu.UploadSpeed.230400.windows.upload.speed=256000 -wifi_kit_32.menu.UploadSpeed.230400=230400 -wifi_kit_32.menu.UploadSpeed.230400.upload.speed=230400 -wifi_kit_32.menu.UploadSpeed.460800.linux=460800 -wifi_kit_32.menu.UploadSpeed.460800.macosx=460800 -wifi_kit_32.menu.UploadSpeed.460800.upload.speed=460800 -wifi_kit_32.menu.UploadSpeed.512000.windows=512000 -wifi_kit_32.menu.UploadSpeed.512000.upload.speed=512000 - -wifi_kit_32.menu.DebugLevel.none=None -wifi_kit_32.menu.DebugLevel.none.build.code_debug=0 -wifi_kit_32.menu.DebugLevel.error=Error -wifi_kit_32.menu.DebugLevel.error.build.code_debug=1 -wifi_kit_32.menu.DebugLevel.warn=Warn -wifi_kit_32.menu.DebugLevel.warn.build.code_debug=2 -wifi_kit_32.menu.DebugLevel.info=Info -wifi_kit_32.menu.DebugLevel.info.build.code_debug=3 -wifi_kit_32.menu.DebugLevel.debug=Debug -wifi_kit_32.menu.DebugLevel.debug.build.code_debug=4 -wifi_kit_32.menu.DebugLevel.verbose=Verbose -wifi_kit_32.menu.DebugLevel.verbose.build.code_debug=5 - -############################################################## - -wifi_lora_32.name=WiFi LoRa 32 - -wifi_lora_32.upload.tool=esptool_py -wifi_lora_32.upload.maximum_size=1310720 -wifi_lora_32.upload.maximum_data_size=327680 -wifi_lora_32.upload.wait_for_upload_port=true - -wifi_lora_32.serial.disableDTR=true -wifi_lora_32.serial.disableRTS=true - -wifi_lora_32.build.mcu=esp32 -wifi_lora_32.build.core=esp32 -wifi_lora_32.build.variant=wifi_lora_32 -wifi_lora_32.build.board=WIFI_LORA_32 - -wifi_lora_32.build.f_cpu=240000000L -wifi_lora_32.build.flash_size=4MB -wifi_lora_32.build.flash_freq=40m -wifi_lora_32.build.flash_mode=dio -wifi_lora_32.build.boot=dio -wifi_lora_32.build.partitions=default -wifi_lora_32.build.defines= - -wifi_lora_32.menu.PSRAM.disabled=Disabled -wifi_lora_32.menu.PSRAM.disabled.build.defines= -wifi_lora_32.menu.PSRAM.enabled=Enabled -wifi_lora_32.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue - -wifi_lora_32.menu.PartitionScheme.default=Default -wifi_lora_32.menu.PartitionScheme.default.build.partitions=default -wifi_lora_32.menu.PartitionScheme.minimal=Minimal (2MB FLASH) -wifi_lora_32.menu.PartitionScheme.minimal.build.partitions=minimal -wifi_lora_32.menu.PartitionScheme.no_ota=No OTA (Large APP) -wifi_lora_32.menu.PartitionScheme.no_ota.build.partitions=no_ota -wifi_lora_32.menu.PartitionScheme.no_ota.upload.maximum_size=2097152 -wifi_lora_32.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA) -wifi_lora_32.menu.PartitionScheme.huge_app.build.partitions=huge_app -wifi_lora_32.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 -wifi_lora_32.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA) -wifi_lora_32.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs -wifi_lora_32.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 -wifi_lora_32.menu.PartitionScheme.fatflash=16M Fat -wifi_lora_32.menu.PartitionScheme.fatflash.build.partitions=ffat - -wifi_lora_32.menu.CPUFreq.240=240MHz (WiFi/BT) -wifi_lora_32.menu.CPUFreq.240.build.f_cpu=240000000L -wifi_lora_32.menu.CPUFreq.160=160MHz (WiFi/BT) -wifi_lora_32.menu.CPUFreq.160.build.f_cpu=160000000L -wifi_lora_32.menu.CPUFreq.80=80MHz (WiFi/BT) -wifi_lora_32.menu.CPUFreq.80.build.f_cpu=80000000L -wifi_lora_32.menu.CPUFreq.26=26MHz (26MHz XTAL) -wifi_lora_32.menu.CPUFreq.26.build.f_cpu=26000000L -wifi_lora_32.menu.CPUFreq.13=13MHz (26MHz XTAL) -wifi_lora_32.menu.CPUFreq.13.build.f_cpu=13000000L - -wifi_lora_32.menu.FlashMode.qio=QIO -wifi_lora_32.menu.FlashMode.qio.build.flash_mode=dio -wifi_lora_32.menu.FlashMode.qio.build.boot=qio -wifi_lora_32.menu.FlashMode.dio=DIO -wifi_lora_32.menu.FlashMode.dio.build.flash_mode=dio -wifi_lora_32.menu.FlashMode.dio.build.boot=dio -wifi_lora_32.menu.FlashMode.qout=QOUT -wifi_lora_32.menu.FlashMode.qout.build.flash_mode=dout -wifi_lora_32.menu.FlashMode.qout.build.boot=qout -wifi_lora_32.menu.FlashMode.dout=DOUT -wifi_lora_32.menu.FlashMode.dout.build.flash_mode=dout -wifi_lora_32.menu.FlashMode.dout.build.boot=dout - -wifi_lora_32.menu.FlashFreq.40=40MHz -wifi_lora_32.menu.FlashFreq.40.build.flash_freq=40m -wifi_lora_32.menu.FlashFreq.80=80MHz -wifi_lora_32.menu.FlashFreq.80.build.flash_freq=80m - -wifi_lora_32.menu.FlashSize.4M=4MB (32Mb) -wifi_lora_32.menu.FlashSize.4M.build.flash_size=4MB -wifi_lora_32.menu.FlashSize.2M=2MB (16Mb) -wifi_lora_32.menu.FlashSize.2M.build.flash_size=2MB -wifi_lora_32.menu.FlashSize.2M.build.partitions=minimal -wifi_lora_32.menu.FlashSize.16M=16MB (128Mb) -wifi_lora_32.menu.FlashSize.16M.build.flash_size=16MB -wifi_lora_32.menu.FlashSize.16M.build.partitions=ffat - -wifi_lora_32.menu.UploadSpeed.921600=921600 -wifi_lora_32.menu.UploadSpeed.921600.upload.speed=921600 -wifi_lora_32.menu.UploadSpeed.115200=115200 -wifi_lora_32.menu.UploadSpeed.115200.upload.speed=115200 -wifi_lora_32.menu.UploadSpeed.256000.windows=256000 -wifi_lora_32.menu.UploadSpeed.256000.upload.speed=256000 -wifi_lora_32.menu.UploadSpeed.230400.windows.upload.speed=256000 -wifi_lora_32.menu.UploadSpeed.230400=230400 -wifi_lora_32.menu.UploadSpeed.230400.upload.speed=230400 -wifi_lora_32.menu.UploadSpeed.460800.linux=460800 -wifi_lora_32.menu.UploadSpeed.460800.macosx=460800 -wifi_lora_32.menu.UploadSpeed.460800.upload.speed=460800 -wifi_lora_32.menu.UploadSpeed.512000.windows=512000 -wifi_lora_32.menu.UploadSpeed.512000.upload.speed=512000 - -wifi_lora_32.menu.DebugLevel.none=None -wifi_lora_32.menu.DebugLevel.none.build.code_debug=0 -wifi_lora_32.menu.DebugLevel.error=Error -wifi_lora_32.menu.DebugLevel.error.build.code_debug=1 -wifi_lora_32.menu.DebugLevel.warn=Warn -wifi_lora_32.menu.DebugLevel.warn.build.code_debug=2 -wifi_lora_32.menu.DebugLevel.info=Info -wifi_lora_32.menu.DebugLevel.info.build.code_debug=3 -wifi_lora_32.menu.DebugLevel.debug=Debug -wifi_lora_32.menu.DebugLevel.debug.build.code_debug=4 -wifi_lora_32.menu.DebugLevel.verbose=Verbose -wifi_lora_32.menu.DebugLevel.verbose.build.code_debug=5 - -############################################################## - -wifi_lora_32_V2.name=WiFi LoRa 32(V2) - -wifi_lora_32_V2.upload.tool=esptool_py -wifi_lora_32_V2.upload.maximum_size=3342336 -wifi_lora_32_V2.upload.maximum_data_size=327680 -wifi_lora_32_V2.upload.wait_for_upload_port=true - -wifi_lora_32_V2.serial.disableDTR=true -wifi_lora_32_V2.serial.disableRTS=true - -wifi_lora_32_V2.build.mcu=esp32 -wifi_lora_32_V2.build.core=esp32 -wifi_lora_32_V2.build.variant=wifi_lora_32_V2 -wifi_lora_32_V2.build.board=WIFI_LORA_32_V2 - -wifi_lora_32_V2.build.f_cpu=240000000L -wifi_lora_32_V2.build.flash_size=8MB -wifi_lora_32_V2.build.flash_freq=40m -wifi_lora_32_V2.build.flash_mode=dio -wifi_lora_32_V2.build.boot=dio -wifi_lora_32_V2.build.partitions=default_8MB -wifi_lora_32_V2.build.defines= - -wifi_lora_32_V2.menu.PSRAM.disabled=Disabled -wifi_lora_32_V2.menu.PSRAM.disabled.build.defines= -wifi_lora_32_V2.menu.PSRAM.enabled=Enabled -wifi_lora_32_V2.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue - -wifi_lora_32_V2.menu.PartitionScheme.default=default_8MB -wifi_lora_32_V2.menu.PartitionScheme.default.build.partitions=default_8MB -wifi_lora_32_V2.menu.PartitionScheme.minimal=Minimal (2MB FLASH) -wifi_lora_32_V2.menu.PartitionScheme.minimal.build.partitions=minimal -wifi_lora_32_V2.menu.PartitionScheme.no_ota=No OTA (Large APP) -wifi_lora_32_V2.menu.PartitionScheme.no_ota.build.partitions=no_ota -wifi_lora_32_V2.menu.PartitionScheme.no_ota.upload.maximum_size=2097152 -wifi_lora_32_V2.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA) -wifi_lora_32_V2.menu.PartitionScheme.huge_app.build.partitions=huge_app -wifi_lora_32_V2.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 -wifi_lora_32_V2.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA) -wifi_lora_32_V2.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs -wifi_lora_32_V2.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 -wifi_lora_32_V2.menu.PartitionScheme.fatflash=16M Fat -wifi_lora_32_V2.menu.PartitionScheme.fatflash.build.partitions=ffat - -wifi_lora_32_V2.menu.CPUFreq.240=240MHz (WiFi/BT) -wifi_lora_32_V2.menu.CPUFreq.240.build.f_cpu=240000000L -wifi_lora_32_V2.menu.CPUFreq.160=160MHz (WiFi/BT) -wifi_lora_32_V2.menu.CPUFreq.160.build.f_cpu=160000000L -wifi_lora_32_V2.menu.CPUFreq.80=80MHz (WiFi/BT) -wifi_lora_32_V2.menu.CPUFreq.80.build.f_cpu=80000000L -wifi_lora_32_V2.menu.CPUFreq.40=40MHz (40MHz XTAL) -wifi_lora_32_V2.menu.CPUFreq.40.build.f_cpu=40000000L -wifi_lora_32_V2.menu.CPUFreq.20=20MHz (40MHz XTAL) -wifi_lora_32_V2.menu.CPUFreq.20.build.f_cpu=20000000L -wifi_lora_32_V2.menu.CPUFreq.10=10MHz (40MHz XTAL) -wifi_lora_32_V2.menu.CPUFreq.10.build.f_cpu=10000000L - -wifi_lora_32_V2.menu.FlashMode.qio=QIO -wifi_lora_32_V2.menu.FlashMode.qio.build.flash_mode=dio -wifi_lora_32_V2.menu.FlashMode.qio.build.boot=qio -wifi_lora_32_V2.menu.FlashMode.dio=DIO -wifi_lora_32_V2.menu.FlashMode.dio.build.flash_mode=dio -wifi_lora_32_V2.menu.FlashMode.dio.build.boot=dio -wifi_lora_32_V2.menu.FlashMode.qout=QOUT -wifi_lora_32_V2.menu.FlashMode.qout.build.flash_mode=dout -wifi_lora_32_V2.menu.FlashMode.qout.build.boot=qout -wifi_lora_32_V2.menu.FlashMode.dout=DOUT -wifi_lora_32_V2.menu.FlashMode.dout.build.flash_mode=dout -wifi_lora_32_V2.menu.FlashMode.dout.build.boot=dout - -wifi_lora_32_V2.menu.FlashFreq.80=80MHz -wifi_lora_32_V2.menu.FlashFreq.80.build.flash_freq=80m -wifi_lora_32_V2.menu.FlashFreq.40=40MHz -wifi_lora_32_V2.menu.FlashFreq.40.build.flash_freq=40m - -wifi_lora_32_V2.menu.FlashSize.8M=8MB (64Mb) -wifi_lora_32_V2.menu.FlashSize.8M.build.flash_size=8MB -wifi_lora_32_V2.menu.FlashSize.8M.build.partitions=default_8MB -wifi_lora_32_V2.menu.FlashSize.4M=4MB (32Mb) -wifi_lora_32_V2.menu.FlashSize.4M.build.flash_size=4MB -wifi_lora_32_V2.menu.FlashSize.2M=2MB (16Mb) -wifi_lora_32_V2.menu.FlashSize.2M.build.flash_size=2MB -wifi_lora_32_V2.menu.FlashSize.2M.build.partitions=minimal -wifi_lora_32_V2.menu.FlashSize.16M=16MB (128Mb) -wifi_lora_32_V2.menu.FlashSize.16M.build.flash_size=16MB -wifi_lora_32_V2.menu.FlashSize.16M.build.partitions=ffat - -wifi_lora_32_V2.menu.UploadSpeed.921600=921600 -wifi_lora_32_V2.menu.UploadSpeed.921600.upload.speed=921600 -wifi_lora_32_V2.menu.UploadSpeed.115200=115200 -wifi_lora_32_V2.menu.UploadSpeed.115200.upload.speed=115200 -wifi_lora_32_V2.menu.UploadSpeed.256000.windows=256000 -wifi_lora_32_V2.menu.UploadSpeed.256000.upload.speed=256000 -wifi_lora_32_V2.menu.UploadSpeed.230400.windows.upload.speed=256000 -wifi_lora_32_V2.menu.UploadSpeed.230400=230400 -wifi_lora_32_V2.menu.UploadSpeed.230400.upload.speed=230400 -wifi_lora_32_V2.menu.UploadSpeed.460800.linux=460800 -wifi_lora_32_V2.menu.UploadSpeed.460800.macosx=460800 -wifi_lora_32_V2.menu.UploadSpeed.460800.upload.speed=460800 -wifi_lora_32_V2.menu.UploadSpeed.512000.windows=512000 -wifi_lora_32_V2.menu.UploadSpeed.512000.upload.speed=512000 - -wifi_lora_32_V2.menu.DebugLevel.none=None -wifi_lora_32_V2.menu.DebugLevel.none.build.code_debug=0 -wifi_lora_32_V2.menu.DebugLevel.error=Error -wifi_lora_32_V2.menu.DebugLevel.error.build.code_debug=1 -wifi_lora_32_V2.menu.DebugLevel.warn=Warn -wifi_lora_32_V2.menu.DebugLevel.warn.build.code_debug=2 -wifi_lora_32_V2.menu.DebugLevel.info=Info -wifi_lora_32_V2.menu.DebugLevel.info.build.code_debug=3 -wifi_lora_32_V2.menu.DebugLevel.debug=Debug -wifi_lora_32_V2.menu.DebugLevel.debug.build.code_debug=4 -wifi_lora_32_V2.menu.DebugLevel.verbose=Verbose -wifi_lora_32_V2.menu.DebugLevel.verbose.build.code_debug=5 - -############################################################## - -wireless_stick.name=Wireless Stick - -wireless_stick.upload.tool=esptool_py -wireless_stick.upload.maximum_size=3342336 -wireless_stick.upload.maximum_data_size=327680 -wireless_stick.upload.wait_for_upload_port=true - -wireless_stick.serial.disableDTR=true -wireless_stick.serial.disableRTS=true - -wireless_stick.build.mcu=esp32 -wireless_stick.build.core=esp32 -wireless_stick.build.variant=wireless_stick -wireless_stick.build.board=WIRELESS_STICK - -wireless_stick.build.f_cpu=240000000L -wireless_stick.build.flash_size=8MB -wireless_stick.build.flash_freq=40m -wireless_stick.build.flash_mode=dio -wireless_stick.build.boot=dio -wireless_stick.build.partitions=default_8MB -wireless_stick.build.defines= - -wireless_stick.menu.PSRAM.disabled=Disabled -wireless_stick.menu.PSRAM.disabled.build.defines= -wireless_stick.menu.PSRAM.enabled=Enabled -wireless_stick.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue - -wireless_stick.menu.PartitionScheme.default=default_8MB -wireless_stick.menu.PartitionScheme.default.build.partitions=default_8MB -wireless_stick.menu.PartitionScheme.minimal=Minimal (2MB FLASH) -wireless_stick.menu.PartitionScheme.minimal.build.partitions=minimal -wireless_stick.menu.PartitionScheme.no_ota=No OTA (Large APP) -wireless_stick.menu.PartitionScheme.no_ota.build.partitions=no_ota -wireless_stick.menu.PartitionScheme.no_ota.upload.maximum_size=2097152 -wireless_stick.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA) -wireless_stick.menu.PartitionScheme.huge_app.build.partitions=huge_app -wireless_stick.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 -wireless_stick.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA) -wireless_stick.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs -wireless_stick.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 -wireless_stick.menu.PartitionScheme.fatflash=16M Fat -wireless_stick.menu.PartitionScheme.fatflash.build.partitions=ffat - -wireless_stick.menu.CPUFreq.240=240MHz (WiFi/BT) -wireless_stick.menu.CPUFreq.240.build.f_cpu=240000000L -wireless_stick.menu.CPUFreq.160=160MHz (WiFi/BT) -wireless_stick.menu.CPUFreq.160.build.f_cpu=160000000L -wireless_stick.menu.CPUFreq.80=80MHz (WiFi/BT) -wireless_stick.menu.CPUFreq.80.build.f_cpu=80000000L -wireless_stick.menu.CPUFreq.40=40MHz (40MHz XTAL) -wireless_stick.menu.CPUFreq.40.build.f_cpu=40000000L -wireless_stick.menu.CPUFreq.20=20MHz (40MHz XTAL) -wireless_stick.menu.CPUFreq.20.build.f_cpu=20000000L -wireless_stick.menu.CPUFreq.10=10MHz (40MHz XTAL) -wireless_stick.menu.CPUFreq.10.build.f_cpu=10000000L - -wireless_stick.menu.FlashMode.qio=QIO -wireless_stick.menu.FlashMode.qio.build.flash_mode=dio -wireless_stick.menu.FlashMode.qio.build.boot=qio -wireless_stick.menu.FlashMode.dio=DIO -wireless_stick.menu.FlashMode.dio.build.flash_mode=dio -wireless_stick.menu.FlashMode.dio.build.boot=dio -wireless_stick.menu.FlashMode.qout=QOUT -wireless_stick.menu.FlashMode.qout.build.flash_mode=dout -wireless_stick.menu.FlashMode.qout.build.boot=qout -wireless_stick.menu.FlashMode.dout=DOUT -wireless_stick.menu.FlashMode.dout.build.flash_mode=dout -wireless_stick.menu.FlashMode.dout.build.boot=dout - -wireless_stick.menu.FlashFreq.80=80MHz -wireless_stick.menu.FlashFreq.80.build.flash_freq=80m -wireless_stick.menu.FlashFreq.40=40MHz -wireless_stick.menu.FlashFreq.40.build.flash_freq=40m - -wireless_stick.menu.FlashSize.8M=8MB (64Mb) -wireless_stick.menu.FlashSize.8M.build.flash_size=8MB -wireless_stick.menu.FlashSize.8M.build.partitions=default_8MB -wireless_stick.menu.FlashSize.4M=4MB (32Mb) -wireless_stick.menu.FlashSize.4M.build.flash_size=4MB -wireless_stick.menu.FlashSize.2M=2MB (16Mb) -wireless_stick.menu.FlashSize.2M.build.flash_size=2MB -wireless_stick.menu.FlashSize.2M.build.partitions=minimal -wireless_stick.menu.FlashSize.16M=16MB (128Mb) -wireless_stick.menu.FlashSize.16M.build.flash_size=16MB -wireless_stick.menu.FlashSize.16M.build.partitions=ffat - -wireless_stick.menu.UploadSpeed.921600=921600 -wireless_stick.menu.UploadSpeed.921600.upload.speed=921600 -wireless_stick.menu.UploadSpeed.115200=115200 -wireless_stick.menu.UploadSpeed.115200.upload.speed=115200 -wireless_stick.menu.UploadSpeed.256000.windows=256000 -wireless_stick.menu.UploadSpeed.256000.upload.speed=256000 -wireless_stick.menu.UploadSpeed.230400.windows.upload.speed=256000 -wireless_stick.menu.UploadSpeed.230400=230400 -wireless_stick.menu.UploadSpeed.230400.upload.speed=230400 -wireless_stick.menu.UploadSpeed.460800.linux=460800 -wireless_stick.menu.UploadSpeed.460800.macosx=460800 -wireless_stick.menu.UploadSpeed.460800.upload.speed=460800 -wireless_stick.menu.UploadSpeed.512000.windows=512000 -wireless_stick.menu.UploadSpeed.512000.upload.speed=512000 - -wireless_stick.menu.DebugLevel.none=None -wireless_stick.menu.DebugLevel.none.build.code_debug=0 -wireless_stick.menu.DebugLevel.error=Error -wireless_stick.menu.DebugLevel.error.build.code_debug=1 -wireless_stick.menu.DebugLevel.warn=Warn -wireless_stick.menu.DebugLevel.warn.build.code_debug=2 -wireless_stick.menu.DebugLevel.info=Info -wireless_stick.menu.DebugLevel.info.build.code_debug=3 -wireless_stick.menu.DebugLevel.debug=Debug -wireless_stick.menu.DebugLevel.debug.build.code_debug=4 -wireless_stick.menu.DebugLevel.verbose=Verbose -wireless_stick.menu.DebugLevel.verbose.build.code_debug=5 - -############################################################## - -wireless_stick_lite.name=Wireless Stick Lite - -wireless_stick_lite.upload.tool=esptool_py -wireless_stick_lite.upload.maximum_size=1310720 -wireless_stick_lite.upload.maximum_data_size=327680 -wireless_stick_lite.upload.wait_for_upload_port=true - -wireless_stick_lite.serial.disableDTR=true -wireless_stick_lite.serial.disableRTS=true - -wireless_stick_lite.build.mcu=esp32 -wireless_stick_lite.build.core=esp32 -wireless_stick_lite.build.variant=wireless_stick_lite -wireless_stick_lite.build.board=WIRELESS_STICK_LITE - -wireless_stick_lite.build.f_cpu=240000000L -wireless_stick_lite.build.flash_size=4MB -wireless_stick_lite.build.flash_freq=80m -wireless_stick_lite.build.flash_mode=dio -wireless_stick_lite.build.boot=dio -wireless_stick_lite.build.partitions=default -wireless_stick_lite.build.defines= - -wireless_stick_lite.menu.PSRAM.disabled=Disabled -wireless_stick_lite.menu.PSRAM.disabled.build.defines= -wireless_stick_lite.menu.PSRAM.enabled=Enabled -wireless_stick_lite.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue - -wireless_stick_lite.menu.PartitionScheme.default=default -wireless_stick_lite.menu.PartitionScheme.default.build.partitions=default -wireless_stick_lite.menu.PartitionScheme.minimal=Minimal (2MB FLASH) -wireless_stick_lite.menu.PartitionScheme.minimal.build.partitions=minimal -wireless_stick_lite.menu.PartitionScheme.no_ota=No OTA (Large APP) -wireless_stick_lite.menu.PartitionScheme.no_ota.build.partitions=no_ota -wireless_stick_lite.menu.PartitionScheme.no_ota.upload.maximum_size=2097152 -wireless_stick_lite.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA) -wireless_stick_lite.menu.PartitionScheme.huge_app.build.partitions=huge_app -wireless_stick_lite.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 -wireless_stick_lite.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA) -wireless_stick_lite.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs -wireless_stick_lite.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 -wireless_stick_lite.menu.PartitionScheme.fatflash=16M Fat -wireless_stick_lite.menu.PartitionScheme.fatflash.build.partitions=ffat - -wireless_stick_lite.menu.CPUFreq.240=240MHz (WiFi/BT) -wireless_stick_lite.menu.CPUFreq.240.build.f_cpu=240000000L -wireless_stick_lite.menu.CPUFreq.160=160MHz (WiFi/BT) -wireless_stick_lite.menu.CPUFreq.160.build.f_cpu=160000000L -wireless_stick_lite.menu.CPUFreq.80=80MHz (WiFi/BT) -wireless_stick_lite.menu.CPUFreq.80.build.f_cpu=80000000L -wireless_stick_lite.menu.CPUFreq.40=40MHz (40MHz XTAL) -wireless_stick_lite.menu.CPUFreq.40.build.f_cpu=40000000L -wireless_stick_lite.menu.CPUFreq.20=20MHz (40MHz XTAL) -wireless_stick_lite.menu.CPUFreq.20.build.f_cpu=20000000L -wireless_stick_lite.menu.CPUFreq.10=10MHz (40MHz XTAL) -wireless_stick_lite.menu.CPUFreq.10.build.f_cpu=10000000L - -wireless_stick_lite.menu.FlashMode.qio=QIO -wireless_stick_lite.menu.FlashMode.qio.build.flash_mode=dio -wireless_stick_lite.menu.FlashMode.qio.build.boot=qio -wireless_stick_lite.menu.FlashMode.dio=DIO -wireless_stick_lite.menu.FlashMode.dio.build.flash_mode=dio -wireless_stick_lite.menu.FlashMode.dio.build.boot=dio -wireless_stick_lite.menu.FlashMode.qout=QOUT -wireless_stick_lite.menu.FlashMode.qout.build.flash_mode=dout -wireless_stick_lite.menu.FlashMode.qout.build.boot=qout -wireless_stick_lite.menu.FlashMode.dout=DOUT -wireless_stick_lite.menu.FlashMode.dout.build.flash_mode=dout -wireless_stick_lite.menu.FlashMode.dout.build.boot=dout - -wireless_stick_lite.menu.FlashFreq.80=80MHz -wireless_stick_lite.menu.FlashFreq.80.build.flash_freq=80m -wireless_stick_lite.menu.FlashFreq.40=40MHz -wireless_stick_lite.menu.FlashFreq.40.build.flash_freq=40m - -wireless_stick_lite.menu.FlashSize.4M=4MB (32Mb) -wireless_stick_lite.menu.FlashSize.4M.build.flash_size=4MB -wireless_stick_lite.menu.FlashSize.4M.build.partitions=default -wireless_stick_lite.menu.FlashSize.2M=2MB (16Mb) -wireless_stick_lite.menu.FlashSize.2M.build.flash_size=2MB -wireless_stick_lite.menu.FlashSize.2M.build.partitions=minimal -wireless_stick_lite.menu.FlashSize.16M=16MB (128Mb) -wireless_stick_lite.menu.FlashSize.16M.build.flash_size=16MB -wireless_stick_lite.menu.FlashSize.16M.build.partitions=ffat - -wireless_stick_lite.menu.UploadSpeed.921600=921600 -wireless_stick_lite.menu.UploadSpeed.921600.upload.speed=921600 -wireless_stick_lite.menu.UploadSpeed.115200=115200 -wireless_stick_lite.menu.UploadSpeed.115200.upload.speed=115200 -wireless_stick_lite.menu.UploadSpeed.256000.windows=256000 -wireless_stick_lite.menu.UploadSpeed.256000.upload.speed=256000 -wireless_stick_lite.menu.UploadSpeed.230400.windows.upload.speed=256000 -wireless_stick_lite.menu.UploadSpeed.230400=230400 -wireless_stick_lite.menu.UploadSpeed.230400.upload.speed=230400 -wireless_stick_lite.menu.UploadSpeed.460800.linux=460800 -wireless_stick_lite.menu.UploadSpeed.460800.macosx=460800 -wireless_stick_lite.menu.UploadSpeed.460800.upload.speed=460800 -wireless_stick_lite.menu.UploadSpeed.512000.windows=512000 -wireless_stick_lite.menu.UploadSpeed.512000.upload.speed=512000 - -wireless_stick_lite.menu.DebugLevel.none=None -wireless_stick_lite.menu.DebugLevel.none.build.code_debug=0 -wireless_stick_lite.menu.DebugLevel.error=Error -wireless_stick_lite.menu.DebugLevel.error.build.code_debug=1 -wireless_stick_lite.menu.DebugLevel.warn=Warn -wireless_stick_lite.menu.DebugLevel.warn.build.code_debug=2 -wireless_stick_lite.menu.DebugLevel.info=Info -wireless_stick_lite.menu.DebugLevel.info.build.code_debug=3 -wireless_stick_lite.menu.DebugLevel.debug=Debug -wireless_stick_lite.menu.DebugLevel.debug.build.code_debug=4 -wireless_stick_lite.menu.DebugLevel.verbose=Verbose -wireless_stick_lite.menu.DebugLevel.verbose.build.code_debug=5 +menu.UploadSpeed=Upload Speed +menu.CPUFreq=CPU Frequency +menu.FlashFreq=Flash Frequency +menu.FlashMode=Flash Mode +menu.FlashSize=Flash Size +menu.PartitionScheme=Partition Scheme +menu.DebugLevel=Core Debug Level +menu.PSRAM=PSRAM +menu.LORAWAN_REGION=LoRaWan Region +menu.LoRaWanDebugLevel=LoRaWan Debug Level +############################################################## + +wifi_kit_32.name=WiFi Kit 32 + +wifi_kit_32.upload.tool=esptool_py +wifi_kit_32.upload.maximum_size=1310720 +wifi_kit_32.upload.maximum_data_size=327680 +wifi_kit_32.upload.wait_for_upload_port=true + +wifi_kit_32.serial.disableDTR=true +wifi_kit_32.serial.disableRTS=true + +wifi_kit_32.build.mcu=esp32 +wifi_kit_32.build.core=esp32 +wifi_kit_32.build.variant=wifi_kit_32 +wifi_kit_32.build.board=WIFI_KIT_32 + +wifi_kit_32.build.f_cpu=240000000L +wifi_kit_32.build.flash_size=4MB +wifi_kit_32.build.flash_freq=80m +wifi_kit_32.build.flash_mode=dio +wifi_kit_32.build.boot=dio +wifi_kit_32.build.partitions=default +wifi_kit_32.build.defines= +wifi_kit_32.build.band=LoRaWAN_NONE +wifi_kit_32.build.LoRaWanDebugLevel=0 + +wifi_kit_32.menu.PSRAM.disabled=Disabled +wifi_kit_32.menu.PSRAM.disabled.build.defines= +wifi_kit_32.menu.PSRAM.enabled=Enabled +wifi_kit_32.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue + +wifi_kit_32.menu.CPUFreq.240=240MHz (WiFi/BT) +wifi_kit_32.menu.CPUFreq.240.build.f_cpu=240000000L +wifi_kit_32.menu.CPUFreq.160=160MHz (WiFi/BT) +wifi_kit_32.menu.CPUFreq.160.build.f_cpu=160000000L +wifi_kit_32.menu.CPUFreq.80=80MHz (WiFi/BT) +wifi_kit_32.menu.CPUFreq.80.build.f_cpu=80000000L + +wifi_kit_32.menu.UploadSpeed.921600=921600 +wifi_kit_32.menu.UploadSpeed.921600.upload.speed=921600 +wifi_kit_32.menu.UploadSpeed.115200=115200 +wifi_kit_32.menu.UploadSpeed.115200.upload.speed=115200 +wifi_kit_32.menu.UploadSpeed.256000.windows=256000 +wifi_kit_32.menu.UploadSpeed.256000.upload.speed=256000 +wifi_kit_32.menu.UploadSpeed.230400.windows.upload.speed=256000 +wifi_kit_32.menu.UploadSpeed.230400=230400 +wifi_kit_32.menu.UploadSpeed.230400.upload.speed=230400 +wifi_kit_32.menu.UploadSpeed.460800.linux=460800 +wifi_kit_32.menu.UploadSpeed.460800.macosx=460800 +wifi_kit_32.menu.UploadSpeed.460800.upload.speed=460800 +wifi_kit_32.menu.UploadSpeed.512000.windows=512000 +wifi_kit_32.menu.UploadSpeed.512000.upload.speed=512000 + +wifi_kit_32.menu.DebugLevel.none=None +wifi_kit_32.menu.DebugLevel.none.build.code_debug=0 +wifi_kit_32.menu.DebugLevel.error=Error +wifi_kit_32.menu.DebugLevel.error.build.code_debug=1 +wifi_kit_32.menu.DebugLevel.warn=Warn +wifi_kit_32.menu.DebugLevel.warn.build.code_debug=2 +wifi_kit_32.menu.DebugLevel.info=Info +wifi_kit_32.menu.DebugLevel.info.build.code_debug=3 +wifi_kit_32.menu.DebugLevel.debug=Debug +wifi_kit_32.menu.DebugLevel.debug.build.code_debug=4 +wifi_kit_32.menu.DebugLevel.verbose=Verbose +wifi_kit_32.menu.DebugLevel.verbose.build.code_debug=5 +############################################################## + +wifi_lora_32.name=WiFi LoRa 32 + +wifi_lora_32.upload.tool=esptool_py +wifi_lora_32.upload.maximum_size=1310720 +wifi_lora_32.upload.maximum_data_size=327680 +wifi_lora_32.upload.wait_for_upload_port=true + +wifi_lora_32.serial.disableDTR=true +wifi_lora_32.serial.disableRTS=true + +wifi_lora_32.build.mcu=esp32 +wifi_lora_32.build.core=esp32 +wifi_lora_32.build.variant=wifi_lora_32 +wifi_lora_32.build.board=WIFI_LORA_32 + +wifi_lora_32.build.f_cpu=240000000L +wifi_lora_32.build.flash_size=4MB +wifi_lora_32.build.flash_freq=80m +wifi_lora_32.build.flash_mode=dio +wifi_lora_32.build.boot=dio +wifi_lora_32.build.partitions=default +wifi_lora_32.build.defines= + +wifi_lora_32.menu.PSRAM.disabled=Disabled +wifi_lora_32.menu.PSRAM.disabled.build.defines= +wifi_lora_32.menu.PSRAM.enabled=Enabled +wifi_lora_32.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue + +wifi_lora_32.menu.CPUFreq.240=240MHz (WiFi/BT) +wifi_lora_32.menu.CPUFreq.240.build.f_cpu=240000000L +wifi_lora_32.menu.CPUFreq.160=160MHz (WiFi/BT) +wifi_lora_32.menu.CPUFreq.160.build.f_cpu=160000000L +wifi_lora_32.menu.CPUFreq.80=80MHz (WiFi/BT) +wifi_lora_32.menu.CPUFreq.160.build.f_cpu=80000000L + +wifi_lora_32.menu.UploadSpeed.921600=921600 +wifi_lora_32.menu.UploadSpeed.921600.upload.speed=921600 +wifi_lora_32.menu.UploadSpeed.115200=115200 +wifi_lora_32.menu.UploadSpeed.115200.upload.speed=115200 +wifi_lora_32.menu.UploadSpeed.256000.windows=256000 +wifi_lora_32.menu.UploadSpeed.256000.upload.speed=256000 +wifi_lora_32.menu.UploadSpeed.230400.windows.upload.speed=256000 +wifi_lora_32.menu.UploadSpeed.230400=230400 +wifi_lora_32.menu.UploadSpeed.230400.upload.speed=230400 +wifi_lora_32.menu.UploadSpeed.460800.linux=460800 +wifi_lora_32.menu.UploadSpeed.460800.macosx=460800 +wifi_lora_32.menu.UploadSpeed.460800.upload.speed=460800 +wifi_lora_32.menu.UploadSpeed.512000.windows=512000 +wifi_lora_32.menu.UploadSpeed.512000.upload.speed=512000 + +wifi_lora_32.menu.DebugLevel.none=None +wifi_lora_32.menu.DebugLevel.none.build.code_debug=0 +wifi_lora_32.menu.DebugLevel.error=Error +wifi_lora_32.menu.DebugLevel.error.build.code_debug=1 +wifi_lora_32.menu.DebugLevel.warn=Warn +wifi_lora_32.menu.DebugLevel.warn.build.code_debug=2 +wifi_lora_32.menu.DebugLevel.info=Info +wifi_lora_32.menu.DebugLevel.info.build.code_debug=3 +wifi_lora_32.menu.DebugLevel.debug=Debug +wifi_lora_32.menu.DebugLevel.debug.build.code_debug=4 +wifi_lora_32.menu.DebugLevel.verbose=Verbose +wifi_lora_32.menu.DebugLevel.verbose.build.code_debug=5 + +wifi_lora_32.menu.LORAWAN_REGION.0=REGION_EU868 +wifi_lora_32.menu.LORAWAN_REGION.0.build.band=REGION_EU868 +wifi_lora_32.menu.LORAWAN_REGION.1=REGION_EU433 +wifi_lora_32.menu.LORAWAN_REGION.1.build.band=REGION_EU433 +wifi_lora_32.menu.LORAWAN_REGION.2=REGION_CN470 +wifi_lora_32.menu.LORAWAN_REGION.2.build.band=REGION_CN470 +wifi_lora_32.menu.LORAWAN_REGION.3=REGION_US915 +wifi_lora_32.menu.LORAWAN_REGION.3.build.band=REGION_US915 +wifi_lora_32.menu.LORAWAN_REGION.4=REGION_AU915 +wifi_lora_32.menu.LORAWAN_REGION.4.build.band=REGION_AU915 +wifi_lora_32.menu.LORAWAN_REGION.5=REGION_CN779 +wifi_lora_32.menu.LORAWAN_REGION.5.build.band=REGION_CN779 +wifi_lora_32.menu.LORAWAN_REGION.6=REGION_AS923 +wifi_lora_32.menu.LORAWAN_REGION.6.build.band=REGION_AS923 +wifi_lora_32.menu.LORAWAN_REGION.7=REGION_KR920 +wifi_lora_32.menu.LORAWAN_REGION.7.build.band=REGION_KR920 +wifi_lora_32.menu.LORAWAN_REGION.8=REGION_IN865 +wifi_lora_32.menu.LORAWAN_REGION.8.build.band=REGION_IN865 +wifi_lora_32.menu.LORAWAN_REGION.9=REGION_US915_HYBRID +wifi_lora_32.menu.LORAWAN_REGION.9.build.band=REGION_US915_HYBRID + +wifi_lora_32.menu.LoRaWanDebugLevel.0=None +wifi_lora_32.menu.LoRaWanDebugLevel.0.build.LoRaWanDebugLevel=0 +wifi_lora_32.menu.LoRaWanDebugLevel.1=Freq +wifi_lora_32.menu.LoRaWanDebugLevel.1.build.LoRaWanDebugLevel=1 +wifi_lora_32.menu.LoRaWanDebugLevel.2=Freq && DIO +wifi_lora_32.menu.LoRaWanDebugLevel.2.build.LoRaWanDebugLevel=2 +wifi_lora_32.menu.LoRaWanDebugLevel.3=Freq && DIO && PW +wifi_lora_32.menu.LoRaWanDebugLevel.3.build.LoRaWanDebugLevel=3 +############################################################## + +wifi_lora_32_V2.name=WiFi LoRa 32(V2) + +wifi_lora_32_V2.upload.tool=esptool_py +wifi_lora_32_V2.upload.maximum_size=3342336 +wifi_lora_32_V2.upload.maximum_data_size=327680 +wifi_lora_32_V2.upload.wait_for_upload_port=true + +wifi_lora_32_V2.serial.disableDTR=true +wifi_lora_32_V2.serial.disableRTS=true + +wifi_lora_32_V2.build.mcu=esp32 +wifi_lora_32_V2.build.core=esp32 +wifi_lora_32_V2.build.variant=wifi_lora_32_V2 +wifi_lora_32_V2.build.board=WIFI_LORA_32_V2 + +wifi_lora_32_V2.build.f_cpu=240000000L +wifi_lora_32_V2.build.flash_size=8MB +wifi_lora_32_V2.build.flash_freq=80m +wifi_lora_32_V2.build.flash_mode=dio +wifi_lora_32_V2.build.boot=qio +wifi_lora_32_V2.build.partitions=default_8MB +wifi_lora_32_V2.build.defines= + +wifi_lora_32_V2.menu.PSRAM.disabled=Disabled +wifi_lora_32_V2.menu.PSRAM.disabled.build.defines= +wifi_lora_32_V2.menu.PSRAM.enabled=Enabled +wifi_lora_32_V2.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue + +wifi_lora_32_V2.menu.CPUFreq.240=240MHz (WiFi/BT) +wifi_lora_32_V2.menu.CPUFreq.240.build.f_cpu=240000000L +wifi_lora_32_V2.menu.CPUFreq.160=160MHz (WiFi/BT) +wifi_lora_32_V2.menu.CPUFreq.160.build.f_cpu=160000000L +wifi_lora_32_V2.menu.CPUFreq.80=80MHz (WiFi/BT) +wifi_lora_32_V2.menu.CPUFreq.80.build.f_cpu=80000000L + +wifi_lora_32_V2.menu.UploadSpeed.921600=921600 +wifi_lora_32_V2.menu.UploadSpeed.921600.upload.speed=921600 +wifi_lora_32_V2.menu.UploadSpeed.115200=115200 +wifi_lora_32_V2.menu.UploadSpeed.115200.upload.speed=115200 +wifi_lora_32_V2.menu.UploadSpeed.256000.windows=256000 +wifi_lora_32_V2.menu.UploadSpeed.256000.upload.speed=256000 +wifi_lora_32_V2.menu.UploadSpeed.230400.windows.upload.speed=256000 +wifi_lora_32_V2.menu.UploadSpeed.230400=230400 +wifi_lora_32_V2.menu.UploadSpeed.230400.upload.speed=230400 +wifi_lora_32_V2.menu.UploadSpeed.460800.linux=460800 +wifi_lora_32_V2.menu.UploadSpeed.460800.macosx=460800 +wifi_lora_32_V2.menu.UploadSpeed.460800.upload.speed=460800 +wifi_lora_32_V2.menu.UploadSpeed.512000.windows=512000 +wifi_lora_32_V2.menu.UploadSpeed.512000.upload.speed=512000 + +wifi_lora_32_V2.menu.DebugLevel.none=None +wifi_lora_32_V2.menu.DebugLevel.none.build.code_debug=0 +wifi_lora_32_V2.menu.DebugLevel.error=Error +wifi_lora_32_V2.menu.DebugLevel.error.build.code_debug=1 +wifi_lora_32_V2.menu.DebugLevel.warn=Warn +wifi_lora_32_V2.menu.DebugLevel.warn.build.code_debug=2 +wifi_lora_32_V2.menu.DebugLevel.info=Info +wifi_lora_32_V2.menu.DebugLevel.info.build.code_debug=3 +wifi_lora_32_V2.menu.DebugLevel.debug=Debug +wifi_lora_32_V2.menu.DebugLevel.debug.build.code_debug=4 +wifi_lora_32_V2.menu.DebugLevel.verbose=Verbose +wifi_lora_32_V2.menu.DebugLevel.verbose.build.code_debug=5 + +wifi_lora_32_V2.menu.LORAWAN_REGION.0=REGION_EU868 +wifi_lora_32_V2.menu.LORAWAN_REGION.0.build.band=REGION_EU868 +wifi_lora_32_V2.menu.LORAWAN_REGION.1=REGION_EU433 +wifi_lora_32_V2.menu.LORAWAN_REGION.1.build.band=REGION_EU433 +wifi_lora_32_V2.menu.LORAWAN_REGION.2=REGION_CN470 +wifi_lora_32_V2.menu.LORAWAN_REGION.2.build.band=REGION_CN470 +wifi_lora_32_V2.menu.LORAWAN_REGION.3=REGION_US915 +wifi_lora_32_V2.menu.LORAWAN_REGION.3.build.band=REGION_US915 +wifi_lora_32_V2.menu.LORAWAN_REGION.4=REGION_AU915 +wifi_lora_32_V2.menu.LORAWAN_REGION.4.build.band=REGION_AU915 +wifi_lora_32_V2.menu.LORAWAN_REGION.5=REGION_CN779 +wifi_lora_32_V2.menu.LORAWAN_REGION.5.build.band=REGION_CN779 +wifi_lora_32_V2.menu.LORAWAN_REGION.6=REGION_AS923 +wifi_lora_32_V2.menu.LORAWAN_REGION.6.build.band=REGION_AS923 +wifi_lora_32_V2.menu.LORAWAN_REGION.7=REGION_KR920 +wifi_lora_32_V2.menu.LORAWAN_REGION.7.build.band=REGION_KR920 +wifi_lora_32_V2.menu.LORAWAN_REGION.8=REGION_IN865 +wifi_lora_32_V2.menu.LORAWAN_REGION.8.build.band=REGION_IN865 +wifi_lora_32_V2.menu.LORAWAN_REGION.9=REGION_US915_HYBRID +wifi_lora_32_V2.menu.LORAWAN_REGION.9.build.band=REGION_US915_HYBRID + +wifi_lora_32_V2.menu.LoRaWanDebugLevel.0=None +wifi_lora_32_V2.menu.LoRaWanDebugLevel.0.build.LoRaWanDebugLevel=0 +wifi_lora_32_V2.menu.LoRaWanDebugLevel.1=Freq +wifi_lora_32_V2.menu.LoRaWanDebugLevel.1.build.LoRaWanDebugLevel=1 +wifi_lora_32_V2.menu.LoRaWanDebugLevel.2=Freq && DIO +wifi_lora_32_V2.menu.LoRaWanDebugLevel.2.build.LoRaWanDebugLevel=2 +wifi_lora_32_V2.menu.LoRaWanDebugLevel.3=Freq && DIO && PW +wifi_lora_32_V2.menu.LoRaWanDebugLevel.3.build.LoRaWanDebugLevel=3 +############################################################## + +wireless_stick.name=Wireless Stick + +wireless_stick.upload.tool=esptool_py +wireless_stick.upload.maximum_size=3342336 +wireless_stick.upload.maximum_data_size=327680 +wireless_stick.upload.wait_for_upload_port=true + +wireless_stick.serial.disableDTR=true +wireless_stick.serial.disableRTS=true + +wireless_stick.build.mcu=esp32 +wireless_stick.build.core=esp32 +wireless_stick.build.variant=wireless_stick +wireless_stick.build.board=WIRELESS_STICK + +wireless_stick.build.f_cpu=240000000L +wireless_stick.build.flash_size=8MB +wireless_stick.build.flash_freq=80m +wireless_stick.build.flash_mode=dio +wireless_stick.build.boot=dio +wireless_stick.build.partitions=default_8MB +wireless_stick.build.defines= + +wireless_stick.menu.PSRAM.disabled=Disabled +wireless_stick.menu.PSRAM.disabled.build.defines= +wireless_stick.menu.PSRAM.enabled=Enabled +wireless_stick.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue + +wireless_stick.menu.CPUFreq.240=240MHz (WiFi/BT) +wireless_stick.menu.CPUFreq.240.build.f_cpu=240000000L +wireless_stick.menu.CPUFreq.160=160MHz (WiFi/BT) +wireless_stick.menu.CPUFreq.160.build.f_cpu=160000000L +wireless_stick.menu.CPUFreq.80=80MHz (WiFi/BT) +wireless_stick.menu.CPUFreq.80.build.f_cpu=80000000L + +wireless_stick.menu.UploadSpeed.921600=921600 +wireless_stick.menu.UploadSpeed.921600.upload.speed=921600 +wireless_stick.menu.UploadSpeed.115200=115200 +wireless_stick.menu.UploadSpeed.115200.upload.speed=115200 +wireless_stick.menu.UploadSpeed.256000.windows=256000 +wireless_stick.menu.UploadSpeed.256000.upload.speed=256000 +wireless_stick.menu.UploadSpeed.230400.windows.upload.speed=256000 +wireless_stick.menu.UploadSpeed.230400=230400 +wireless_stick.menu.UploadSpeed.230400.upload.speed=230400 +wireless_stick.menu.UploadSpeed.460800.linux=460800 +wireless_stick.menu.UploadSpeed.460800.macosx=460800 +wireless_stick.menu.UploadSpeed.460800.upload.speed=460800 +wireless_stick.menu.UploadSpeed.512000.windows=512000 +wireless_stick.menu.UploadSpeed.512000.upload.speed=512000 + +wireless_stick.menu.DebugLevel.none=None +wireless_stick.menu.DebugLevel.none.build.code_debug=0 +wireless_stick.menu.DebugLevel.error=Error +wireless_stick.menu.DebugLevel.error.build.code_debug=1 +wireless_stick.menu.DebugLevel.warn=Warn +wireless_stick.menu.DebugLevel.warn.build.code_debug=2 +wireless_stick.menu.DebugLevel.info=Info +wireless_stick.menu.DebugLevel.info.build.code_debug=3 +wireless_stick.menu.DebugLevel.debug=Debug +wireless_stick.menu.DebugLevel.debug.build.code_debug=4 +wireless_stick.menu.DebugLevel.verbose=Verbose +wireless_stick.menu.DebugLevel.verbose.build.code_debug=5 + +wireless_stick.menu.LORAWAN_REGION.0=REGION_EU868 +wireless_stick.menu.LORAWAN_REGION.0.build.band=REGION_EU868 +wireless_stick.menu.LORAWAN_REGION.1=REGION_EU433 +wireless_stick.menu.LORAWAN_REGION.1.build.band=REGION_EU433 +wireless_stick.menu.LORAWAN_REGION.2=REGION_CN470 +wireless_stick.menu.LORAWAN_REGION.2.build.band=REGION_CN470 +wireless_stick.menu.LORAWAN_REGION.3=REGION_US915 +wireless_stick.menu.LORAWAN_REGION.3.build.band=REGION_US915 +wireless_stick.menu.LORAWAN_REGION.4=REGION_AU915 +wireless_stick.menu.LORAWAN_REGION.4.build.band=REGION_AU915 +wireless_stick.menu.LORAWAN_REGION.5=REGION_CN779 +wireless_stick.menu.LORAWAN_REGION.5.build.band=REGION_CN779 +wireless_stick.menu.LORAWAN_REGION.6=REGION_AS923 +wireless_stick.menu.LORAWAN_REGION.6.build.band=REGION_AS923 +wireless_stick.menu.LORAWAN_REGION.7=REGION_KR920 +wireless_stick.menu.LORAWAN_REGION.7.build.band=REGION_KR920 +wireless_stick.menu.LORAWAN_REGION.8=REGION_IN865 +wireless_stick.menu.LORAWAN_REGION.8.build.band=REGION_IN865 +wireless_stick.menu.LORAWAN_REGION.9=REGION_US915_HYBRID +wireless_stick.menu.LORAWAN_REGION.9.build.band=REGION_US915_HYBRID + +wireless_stick.menu.LoRaWanDebugLevel.0=None +wireless_stick.menu.LoRaWanDebugLevel.0.build.LoRaWanDebugLevel=0 +wireless_stick.menu.LoRaWanDebugLevel.1=Freq +wireless_stick.menu.LoRaWanDebugLevel.1.build.LoRaWanDebugLevel=1 +wireless_stick.menu.LoRaWanDebugLevel.2=Freq && DIO +wireless_stick.menu.LoRaWanDebugLevel.2.build.LoRaWanDebugLevel=2 +wireless_stick.menu.LoRaWanDebugLevel.3=Freq && DIO && PW +wireless_stick.menu.LoRaWanDebugLevel.3.build.LoRaWanDebugLevel=3 +############################################################## + +wireless_stick_lite.name=Wireless Stick Lite + +wireless_stick_lite.upload.tool=esptool_py +wireless_stick_lite.upload.maximum_size=1310720 +wireless_stick_lite.upload.maximum_data_size=327680 +wireless_stick_lite.upload.wait_for_upload_port=true + +wireless_stick_lite.serial.disableDTR=true +wireless_stick_lite.serial.disableRTS=true + +wireless_stick_lite.build.mcu=esp32 +wireless_stick_lite.build.core=esp32 +wireless_stick_lite.build.variant=wireless_stick_lite +wireless_stick_lite.build.board=WIRELESS_STICK_LITE + +wireless_stick_lite.build.f_cpu=240000000L +wireless_stick_lite.build.flash_size=4MB +wireless_stick_lite.build.flash_freq=80m +wireless_stick_lite.build.flash_mode=dio +wireless_stick_lite.build.boot=dio +wireless_stick_lite.build.partitions=default +wireless_stick_lite.build.defines= + +wireless_stick_lite.menu.PSRAM.disabled=Disabled +wireless_stick_lite.menu.PSRAM.disabled.build.defines= +wireless_stick_lite.menu.PSRAM.enabled=Enabled +wireless_stick_lite.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue + +wireless_stick_lite.menu.CPUFreq.240=240MHz (WiFi/BT) +wireless_stick_lite.menu.CPUFreq.240.build.f_cpu=240000000L +wireless_stick_lite.menu.CPUFreq.160=160MHz (WiFi/BT) +wireless_stick_lite.menu.CPUFreq.160.build.f_cpu=160000000L +wireless_stick_lite.menu.CPUFreq.80=80MHz (WiFi/BT) +wireless_stick_lite.menu.CPUFreq.80.build.f_cpu=80000000L + +wireless_stick_lite.menu.UploadSpeed.921600=921600 +wireless_stick_lite.menu.UploadSpeed.921600.upload.speed=921600 +wireless_stick_lite.menu.UploadSpeed.115200=115200 +wireless_stick_lite.menu.UploadSpeed.115200.upload.speed=115200 +wireless_stick_lite.menu.UploadSpeed.256000.windows=256000 +wireless_stick_lite.menu.UploadSpeed.256000.upload.speed=256000 +wireless_stick_lite.menu.UploadSpeed.230400.windows.upload.speed=256000 +wireless_stick_lite.menu.UploadSpeed.230400=230400 +wireless_stick_lite.menu.UploadSpeed.230400.upload.speed=230400 +wireless_stick_lite.menu.UploadSpeed.460800.linux=460800 +wireless_stick_lite.menu.UploadSpeed.460800.macosx=460800 +wireless_stick_lite.menu.UploadSpeed.460800.upload.speed=460800 +wireless_stick_lite.menu.UploadSpeed.512000.windows=512000 +wireless_stick_lite.menu.UploadSpeed.512000.upload.speed=512000 + +wireless_stick_lite.menu.DebugLevel.none=None +wireless_stick_lite.menu.DebugLevel.none.build.code_debug=0 +wireless_stick_lite.menu.DebugLevel.error=Error +wireless_stick_lite.menu.DebugLevel.error.build.code_debug=1 +wireless_stick_lite.menu.DebugLevel.warn=Warn +wireless_stick_lite.menu.DebugLevel.warn.build.code_debug=2 +wireless_stick_lite.menu.DebugLevel.info=Info +wireless_stick_lite.menu.DebugLevel.info.build.code_debug=3 +wireless_stick_lite.menu.DebugLevel.debug=Debug +wireless_stick_lite.menu.DebugLevel.debug.build.code_debug=4 +wireless_stick_lite.menu.DebugLevel.verbose=Verbose +wireless_stick_lite.menu.DebugLevel.verbose.build.code_debug=5 + +wireless_stick_lite.menu.LORAWAN_REGION.0=REGION_EU868 +wireless_stick_lite.menu.LORAWAN_REGION.0.build.band=REGION_EU868 +wireless_stick_lite.menu.LORAWAN_REGION.1=REGION_EU433 +wireless_stick_lite.menu.LORAWAN_REGION.1.build.band=REGION_EU433 +wireless_stick_lite.menu.LORAWAN_REGION.2=REGION_CN470 +wireless_stick_lite.menu.LORAWAN_REGION.2.build.band=REGION_CN470 +wireless_stick_lite.menu.LORAWAN_REGION.3=REGION_US915 +wireless_stick_lite.menu.LORAWAN_REGION.3.build.band=REGION_US915 +wireless_stick_lite.menu.LORAWAN_REGION.4=REGION_AU915 +wireless_stick_lite.menu.LORAWAN_REGION.4.build.band=REGION_AU915 +wireless_stick_lite.menu.LORAWAN_REGION.5=REGION_CN779 +wireless_stick_lite.menu.LORAWAN_REGION.5.build.band=REGION_CN779 +wireless_stick_lite.menu.LORAWAN_REGION.6=REGION_AS923 +wireless_stick_lite.menu.LORAWAN_REGION.6.build.band=REGION_AS923 +wireless_stick_lite.menu.LORAWAN_REGION.7=REGION_KR920 +wireless_stick_lite.menu.LORAWAN_REGION.7.build.band=REGION_KR920 +wireless_stick_lite.menu.LORAWAN_REGION.8=REGION_IN865 +wireless_stick_lite.menu.LORAWAN_REGION.8.build.band=REGION_IN865 +wireless_stick_lite.menu.LORAWAN_REGION.9=REGION_US915_HYBRID +wireless_stick_lite.menu.LORAWAN_REGION.9.build.band=REGION_US915_HYBRID + +wireless_stick_lite.menu.LoRaWanDebugLevel.0=None +wireless_stick_lite.menu.LoRaWanDebugLevel.0.build.LoRaWanDebugLevel=0 +wireless_stick_lite.menu.LoRaWanDebugLevel.1=Freq +wireless_stick_lite.menu.LoRaWanDebugLevel.1.build.LoRaWanDebugLevel=1 +wireless_stick_lite.menu.LoRaWanDebugLevel.2=Freq && DIO +wireless_stick_lite.menu.LoRaWanDebugLevel.2.build.LoRaWanDebugLevel=2 +wireless_stick_lite.menu.LoRaWanDebugLevel.3=Freq && DIO && PW +wireless_stick_lite.menu.LoRaWanDebugLevel.3.build.LoRaWanDebugLevel=3 \ No newline at end of file diff --git a/esp32/platform.txt b/esp32/platform.txt index aad26366..71661adb 100644 --- a/esp32/platform.txt +++ b/esp32/platform.txt @@ -1,109 +1,109 @@ -name=ESP32 Arduino -version=0.0.1 - -runtime.tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32-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" -tools.esptool_py.network_cmd.windows="{runtime.platform.path}/tools/espota.exe" - -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.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 - -compiler.path={runtime.tools.xtensa-esp32-elf-gcc.path}/bin/ -compiler.sdk.path={runtime.platform.path}/tools/sdk -compiler.cpreprocessor.flags=-DESP_PLATFORM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-I{compiler.sdk.path}/include/config" "-I{compiler.sdk.path}/include/app_trace" "-I{compiler.sdk.path}/include/app_update" "-I{compiler.sdk.path}/include/asio" "-I{compiler.sdk.path}/include/bootloader_support" "-I{compiler.sdk.path}/include/bt" "-I{compiler.sdk.path}/include/coap" "-I{compiler.sdk.path}/include/console" "-I{compiler.sdk.path}/include/driver" "-I{compiler.sdk.path}/include/esp-tls" "-I{compiler.sdk.path}/include/esp32" "-I{compiler.sdk.path}/include/esp_adc_cal" "-I{compiler.sdk.path}/include/esp_event" "-I{compiler.sdk.path}/include/esp_http_client" "-I{compiler.sdk.path}/include/esp_http_server" "-I{compiler.sdk.path}/include/esp_https_ota" "-I{compiler.sdk.path}/include/esp_ringbuf" "-I{compiler.sdk.path}/include/ethernet" "-I{compiler.sdk.path}/include/expat" "-I{compiler.sdk.path}/include/fatfs" "-I{compiler.sdk.path}/include/freemodbus" "-I{compiler.sdk.path}/include/freertos" "-I{compiler.sdk.path}/include/heap" "-I{compiler.sdk.path}/include/idf_test" "-I{compiler.sdk.path}/include/jsmn" "-I{compiler.sdk.path}/include/json" "-I{compiler.sdk.path}/include/libsodium" "-I{compiler.sdk.path}/include/log" "-I{compiler.sdk.path}/include/lwip" "-I{compiler.sdk.path}/include/mbedtls" "-I{compiler.sdk.path}/include/mdns" "-I{compiler.sdk.path}/include/micro-ecc" "-I{compiler.sdk.path}/include/mqtt" "-I{compiler.sdk.path}/include/newlib" "-I{compiler.sdk.path}/include/nghttp" "-I{compiler.sdk.path}/include/nvs_flash" "-I{compiler.sdk.path}/include/openssl" "-I{compiler.sdk.path}/include/protobuf-c" "-I{compiler.sdk.path}/include/protocomm" "-I{compiler.sdk.path}/include/pthread" "-I{compiler.sdk.path}/include/sdmmc" "-I{compiler.sdk.path}/include/smartconfig_ack" "-I{compiler.sdk.path}/include/soc" "-I{compiler.sdk.path}/include/spi_flash" "-I{compiler.sdk.path}/include/spiffs" "-I{compiler.sdk.path}/include/tcp_transport" "-I{compiler.sdk.path}/include/tcpip_adapter" "-I{compiler.sdk.path}/include/ulp" "-I{compiler.sdk.path}/include/vfs" "-I{compiler.sdk.path}/include/wear_levelling" "-I{compiler.sdk.path}/include/wifi_provisioning" "-I{compiler.sdk.path}/include/wpa_supplicant" "-I{compiler.sdk.path}/include/xtensa-debug-module" "-I{compiler.sdk.path}/include/esp-face" "-I{compiler.sdk.path}/include/esp32-camera" "-I{compiler.sdk.path}/include/esp-face" "-I{compiler.sdk.path}/include/fb_gfx" - -compiler.c.cmd=xtensa-esp32-elf-gcc -compiler.c.flags=-std=gnu99 -Os -g3 -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -Wpointer-arith {compiler.warning_flags} -Wno-maybe-uninitialized -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -Wno-old-style-declaration -MMD -c - -compiler.cpp.cmd=xtensa-esp32-elf-g++ -compiler.cpp.flags=-std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib {compiler.warning_flags} -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -MMD -c - -compiler.S.cmd=xtensa-esp32-elf-gcc -compiler.S.flags=-c -g3 -x assembler-with-cpp -MMD -mlongcalls - -compiler.c.elf.cmd=xtensa-esp32-elf-gcc -compiler.c.elf.flags=-nostdlib "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" -T esp32_out.ld -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception -compiler.c.elf.libs=-lgcc -lesp32 -lphy -lesp_http_client -lmbedtls -lrtc -lesp_http_server -lbtdm_app -lspiffs -lbootloader_support -lmdns -lnvs_flash -lfatfs -lpp -lnet80211 -ljsmn -lface_detection -llibsodium -lvfs -ldl_lib -llog -lfreertos -lcxx -lsmartconfig_ack -lxtensa-debug-module -lheap -ltcpip_adapter -lmqtt -lulp -lfd -lfb_gfx -lnghttp -lprotocomm -lsmartconfig -lm -lethernet -limage_util -lc_nano -lsoc -ltcp_transport -lc -lmicro-ecc -lface_recognition -ljson -lwpa_supplicant -lmesh -lesp_https_ota -lwpa2 -lexpat -llwip -lwear_levelling -lapp_update -ldriver -lbt -lespnow -lcoap -lasio -lnewlib -lconsole -lapp_trace -lesp32-camera -lhal -lprotobuf-c -lsdmmc -lcore -lpthread -lcoexist -lfreemodbus -lspi_flash -lesp-tls -lwpa -lwifi_provisioning -lwps -lesp_adc_cal -lesp_event -lopenssl -lesp_ringbuf -lfr -lstdc++ - -compiler.as.cmd=xtensa-esp32-elf-as - -compiler.ar.cmd=xtensa-esp32-elf-ar -compiler.ar.flags=cru - -compiler.size.cmd=xtensa-esp32-elf-size - -# This can be overriden in boards.txt -build.flash_size=4MB -build.flash_mode=dio -build.boot=bootloader -build.code_debug=0 -build.defines= -build.extra_flags=-DESP32 -DCORE_DEBUG_LEVEL={build.code_debug} {build.defines} - -# These can be overridden in 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= - -# Build Dir: {build.path} -# Sketch Dir: {build.source.path} -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.path}/partitions.csv ] || cp {runtime.platform.path}/tools/partitions/{build.partitions}.csv {build.path}/partitions.csv" -recipe.hooks.prebuild.1.pattern.windows=cmd /c if exist "{build.source.path}\partitions.csv" copy /y "{build.source.path}\partitions.csv" "{build.path}\partitions.csv" -recipe.hooks.prebuild.2.pattern.windows=cmd /c if not exist "{build.path}\partitions.csv" copy "{runtime.platform.path}\tools\partitions\{build.partitions}.csv" "{build.path}\partitions.csv" - -## Compile c files -recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.flags} {compiler.c.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" -DARDUINO_VARIANT="{build.variant}" {compiler.c.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" - -## Compile c++ files -recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpreprocessor.flags} {compiler.cpp.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" -DARDUINO_VARIANT="{build.variant}" {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" - -## Compile S files -recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.flags} {compiler.S.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" -DARDUINO_VARIANT="{build.variant}" {compiler.S.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" - -## Create archives -recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}" - -## Combine gc-sections, archives, and objects -recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -Wl,--start-group {object_files} "{archive_file_path}" {compiler.c.elf.libs} -Wl,--end-group -Wl,-EL -o "{build.path}/{build.project_name}.elf" - -## Create eeprom -recipe.objcopy.eep.pattern={tools.gen_esp32part.cmd} -q "{build.path}/partitions.csv" "{build.path}/{build.project_name}.partitions.bin" - -## Create hex -recipe.objcopy.hex.pattern="{tools.esptool_py.path}/{tools.esptool_py.cmd}" --chip esp32 elf2image --flash_mode "{build.flash_mode}" --flash_freq "{build.flash_freq}" --flash_size "{build.flash_size}" -o "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.elf" -recipe.objcopy.hex.pattern.linux=python "{tools.esptool_py.path}/{tools.esptool_py.cmd}" --chip esp32 elf2image --flash_mode "{build.flash_mode}" --flash_freq "{build.flash_freq}" --flash_size "{build.flash_size}" -o "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.elf" - -## Save hex -recipe.output.tmp_file={build.project_name}.bin -recipe.output.save_file={build.project_name}.{build.variant}.bin - -## Compute size -recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.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.esptool_py.upload.protocol=esp32 -tools.esptool_py.upload.params.verbose= -tools.esptool_py.upload.params.quiet= -tools.esptool_py.upload.pattern="{path}/{cmd}" --chip esp32 --port "{serial.port}" --baud {upload.speed} --before default_reset --after hard_reset write_flash -z --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size detect 0xe000 "{runtime.platform.path}/tools/partitions/boot_app0.bin" 0x1000 "{runtime.platform.path}/tools/sdk/bin/bootloader_{build.boot}_{build.flash_freq}.bin" 0x10000 "{build.path}/{build.project_name}.bin" 0x8000 "{build.path}/{build.project_name}.partitions.bin" -tools.esptool_py.upload.pattern.linux=python "{path}/{cmd}" --chip esp32 --port "{serial.port}" --baud {upload.speed} --before default_reset --after hard_reset write_flash -z --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size detect 0xe000 "{runtime.platform.path}/tools/partitions/boot_app0.bin" 0x1000 "{runtime.platform.path}/tools/sdk/bin/bootloader_{build.boot}_{build.flash_freq}.bin" 0x10000 "{build.path}/{build.project_name}.bin" 0x8000 "{build.path}/{build.project_name}.partitions.bin" -tools.esptool_py.upload.network_pattern={network_cmd} -i "{serial.port}" -p "{network.port}" "--auth={network.password}" -f "{build.path}/{build.project_name}.bin" +name=ESP32 Arduino +version=0.0.1 + +runtime.tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32-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" +tools.esptool_py.network_cmd.windows="{runtime.platform.path}/tools/espota.exe" + +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.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 + +compiler.path={runtime.tools.xtensa-esp32-elf-gcc.path}/bin/ +compiler.sdk.path={runtime.platform.path}/tools/sdk +compiler.cpreprocessor.flags=-DESP_PLATFORM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -D{build.band} -DLoRaWAN_DEBUG_LEVEL={build.LoRaWanDebugLevel} -DACTIVE_REGION=LORAMAC_{build.band} -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-I{compiler.sdk.path}/include/config" "-I{compiler.sdk.path}/include/app_trace" "-I{compiler.sdk.path}/include/app_update" "-I{compiler.sdk.path}/include/asio" "-I{compiler.sdk.path}/include/bootloader_support" "-I{compiler.sdk.path}/include/bt" "-I{compiler.sdk.path}/include/coap" "-I{compiler.sdk.path}/include/console" "-I{compiler.sdk.path}/include/driver" "-I{compiler.sdk.path}/include/esp-tls" "-I{compiler.sdk.path}/include/esp32" "-I{compiler.sdk.path}/include/esp_adc_cal" "-I{compiler.sdk.path}/include/esp_event" "-I{compiler.sdk.path}/include/esp_http_client" "-I{compiler.sdk.path}/include/esp_http_server" "-I{compiler.sdk.path}/include/esp_https_ota" "-I{compiler.sdk.path}/include/esp_ringbuf" "-I{compiler.sdk.path}/include/ethernet" "-I{compiler.sdk.path}/include/expat" "-I{compiler.sdk.path}/include/fatfs" "-I{compiler.sdk.path}/include/freemodbus" "-I{compiler.sdk.path}/include/freertos" "-I{compiler.sdk.path}/include/heap" "-I{compiler.sdk.path}/include/idf_test" "-I{compiler.sdk.path}/include/jsmn" "-I{compiler.sdk.path}/include/json" "-I{compiler.sdk.path}/include/libsodium" "-I{compiler.sdk.path}/include/log" "-I{compiler.sdk.path}/include/lwip" "-I{compiler.sdk.path}/include/mbedtls" "-I{compiler.sdk.path}/include/mdns" "-I{compiler.sdk.path}/include/micro-ecc" "-I{compiler.sdk.path}/include/mqtt" "-I{compiler.sdk.path}/include/newlib" "-I{compiler.sdk.path}/include/nghttp" "-I{compiler.sdk.path}/include/nvs_flash" "-I{compiler.sdk.path}/include/openssl" "-I{compiler.sdk.path}/include/protobuf-c" "-I{compiler.sdk.path}/include/protocomm" "-I{compiler.sdk.path}/include/pthread" "-I{compiler.sdk.path}/include/sdmmc" "-I{compiler.sdk.path}/include/smartconfig_ack" "-I{compiler.sdk.path}/include/soc" "-I{compiler.sdk.path}/include/spi_flash" "-I{compiler.sdk.path}/include/spiffs" "-I{compiler.sdk.path}/include/tcp_transport" "-I{compiler.sdk.path}/include/tcpip_adapter" "-I{compiler.sdk.path}/include/ulp" "-I{compiler.sdk.path}/include/vfs" "-I{compiler.sdk.path}/include/wear_levelling" "-I{compiler.sdk.path}/include/wifi_provisioning" "-I{compiler.sdk.path}/include/wpa_supplicant" "-I{compiler.sdk.path}/include/xtensa-debug-module" "-I{compiler.sdk.path}/include/esp-face" "-I{compiler.sdk.path}/include/esp32-camera" "-I{compiler.sdk.path}/include/esp-face" "-I{compiler.sdk.path}/include/fb_gfx" + +compiler.c.cmd=xtensa-esp32-elf-gcc +compiler.c.flags=-std=gnu99 -Os -g3 -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -Wpointer-arith {compiler.warning_flags} -Wno-maybe-uninitialized -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -Wno-old-style-declaration -MMD -c + +compiler.cpp.cmd=xtensa-esp32-elf-g++ +compiler.cpp.flags=-std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib {compiler.warning_flags} -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -MMD -c + +compiler.S.cmd=xtensa-esp32-elf-gcc +compiler.S.flags=-c -g3 -x assembler-with-cpp -MMD -mlongcalls + +compiler.c.elf.cmd=xtensa-esp32-elf-gcc +compiler.c.elf.flags=-nostdlib "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" -T esp32_out.ld -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception +compiler.c.elf.libs=-lgcc -lesp32 -lphy -lesp_http_client -lmbedtls -lrtc -lesp_http_server -lbtdm_app -lspiffs -lbootloader_support -lmdns -lnvs_flash -lfatfs -lpp -lnet80211 -ljsmn -lface_detection -llibsodium -lvfs -ldl_lib -llog -lfreertos -lcxx -lsmartconfig_ack -lxtensa-debug-module -lheap -ltcpip_adapter -lmqtt -lulp -lfd -lfb_gfx -lnghttp -lprotocomm -lsmartconfig -lm -lethernet -limage_util -lc_nano -lsoc -ltcp_transport -lc -lmicro-ecc -lface_recognition -ljson -lwpa_supplicant -lmesh -lesp_https_ota -lwpa2 -lexpat -llwip -lwear_levelling -lapp_update -ldriver -lbt -lespnow -lcoap -lasio -lnewlib -lconsole -lapp_trace -lesp32-camera -lhal -lprotobuf-c -lsdmmc -lcore -lpthread -lcoexist -lfreemodbus -lspi_flash -lesp-tls -lwpa -lwifi_provisioning -lwps -lesp_adc_cal -lesp_event -lopenssl -lesp_ringbuf -lfr -lstdc++ + +compiler.as.cmd=xtensa-esp32-elf-as + +compiler.ar.cmd=xtensa-esp32-elf-ar +compiler.ar.flags=cru + +compiler.size.cmd=xtensa-esp32-elf-size + +# This can be overriden in boards.txt +build.flash_size=4MB +build.flash_mode=dio +build.boot=bootloader +build.code_debug=0 +build.defines= +build.extra_flags=-DESP32 -DCORE_DEBUG_LEVEL={build.code_debug} {build.defines} + +# These can be overridden in 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= + +# Build Dir: {build.path} +# Sketch Dir: {build.source.path} +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.path}/partitions.csv ] || cp {runtime.platform.path}/tools/partitions/{build.partitions}.csv {build.path}/partitions.csv" +recipe.hooks.prebuild.1.pattern.windows=cmd /c if exist "{build.source.path}\partitions.csv" copy /y "{build.source.path}\partitions.csv" "{build.path}\partitions.csv" +recipe.hooks.prebuild.2.pattern.windows=cmd /c if not exist "{build.path}\partitions.csv" copy "{runtime.platform.path}\tools\partitions\{build.partitions}.csv" "{build.path}\partitions.csv" + +## Compile c files +recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.flags} {compiler.c.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" -DARDUINO_VARIANT="{build.variant}" {compiler.c.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" + +## Compile c++ files +recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpreprocessor.flags} {compiler.cpp.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" -DARDUINO_VARIANT="{build.variant}" {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" + +## Compile S files +recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.flags} {compiler.S.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" -DARDUINO_VARIANT="{build.variant}" {compiler.S.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" + +## Create archives +recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}" + +## Combine gc-sections, archives, and objects +recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -Wl,--start-group {object_files} "{archive_file_path}" {compiler.c.elf.libs} -Wl,--end-group -Wl,-EL -o "{build.path}/{build.project_name}.elf" + +## Create eeprom +recipe.objcopy.eep.pattern={tools.gen_esp32part.cmd} -q "{build.path}/partitions.csv" "{build.path}/{build.project_name}.partitions.bin" + +## Create hex +recipe.objcopy.hex.pattern="{tools.esptool_py.path}/{tools.esptool_py.cmd}" --chip esp32 elf2image --flash_mode "{build.flash_mode}" --flash_freq "{build.flash_freq}" --flash_size "{build.flash_size}" -o "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.elf" +recipe.objcopy.hex.pattern.linux=python "{tools.esptool_py.path}/{tools.esptool_py.cmd}" --chip esp32 elf2image --flash_mode "{build.flash_mode}" --flash_freq "{build.flash_freq}" --flash_size "{build.flash_size}" -o "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.elf" + +## Save hex +recipe.output.tmp_file={build.project_name}.bin +recipe.output.save_file={build.project_name}.{build.variant}.bin + +## Compute size +recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.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.esptool_py.upload.protocol=esp32 +tools.esptool_py.upload.params.verbose= +tools.esptool_py.upload.params.quiet= +tools.esptool_py.upload.pattern="{path}/{cmd}" --chip esp32 --port "{serial.port}" --baud {upload.speed} --before default_reset --after hard_reset write_flash -z --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size detect 0xe000 "{runtime.platform.path}/tools/partitions/boot_app0.bin" 0x1000 "{runtime.platform.path}/tools/sdk/bin/bootloader_{build.boot}_{build.flash_freq}.bin" 0x10000 "{build.path}/{build.project_name}.bin" 0x8000 "{build.path}/{build.project_name}.partitions.bin" +tools.esptool_py.upload.pattern.linux=python "{path}/{cmd}" --chip esp32 --port "{serial.port}" --baud {upload.speed} --before default_reset --after hard_reset write_flash -z --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size detect 0xe000 "{runtime.platform.path}/tools/partitions/boot_app0.bin" 0x1000 "{runtime.platform.path}/tools/sdk/bin/bootloader_{build.boot}_{build.flash_freq}.bin" 0x10000 "{build.path}/{build.project_name}.bin" 0x8000 "{build.path}/{build.project_name}.partitions.bin" +tools.esptool_py.upload.network_pattern={network_cmd} -i "{serial.port}" -p "{network.port}" "--auth={network.password}" -f "{build.path}/{build.project_name}.bin"