├── .gitignore ├── examples ├── arduino-blink │ ├── .gitignore │ ├── test │ │ └── README │ ├── src │ │ └── Blink.cpp │ └── README.md ├── espidf-aws-iot │ ├── .gitignore │ ├── src │ │ ├── certs │ │ │ ├── certificate.pem.crt │ │ │ ├── private.pem.key │ │ │ └── README.md │ │ └── CMakeLists.txt │ ├── components │ │ └── esp-aws-iot │ │ │ ├── examples │ │ │ ├── thing_shadow │ │ │ │ ├── sdkconfig.ci │ │ │ │ ├── main │ │ │ │ │ ├── certs │ │ │ │ │ │ └── README.md │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── component.mk │ │ │ │ ├── Makefile │ │ │ │ ├── sdkconfig.defaults │ │ │ │ └── CMakeLists.txt │ │ │ └── subscribe_publish │ │ │ │ ├── sdkconfig.ci │ │ │ │ ├── main │ │ │ │ ├── certs │ │ │ │ │ └── README.md │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── component.mk │ │ │ │ ├── Makefile │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── sdkconfig.defaults │ │ │ ├── .gitmodules │ │ │ ├── aws-iot-device-sdk-embedded-C │ │ │ ├── doc │ │ │ │ ├── architecture.png │ │ │ │ └── config │ │ │ │ │ ├── mqtt │ │ │ │ │ └── main │ │ │ ├── external_libs │ │ │ │ ├── CppUTest │ │ │ │ │ └── README.txt │ │ │ │ └── mbedTLS │ │ │ │ │ └── README.txt │ │ │ ├── CODE_OF_CONDUCT.md │ │ │ ├── certs │ │ │ │ └── README.txt │ │ │ ├── tests │ │ │ │ └── unit │ │ │ │ │ ├── tls_mock │ │ │ │ │ └── network_platform.h │ │ │ │ │ ├── src │ │ │ │ │ └── aws_iot_tests_unit_runner.cpp │ │ │ │ │ └── README.md │ │ │ ├── NOTICE.txt │ │ │ ├── .gitignore │ │ │ └── include │ │ │ │ └── aws_iot_shadow_key.h │ │ │ ├── .gitignore │ │ │ ├── component.mk │ │ │ └── README.md │ ├── CMakeLists.txt │ ├── sdkconfig.defaults │ ├── test │ │ └── README │ ├── README.md │ └── platformio.ini ├── espidf-blink │ ├── .gitignore │ ├── src │ │ └── CMakeLists.txt │ ├── CMakeLists.txt │ ├── test │ │ └── README │ ├── platformio.ini │ └── README.md ├── espidf-ulp-adc │ ├── .gitignore │ ├── CMakeLists.txt │ ├── sdkconfig.defaults │ ├── platformio.ini │ ├── test │ │ └── README │ ├── README.md │ └── main │ │ └── CMakeLists.txt ├── arduino-wifiscan │ ├── .gitignore │ ├── test │ │ └── README │ ├── README.md │ └── platformio.ini ├── espidf-coap-server │ ├── .gitignore │ ├── src │ │ ├── CMakeLists.txt │ │ └── certs │ │ │ ├── coap_server.key │ │ │ └── coap_server.crt │ ├── sdkconfig.defaults │ ├── CMakeLists.txt │ ├── test │ │ └── README │ ├── platformio.ini │ └── README.md ├── espidf-exceptions │ ├── .gitignore │ ├── src │ │ └── CMakeLists.txt │ ├── sdkconfig.defaults │ ├── CMakeLists.txt │ ├── test │ │ └── README │ ├── platformio.ini │ └── README.md ├── espidf-hello-world │ ├── .gitignore │ ├── src │ │ └── CMakeLists.txt │ ├── test │ │ ├── test_dummy │ │ │ └── test_dummy.c │ │ └── README │ ├── CMakeLists.txt │ ├── platformio.ini │ └── README.md ├── espidf-http-request │ ├── .gitignore │ ├── sdkconfig.defaults │ ├── src │ │ └── CMakeLists.txt │ ├── CMakeLists.txt │ ├── test │ │ └── README │ ├── platformio.ini │ └── README.md ├── espidf-ulp-pulse │ ├── .gitignore │ ├── CMakeLists.txt │ ├── sdkconfig.defaults │ ├── platformio.ini │ ├── ulp │ │ └── wake_up.S │ ├── test │ │ └── README │ ├── README.md │ └── src │ │ └── CMakeLists.txt ├── arduino-ble5-advertising │ ├── .gitignore │ ├── platformio.ini │ ├── test │ │ └── README │ └── README.md ├── arduino-usb-keyboard │ ├── .gitignore │ ├── test │ │ └── README │ ├── platformio.ini │ ├── README.md │ └── src │ │ └── KeyboardSerial.ino ├── espidf-arduino-blink │ ├── .gitignore │ ├── src │ │ └── CMakeLists.txt │ ├── CMakeLists.txt │ ├── sdkconfig.defaults │ ├── test │ │ └── README │ ├── platformio.ini │ └── README.md ├── espidf-arduino-wifiscan │ ├── .gitignore │ ├── src │ │ └── CMakeLists.txt │ ├── CMakeLists.txt │ ├── sdkconfig.defaults │ ├── test │ │ └── README │ ├── platformio.ini │ └── README.md ├── espidf-ble-eddystone │ ├── .gitignore │ ├── src │ │ └── CMakeLists.txt │ ├── sdkconfig.defaults │ ├── CMakeLists.txt │ ├── platformio.ini │ ├── test │ │ └── README │ └── README.md ├── espidf-peripherals-uart │ ├── .gitignore │ ├── src │ │ └── CMakeLists.txt │ ├── CMakeLists.txt │ ├── test │ │ └── README │ ├── platformio.ini │ └── README.md ├── espidf-peripherals-usb │ ├── .gitignore │ ├── src │ │ ├── CMakeLists.txt │ │ └── Kconfig.projbuild │ ├── sdkconfig.defaults │ ├── CMakeLists.txt │ ├── test │ │ └── README │ ├── platformio.ini │ └── README.md ├── espidf-storage-sdcard │ ├── .gitignore │ ├── src │ │ └── CMakeLists.txt │ ├── CMakeLists.txt │ ├── test │ │ └── README │ ├── platformio.ini │ └── README.md ├── espidf-storage-spiffs │ ├── .gitignore │ ├── data │ │ └── hello.txt │ ├── src │ │ └── CMakeLists.txt │ ├── sdkconfig.defaults │ ├── CMakeLists.txt │ ├── partitions_example.csv │ ├── test │ │ └── README │ ├── platformio.ini │ └── README.md └── arduino-briki-internal-libs │ ├── .gitignore │ ├── test │ └── README │ ├── platformio.ini │ └── README.md ├── .github ├── FUNDING.yml ├── stale.yml └── workflows │ └── tests.yml └── boards ├── esp32-s2-franzininho.json ├── etboard.json ├── widora-air.json ├── m5stick-c.json ├── magicbit.json ├── pycom_gpy.json ├── bpi-bit.json ├── inex_openkb.json ├── m5stack-atom.json ├── quantum.json ├── turta_iot_node.json ├── wifiduino32.json ├── m5stack-coreink.json ├── mgbot-iotik32a.json ├── mgbot-iotik32b.json ├── nano32.json ├── piranha_esp32.json ├── espea32.json ├── m5stack-grey.json ├── healthypi4.json ├── m5stack-core-esp32.json ├── microduino-core-esp32.json ├── s_odi_ultra.json ├── cnrs_aw2eth.json ├── intorobot.json ├── kits-edu.json ├── esp32-pro.json ├── esp320.json ├── lopy.json ├── sparkfun_esp32micromod.json ├── ttgo-t7-v13-mini32.json ├── imbrios-logsens-v1p1.json ├── iotaap_magnolia.json ├── lopy4.json ├── nodemcu-32s2.json ├── wipy3.json ├── labplus_mpython.json ├── lolin32_lite.json ├── node32s.json ├── oroca_edubot.json ├── heltec_wifi_kit_32.json ├── qchip.json ├── onehorse32dev.json ├── ttgo-t1.json ├── wemos_d1_uno32.json ├── wesp32.json ├── denky_d4.json ├── m5stack-core2.json ├── nina_w10.json ├── nodemcu-32s.json ├── esp32doit-espduino.json ├── lolin_d32.json ├── wemos_d1_mini32.json ├── xinabox_cw02.json ├── alksesp32.json ├── esp32vn-iot-uno.json ├── honeylemon.json ├── lolin32.json ├── pocket_32.json ├── wemosbat.json ├── esp32-poe.json ├── esp32doit-devkit-v1.json ├── espectro32.json ├── esp32dev.json ├── heltec_wireless_stick_lite.json ├── ttgo-t-oi-plus.json ├── fm-devkit.json ├── featheresp32.json ├── watchy.json ├── d-duino-32.json ├── esp32-poe-iso.json ├── esp32thing.json ├── mhetesp32devkit.json ├── odroid_esp32.json ├── ttgo-lora32-v2.json ├── heltec_wifi_lora_32.json ├── hornbill32dev.json ├── mhetesp32minikit.json ├── ttgo-lora32-v1.json ├── esp32-s2-saola-1.json ├── heltec_wifi_kit_32_v2.json ├── ttgo-lora32-v21.json ├── esp32-c3-devkitm-1.json ├── hornbill32minima.json ├── pico32.json ├── ttgo-t-beam.json ├── airm2m_core_esp32c3.json ├── firebeetle32.json ├── sensesiot_weizen.json ├── sg-o_airMon.json ├── az-delivery-devkit-v4.json ├── frogboard.json ├── upesy_wroom.json ├── espino32.json ├── nscreen-32.json ├── sparkfun_lora_gateway_1-channel.json ├── trueverit-iot-driver.json ├── ttgo-t7-v14-mini32.json ├── lolin_d32_pro.json ├── wt32-eth01.json ├── esp32-evb.json ├── denky32.json ├── tinypico.json ├── trueverit-iot-driver-mk2.json ├── m5stack-timer-cam.json ├── esp32-gateway.json ├── esp32-s2-kaluga-1.json ├── esp32cam.json ├── esp32thing_plus.json ├── trueverit-iot-driver-mk3.json ├── iotbusio.json ├── vintlabs-devkit-v1.json ├── heltec_wifi_lora_32_V2.json ├── heltec_wireless_stick.json ├── esp32-devkitlipo.json ├── m5stack-fire.json ├── briki_abc_esp32.json ├── briki_mbc-wb_esp32.json ├── ttgo-t-watch.json ├── kb32-ft.json ├── deneyapkart.json ├── iotbusproteus.json ├── deneyapkart1A.json ├── lolin_c3_mini.json ├── sparkfun_esp32s2_thing_plus.json ├── deneyapmini.json ├── lionbit.json └── adafruit_qtpy_esp32.json /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | -------------------------------------------------------------------------------- /examples/arduino-blink/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-blink/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-ulp-adc/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/arduino-wifiscan/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-coap-server/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-exceptions/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-hello-world/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-http-request/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-ulp-pulse/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/arduino-ble5-advertising/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/arduino-usb-keyboard/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-arduino-blink/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-arduino-wifiscan/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-ble-eddystone/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-peripherals-uart/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-peripherals-usb/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-storage-sdcard/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/espidf-storage-spiffs/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /examples/arduino-briki-internal-libs/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: https://platformio.org/donate 2 | -------------------------------------------------------------------------------- /examples/espidf-storage-spiffs/data/hello.txt: -------------------------------------------------------------------------------- 1 | Hello World from SPIFFS. 2 | -------------------------------------------------------------------------------- /examples/espidf-arduino-blink/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "Blink.cpp") -------------------------------------------------------------------------------- /examples/espidf-arduino-wifiscan/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.cpp") -------------------------------------------------------------------------------- /examples/espidf-blink/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "blink.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/espidf-aws-iot/src/certs/certificate.pem.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | DUMMY CONTENT 3 | -----END CERTIFICATE----- -------------------------------------------------------------------------------- /examples/espidf-aws-iot/src/certs/private.pem.key: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | DUMMY CONTENT 3 | -----END CERTIFICATE----- -------------------------------------------------------------------------------- /examples/espidf-http-request/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_EXAMPLE_WIFI_SSID="MYSSID" 2 | CONFIG_EXAMPLE_WIFI_PASSWORD="MYPASS" 3 | -------------------------------------------------------------------------------- /examples/espidf-hello-world/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "hello_world_main.c" 2 | INCLUDE_DIRS "") -------------------------------------------------------------------------------- /examples/espidf-exceptions/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "exception_example_main.cpp" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/espidf-storage-sdcard/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "sd_card_example_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/espidf-storage-spiffs/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "spiffs_example_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/espidf-coap-server/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "coap_server_example_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/espidf-http-request/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "http_request_example_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/espidf-peripherals-uart/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "uart_echo_example_main.c" 2 | INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /examples/espidf-peripherals-usb/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "tusb_sample_descriptor_main.c" 2 | INCLUDE_DIRS .) 3 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/src/certs/README.md: -------------------------------------------------------------------------------- 1 | Copy certificate files for AWS IoT SDK example here 2 | 3 | See README.md in main example directory for details. 4 | -------------------------------------------------------------------------------- /examples/espidf-blink/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.16.0) 2 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 3 | project(espidf-blink) 4 | -------------------------------------------------------------------------------- /examples/espidf-ulp-pulse/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.16.0) 2 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 3 | project(espidf-ulp-pulse-new) 4 | -------------------------------------------------------------------------------- /examples/espidf-arduino-blink/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.16.0) 2 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 3 | project(espidf-arduino-wifiscan) 4 | -------------------------------------------------------------------------------- /examples/espidf-arduino-wifiscan/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.16.0) 2 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 3 | project(espidf-arduino-wifiscan) 4 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/thing_shadow/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | # For CI build example assuming certificates stored on sdcard 2 | CONFIG_EXAMPLE_SDCARD_CERTS=y 3 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/subscribe_publish/sdkconfig.ci: -------------------------------------------------------------------------------- 1 | # For CI build example assuming certificates stored on sdcard 2 | CONFIG_EXAMPLE_SDCARD_CERTS=y 3 | -------------------------------------------------------------------------------- /examples/espidf-coap-server/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_MBEDTLS_SSL_PROTO_DTLS=y 2 | CONFIG_MBEDTLS_PSK_MODES=y 3 | CONFIG_MBEDTLS_KEY_EXCHANGE_PSK=y 4 | CONFIG_LWIP_NETBUF_RECVINFO=y 5 | -------------------------------------------------------------------------------- /examples/espidf-ble-eddystone/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_eddystone_api.c" 2 | "esp_eddystone_demo.c" 3 | INCLUDE_DIRS "") -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/thing_shadow/main/certs/README.md: -------------------------------------------------------------------------------- 1 | Copy certificate files for AWS IoT SDK example here 2 | 3 | See README.md in main example directory for details. 4 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/subscribe_publish/main/certs/README.md: -------------------------------------------------------------------------------- 1 | Copy certificate files for AWS IoT SDK example here 2 | 3 | See README.md in main example directory for details. 4 | -------------------------------------------------------------------------------- /examples/espidf-arduino-blink/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_AUTOSTART_ARDUINO=y 2 | # CONFIG_WS2812_LED_ENABLE is not set 3 | CONFIG_FREERTOS_HZ=1000 4 | CONFIG_MBEDTLS_PSK_MODES=y 5 | CONFIG_MBEDTLS_KEY_EXCHANGE_PSK=y 6 | -------------------------------------------------------------------------------- /examples/espidf-coap-server/src/certs/coap_server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCCLBQT66xp2w4+1K+Ai 3 | /TXEC8tQZBxl9brFyK4F7AQNGw== 4 | -----END PRIVATE KEY----- 5 | -------------------------------------------------------------------------------- /examples/espidf-exceptions/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # Enable C++ exceptions and set emergency pool size for exception objects 2 | CONFIG_COMPILER_CXX_EXCEPTIONS=y 3 | CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE=1024 4 | -------------------------------------------------------------------------------- /examples/espidf-storage-spiffs/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_PARTITION_TABLE_CUSTOM=y 2 | CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_example.csv" 3 | CONFIG_PARTITION_TABLE_FILENAME="partitions_example.csv" 4 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "aws-iot-device-sdk-embedded-C"] 2 | path = aws-iot-device-sdk-embedded-C 3 | url = https://github.com/espressif/aws-iot-device-sdk-embedded-C.git 4 | -------------------------------------------------------------------------------- /examples/espidf-peripherals-usb/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_TINYUSB=y 2 | CONFIG_TINYUSB_DESC_USE_ESPRESSIF_VID=n 3 | CONFIG_TINYUSB_DESC_CUSTOM_VID=0x303A 4 | CONFIG_TINYUSB_DESC_USE_DEFAULT_PID=n 5 | CONFIG_TINYUSB_DESC_CUSTOM_PID=0x3000 6 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/doc/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handledexception/platform-espressif32/HEAD/examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/doc/architecture.png -------------------------------------------------------------------------------- /examples/espidf-hello-world/test/test_dummy/test_dummy.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void test_dummy(void) 4 | { 5 | TEST_ASSERT_EQUAL(1, 1); 6 | } 7 | 8 | void app_main() 9 | { 10 | UNITY_BEGIN(); 11 | 12 | RUN_TEST(test_dummy); 13 | 14 | UNITY_END(); 15 | } -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | 3 | # Example project files 4 | examples/**/sdkconfig 5 | examples/**/sdkconfig.old 6 | examples/**/build 7 | 8 | # AWS IoT Examples require device-specific certs/keys 9 | examples/*/main/certs/*.pem.* 10 | -------------------------------------------------------------------------------- /examples/espidf-ble-eddystone/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # Override some defaults so BT stack is enabled 2 | # and WiFi disabled by default in this example 3 | CONFIG_BT_ENABLED=y 4 | CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y 5 | CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=n 6 | CONFIG_BTDM_CTRL_MODE_BTDM=n 7 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/external_libs/CppUTest/README.txt: -------------------------------------------------------------------------------- 1 | # Copy source code for CppUTest into this directory 2 | # The SDK was tested internally with CppUTest v3.6 which can be found here - https://github.com/cpputest/cpputest/releases/tag/v3.6 -------------------------------------------------------------------------------- /examples/espidf-hello-world/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(hello-world) -------------------------------------------------------------------------------- /examples/espidf-ulp-adc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(ulp-adc-example) -------------------------------------------------------------------------------- /examples/espidf-aws-iot/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(subscribe_publish) 7 | -------------------------------------------------------------------------------- /examples/espidf-storage-sdcard/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(sd_card) 7 | -------------------------------------------------------------------------------- /examples/espidf-storage-spiffs/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(spiffs) 7 | -------------------------------------------------------------------------------- /examples/espidf-peripherals-uart/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(uart_echo) 7 | -------------------------------------------------------------------------------- /examples/espidf-ble-eddystone/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(ble_eddystone_demo) 7 | -------------------------------------------------------------------------------- /examples/espidf-exceptions/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(cpp_exceptions_example) 7 | -------------------------------------------------------------------------------- /examples/espidf-arduino-wifiscan/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_AUTOSTART_ARDUINO=y 2 | # CONFIG_WS2812_LED_ENABLE is not set 3 | CONFIG_FREERTOS_HZ=1000 4 | CONFIG_MBEDTLS_PSK_MODES=y 5 | CONFIG_MBEDTLS_KEY_EXCHANGE_PSK=y 6 | # Example config 7 | CONFIG_EXAMPLE_WIFI_SSID="MYSSID" 8 | CONFIG_EXAMPLE_WIFI_PASSWORD="MYPASS" 9 | -------------------------------------------------------------------------------- /examples/espidf-peripherals-usb/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following five lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(tusb_sample_descriptor) 7 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/thing_shadow/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := thing_shadow 7 | 8 | EXTRA_COMPONENT_DIRS := $(realpath ../..) 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Component Makefile 3 | # 4 | 5 | COMPONENT_ADD_INCLUDEDIRS := port/include aws-iot-device-sdk-embedded-C/include 6 | 7 | COMPONENT_SRCDIRS := aws-iot-device-sdk-embedded-C/src port 8 | 9 | # Check the submodule is initialised 10 | COMPONENT_SUBMODULES := aws-iot-device-sdk-embedded-C 11 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/subscribe_publish/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This is a project Makefile. It is assumed the directory this Makefile resides in is a 3 | # project subdirectory. 4 | # 5 | 6 | PROJECT_NAME := subscribe_publish 7 | 8 | EXTRA_COMPONENT_DIRS := $(realpath ../..) 9 | 10 | include $(IDF_PATH)/make/project.mk 11 | 12 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/thing_shadow/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # Enable FATFS read only with long filename support 2 | # for loading Cert/CA/etc from filesystem 3 | # (if enabled in config) 4 | CONFIG_FATFS_CODEPAGE_437=y 5 | CONFIG_FATFS_LFN_HEAP=y 6 | 7 | # Enable TLS asymmetric in/out content length 8 | CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y 9 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/thing_shadow/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | set (EXTRA_COMPONENT_DIRS "../..") 7 | project(thing_shadow) 8 | -------------------------------------------------------------------------------- /examples/espidf-storage-spiffs/partitions_example.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 1M, 6 | spiffs, data, spiffs, , 0xF0000, 7 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/subscribe_publish/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | set (EXTRA_COMPONENT_DIRS "../..") 7 | project(subscribe_publish) 8 | -------------------------------------------------------------------------------- /examples/espidf-peripherals-usb/src/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Example Configuration" 2 | 3 | config EXAMPLE_MANUAL_DESC 4 | bool "Set up a USB descriptor manually in code" 5 | default y 6 | help 7 | You can set up a descriptor using Menuconfig or independently of 8 | your project configuration - manually in code 9 | 10 | endmenu 11 | -------------------------------------------------------------------------------- /examples/espidf-ulp-adc/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # Enable ULP 2 | CONFIG_ESP32_ULP_COPROC_ENABLED=y 3 | CONFIG_ESP32_ULP_COPROC_RESERVE_MEM=1024 4 | # Set log level to Warning to produce clean output 5 | CONFIG_BOOTLOADER_LOG_LEVEL_WARN=y 6 | CONFIG_BOOTLOADER_LOG_LEVEL=2 7 | CONFIG_LOG_DEFAULT_LEVEL_WARN=y 8 | CONFIG_LOG_DEFAULT_LEVEL=2 9 | CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP=y 10 | -------------------------------------------------------------------------------- /examples/espidf-ulp-pulse/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # Enable ULP 2 | CONFIG_ESP32_ULP_COPROC_ENABLED=y 3 | CONFIG_ESP32_ULP_COPROC_RESERVE_MEM=1024 4 | # Set log level to Warning to produce clean output 5 | CONFIG_BOOTLOADER_LOG_LEVEL_WARN=y 6 | CONFIG_BOOTLOADER_LOG_LEVEL=2 7 | CONFIG_LOG_DEFAULT_LEVEL_WARN=y 8 | CONFIG_LOG_DEFAULT_LEVEL=2 9 | CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP=y 10 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Code of Conduct 2 | This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). 3 | For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact 4 | opensource-codeofconduct@amazon.com with any additional questions or comments. 5 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/subscribe_publish/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # Enable FATFS read only with long filename support 2 | # for loading Cert/CA/etc from filesystem 3 | # (if enabled in config) 4 | CONFIG_FATFS_READONLY=y 5 | CONFIG_FATFS_CODEPAGE_437=y 6 | CONFIG_FATFS_LFN_HEAP=y 7 | 8 | # Enable TLS asymmetric in/out content length 9 | CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y 10 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "subscribe_publish_sample.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | 5 | register_component() 6 | 7 | if(CONFIG_EXAMPLE_EMBEDDED_CERTS) 8 | target_add_binary_data(${COMPONENT_TARGET} "certs/aws-root-ca.pem" TEXT) 9 | target_add_binary_data(${COMPONENT_TARGET} "certs/certificate.pem.crt" TEXT) 10 | target_add_binary_data(${COMPONENT_TARGET} "certs/private.pem.key" TEXT) 11 | endif() 12 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # Enable FATFS read only with long filename support 2 | # for loading Cert/CA/etc from filesystem 3 | # (if enabled in config) 4 | CONFIG_FATFS_READONLY=y 5 | CONFIG_FATFS_CODEPAGE_437=y 6 | CONFIG_FATFS_LFN_HEAP=y 7 | 8 | # Enable TLS asymmetric in/out content length 9 | CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y 10 | 11 | # Example configs 12 | CONFIG_EXAMPLE_WIFI_SSID="MYSSID" 13 | CONFIG_EXAMPLE_WIFI_PASSWORD="MYPASS" 14 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/certs/README.txt: -------------------------------------------------------------------------------- 1 | # Copy certificates for running the samples and tests provided with the SDK into this directory 2 | # Certificates can be created and downloaded from the AWS IoT Console 3 | # The IoT Client takes the full path of the certificates as an input parameter while initializing 4 | # This is the default folder for the certificates only for samples and tests. A different path can be specified if required. -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/thing_shadow/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "thing_shadow_sample.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | 5 | register_component() 6 | 7 | if(CONFIG_EXAMPLE_EMBEDDED_CERTS) 8 | target_add_binary_data(${COMPONENT_TARGET} "certs/aws-root-ca.pem" TEXT) 9 | target_add_binary_data(${COMPONENT_TARGET} "certs/certificate.pem.crt" TEXT) 10 | target_add_binary_data(${COMPONENT_TARGET} "certs/private.pem.key" TEXT) 11 | endif() 12 | -------------------------------------------------------------------------------- /examples/espidf-ulp-pulse/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env:esp32dev] 11 | platform = espressif32 12 | framework = espidf 13 | board = esp32dev 14 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/subscribe_publish/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(COMPONENT_SRCS "subscribe_publish_sample.c") 2 | set(COMPONENT_ADD_INCLUDEDIRS ".") 3 | 4 | 5 | register_component() 6 | 7 | if(CONFIG_EXAMPLE_EMBEDDED_CERTS) 8 | target_add_binary_data(${COMPONENT_TARGET} "certs/aws-root-ca.pem" TEXT) 9 | target_add_binary_data(${COMPONENT_TARGET} "certs/certificate.pem.crt" TEXT) 10 | target_add_binary_data(${COMPONENT_TARGET} "certs/private.pem.key" TEXT) 11 | endif() 12 | -------------------------------------------------------------------------------- /examples/espidf-ulp-pulse/ulp/wake_up.S: -------------------------------------------------------------------------------- 1 | /* ULP assembly files are passed through C preprocessor first, so include directives 2 | and C macros may be used in these files 3 | */ 4 | #include "soc/rtc_cntl_reg.h" 5 | #include "soc/soc_ulp.h" 6 | 7 | .global wake_up 8 | wake_up: 9 | /* Check if the system can be woken up */ 10 | READ_RTC_FIELD(RTC_CNTL_LOW_POWER_ST_REG, RTC_CNTL_RDY_FOR_WAKEUP) 11 | and r0, r0, 1 12 | jump wake_up, eq 13 | 14 | /* Wake up the SoC, end program */ 15 | wake 16 | halt 17 | -------------------------------------------------------------------------------- /examples/espidf-ble-eddystone/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env:esp32dev] 11 | platform = espressif32 12 | framework = espidf 13 | board = esp32dev 14 | monitor_speed = 115200 15 | -------------------------------------------------------------------------------- /examples/espidf-coap-server/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | # (Not part of the boilerplate) 6 | # This example uses an extra component for common functions such as Wi-Fi and Ethernet connection. 7 | list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common) 8 | 9 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 10 | project(coap_server) 11 | -------------------------------------------------------------------------------- /examples/espidf-http-request/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | 5 | # (Not part of the boilerplate) 6 | # This example uses an extra component for common functions such as Wi-Fi and Ethernet connection. 7 | list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common) 8 | 9 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 10 | project(http-request) 11 | -------------------------------------------------------------------------------- /examples/espidf-ulp-adc/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [platformio] 11 | src_dir = main 12 | 13 | [env:esp32dev] 14 | platform = espressif32 15 | framework = espidf 16 | board = esp32dev 17 | -------------------------------------------------------------------------------- /examples/arduino-ble5-advertising/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env:esp32-c3-devkitm-1] 11 | platform = espressif32 12 | board = esp32-c3-devkitm-1 13 | framework = arduino 14 | monitor_speed = 115200 15 | -------------------------------------------------------------------------------- /examples/arduino-blink/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/arduino-wifiscan/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-blink/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-ulp-adc/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-ulp-pulse/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/arduino-usb-keyboard/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-arduino-blink/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-ble-eddystone/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-coap-server/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-exceptions/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-hello-world/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-http-request/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-storage-sdcard/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-storage-spiffs/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/arduino-ble5-advertising/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-arduino-wifiscan/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-peripherals-uart/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-peripherals-usb/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/arduino-briki-internal-libs/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PIO Unit Testing and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PIO Unit Testing: 11 | - https://docs.platformio.org/page/plus/unit-testing.html 12 | -------------------------------------------------------------------------------- /examples/espidf-storage-spiffs/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env:esp32dev] 11 | platform = espressif32 12 | framework = espidf 13 | board = esp32dev 14 | monitor_speed = 115200 15 | board_build.partitions = partitions_example.csv 16 | -------------------------------------------------------------------------------- /examples/espidf-arduino-wifiscan/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env] 11 | platform = espressif32 12 | framework = arduino, espidf 13 | monitor_speed = 115200 14 | 15 | [env:esp32dev] 16 | board = esp32dev 17 | 18 | [env:esp-wrover-kit] 19 | board = esp-wrover-kit 20 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/tests/unit/tls_mock/network_platform.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by chaurah on 3/22/16. 3 | // 4 | 5 | #ifndef IOTSDKC_NETWORK_MBEDTLS_PLATFORM_H_H 6 | 7 | /** 8 | * @brief TLS Connection Parameters 9 | * 10 | * Defines a type containing TLS specific parameters to be passed down to the 11 | * TLS networking layer to create a TLS secured socket. 12 | */ 13 | typedef struct _TLSDataParams { 14 | uint32_t flags; 15 | }TLSDataParams; 16 | 17 | #define IOTSDKC_NETWORK_MBEDTLS_PLATFORM_H_H 18 | 19 | #endif //IOTSDKC_NETWORK_MBEDTLS_PLATFORM_H_H 20 | -------------------------------------------------------------------------------- /examples/arduino-usb-keyboard/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env] 11 | platform = espressif32 12 | framework = arduino 13 | monitor_speed = 115200 14 | 15 | [env:esp32-s2-saola-1] 16 | board = esp32-s2-saola-1 17 | 18 | [env:esp32-s2-kaluga-1] 19 | board = esp32-s2-kaluga-1 -------------------------------------------------------------------------------- /examples/espidf-peripherals-usb/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env] 11 | platform = espressif32 12 | framework = espidf 13 | monitor_speed = 115200 14 | 15 | [env:esp32-s2-saola-1] 16 | board = esp32-s2-saola-1 17 | 18 | [env:esp32-s2-kaluga-1] 19 | board = esp32-s2-kaluga-1 20 | -------------------------------------------------------------------------------- /examples/arduino-briki-internal-libs/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env:briki_abc_esp32] 11 | platform = espressif32 12 | board = briki_abc_esp32 13 | framework = arduino 14 | 15 | [env:briki_mbc-wb_esp32] 16 | platform = espressif32 17 | board = briki_mbc-wb_esp32 18 | framework = arduino 19 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | 11 | # Change directory to example 12 | $ cd platform-espressif32/examples/espidf-aws-iot 13 | 14 | # Build project 15 | $ pio run 16 | 17 | # Upload firmware 18 | $ pio run --target upload 19 | 20 | # Clean build files 21 | $ pio run --target clean 22 | ``` -------------------------------------------------------------------------------- /examples/espidf-exceptions/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env] 11 | platform = espressif32 12 | framework = espidf 13 | monitor_speed = 115200 14 | 15 | [env:esp32dev] 16 | board = esp32dev 17 | 18 | [env:esp-wrover-kit] 19 | board = esp-wrover-kit 20 | 21 | [env:lolin32] 22 | board = lolin32 23 | -------------------------------------------------------------------------------- /examples/espidf-peripherals-uart/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env] 11 | platform = espressif32 12 | framework = espidf 13 | monitor_speed = 115200 14 | 15 | [env:pocket_32] 16 | board = pocket_32 17 | 18 | [env:odroid_esp32] 19 | board = odroid_esp32 20 | 21 | [env:featheresp32] 22 | board = featheresp32 23 | -------------------------------------------------------------------------------- /examples/espidf-peripherals-usb/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-peripherals-usb 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Clean build files 20 | $ pio run --target clean 21 | ``` 22 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/doc/config/mqtt: -------------------------------------------------------------------------------- 1 | # Include common configuration options. 2 | @INCLUDE_PATH = doc/config 3 | @INCLUDE = common 4 | 5 | # Basic project information. 6 | PROJECT_NAME = "MQTT" 7 | PROJECT_BRIEF = "MQTT v3.1.1 client library" 8 | 9 | # Library documentation output directory. 10 | HTML_OUTPUT = mqtt 11 | 12 | # Generate Doxygen tag file for this library. 13 | GENERATE_TAGFILE = doc/tag/mqtt.tag 14 | 15 | # Directories containing library source code. 16 | INPUT = doc/lib \ 17 | include/ \ 18 | src/ 19 | 20 | # Library file names. 21 | FILE_PATTERNS = *mqtt*.c *mqtt*.h *mqtt*.txt 22 | -------------------------------------------------------------------------------- /examples/espidf-hello-world/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env] 11 | platform = espressif32 12 | framework = espidf 13 | monitor_speed = 115200 14 | 15 | [env:esp32dev] 16 | board = esp32dev 17 | 18 | [env:esp32-s2-kaluga-1] 19 | board = esp32-s2-kaluga-1 20 | 21 | [env:esp32-c3-devkitm-1] 22 | board = esp32-c3-devkitm-1 23 | -------------------------------------------------------------------------------- /examples/espidf-storage-sdcard/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env] 11 | platform = espressif32 12 | framework = espidf 13 | monitor_speed = 115200 14 | 15 | [env:esp32thing] 16 | board = esp32thing 17 | 18 | [env:esp32-gateway] 19 | board = esp32-gateway 20 | 21 | [env:heltec_wifi_kit_32] 22 | board = heltec_wifi_kit_32 23 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/external_libs/mbedTLS/README.txt: -------------------------------------------------------------------------------- 1 | # Copy source code for mbedTLS into this directory 2 | # 3 | # You'll need to download mbedTLS from the official ARMmbed repository and 4 | # place the files here. We recommend that you pick the latest version of 2.16 5 | # LTS release in order to have up-to-date security fixes. 6 | 7 | # Note that this SDK will not negotiate the TLS Maximum Fragment Length even if 8 | # it is enabled in mbedTLS' configuration. Therefore, you should ensure content 9 | # buffers used by mbedTLS are at least 16384 bytes in length to use the largest 10 | # maximum record length supported by TLS. 11 | -------------------------------------------------------------------------------- /examples/espidf-blink/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env:esp32dev] 11 | platform = espressif32 12 | framework = espidf 13 | board = esp32dev 14 | monitor_speed = 115200 15 | build_flags = 16 | ; https://docs.espressif.com/projects/esp-idf/en/latest/get-started/get-started-wrover-kit.html#rgb-led 17 | -D CONFIG_BLINK_GPIO=2 18 | 19 | -------------------------------------------------------------------------------- /examples/espidf-arduino-blink/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env] 11 | platform = espressif32 12 | framework = arduino, espidf 13 | build_flags = 14 | -D CONFIG_BLINK_GPIO=2 15 | monitor_speed = 115200 16 | 17 | [env:esp32dev] 18 | board = esp32dev 19 | 20 | [env:espea32] 21 | board = espea32 22 | 23 | [env:esp320] 24 | board = esp320 25 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env:esp32dev] 11 | platform = espressif32 12 | framework = espidf 13 | board = esp32dev 14 | monitor_speed = 115200 15 | monitor_filters = colorize 16 | 17 | board_build.embed_txtfiles = 18 | src/certs/private.pem.key 19 | src/certs/certificate.pem.crt 20 | src/certs/aws-root-ca.pem 21 | -------------------------------------------------------------------------------- /examples/espidf-http-request/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env] 11 | platform = espressif32 12 | framework = espidf 13 | monitor_speed = 115200 14 | 15 | [env:esp32dev] 16 | board = esp32dev 17 | 18 | [env:nano32] 19 | board = nano32 20 | 21 | [env:espea32] 22 | board = espea32 23 | 24 | [env:esp32-s2-saola-1] 25 | board = esp32-s2-saola-1 26 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/thing_shadow/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | 5 | ifdef CONFIG_EXAMPLE_EMBEDDED_CERTS 6 | # Certificate files. certificate.pem.crt & private.pem.key must be downloaded 7 | # from AWS, see README for details. 8 | COMPONENT_EMBED_TXTFILES := certs/aws-root-ca.pem certs/certificate.pem.crt certs/private.pem.key 9 | 10 | # Print an error if the certificate/key files are missing 11 | $(COMPONENT_PATH)/certs/certificate.pem.crt $(COMPONENT_PATH)/certs/private.pem.key: 12 | @echo "Missing PEM file $@. This file identifies the ESP32 to AWS for the example, see README for details." 13 | exit 1 14 | endif 15 | -------------------------------------------------------------------------------- /examples/espidf-storage-spiffs/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-storage-spiffs 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Upload SPIFFS image 20 | $ pio run --target uploadfs 21 | 22 | # Clean build files 23 | $ pio run --target clean 24 | ``` 25 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/examples/subscribe_publish/main/component.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Main Makefile. This is basically the same as a component makefile. 3 | # 4 | 5 | ifdef CONFIG_EXAMPLE_EMBEDDED_CERTS 6 | # Certificate files. certificate.pem.crt & private.pem.key must be downloaded 7 | # from AWS, see README for details. 8 | COMPONENT_EMBED_TXTFILES := certs/aws-root-ca.pem certs/certificate.pem.crt certs/private.pem.key 9 | 10 | # Print an error if the certificate/key files are missing 11 | $(COMPONENT_PATH)/certs/certificate.pem.crt $(COMPONENT_PATH)/certs/private.pem.key: 12 | @echo "Missing PEM file $@. This file identifies the ESP32 to AWS for the example, see README for details." 13 | exit 1 14 | endif 15 | -------------------------------------------------------------------------------- /examples/arduino-blink/src/Blink.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Blink 3 | * Turns on an LED on for one second, 4 | * then off for one second, repeatedly. 5 | */ 6 | 7 | #include 8 | 9 | // Set LED_BUILTIN if it is not defined by Arduino framework 10 | #ifndef LED_BUILTIN 11 | #define LED_BUILTIN 2 12 | #endif 13 | 14 | void setup() 15 | { 16 | // initialize LED digital pin as an output. 17 | pinMode(LED_BUILTIN, OUTPUT); 18 | } 19 | 20 | void loop() 21 | { 22 | // turn the LED on (HIGH is the voltage level) 23 | digitalWrite(LED_BUILTIN, HIGH); 24 | // wait for a second 25 | delay(1000); 26 | // turn the LED off by making the voltage LOW 27 | digitalWrite(LED_BUILTIN, LOW); 28 | // wait for a second 29 | delay(1000); 30 | } 31 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/README.md: -------------------------------------------------------------------------------- 1 | # ESP-AWS-IoT 2 | 3 | This framework enables AWS IoT cloud connectivity with ESP32 based platforms using [AWS IoT Device Embedded SDK](https://github.com/aws/aws-iot-device-sdk-embedded-C). 4 | 5 | ## Getting Started 6 | 7 | - Please clone this repository using, 8 | ``` 9 | git clone --recursive https://github.com/espressif/esp-aws-iot 10 | ``` 11 | - Please refer to https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html for setting ESP-IDF 12 | - ESP-IDF can be downloaded from https://github.com/espressif/esp-idf/ 13 | - ESP-IDF v3.1 and above is recommended version 14 | - Please refer to [example README](examples/README.md) for more information on setting up examples 15 | -------------------------------------------------------------------------------- /examples/espidf-coap-server/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env] 11 | platform = espressif32 12 | framework = espidf 13 | monitor_speed = 115200 14 | board_build.embed_txtfiles = 15 | src/certs/coap_ca.pem 16 | src/certs/coap_server.crt 17 | src/certs/coap_server.key 18 | 19 | [env:nano32] 20 | board = nano32 21 | 22 | [env:esp-wrover-kit] 23 | board = esp-wrover-kit 24 | 25 | [env:esp32dev] 26 | board = esp32dev 27 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS C SDK for Internet of Things Service 2 | Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | 4 | This product includes software developed by 5 | Amazon Inc (http://www.amazon.com/). 6 | 7 | ********************** 8 | THIRD PARTY COMPONENTS 9 | ********************** 10 | This software includes third party software subject to the following licensing: 11 | - Embedded C MQTT Client - From the Eclipse Paho Project - EPL v1.0 12 | - mbedTLS (external library, included in tarball or downloaded separately) - Apache 2.0 13 | - jsmn (JSON Parsing) - MIT 14 | - cURL (hostname verification) - MIT 15 | 16 | The licenses for these third party components are included in LICENSE.txt 17 | -------------------------------------------------------------------------------- /boards/esp32-s2-franzininho.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ld": "esp32s2_out.ld" 5 | }, 6 | "core": "esp32", 7 | "f_cpu": "240000000L", 8 | "f_flash": "80000000L", 9 | "flash_mode": "dio", 10 | "mcu": "esp32s2", 11 | "variant": "esp32s2" 12 | }, 13 | "connectivity": [ 14 | "wifi" 15 | ], 16 | "debug": { 17 | "openocd_target": "esp32s2.cfg" 18 | }, 19 | "frameworks": [ 20 | "espidf" 21 | ], 22 | "name": "Franzininho WiFi Board", 23 | "upload": { 24 | "flash_size": "4MB", 25 | "maximum_ram_size": 327680, 26 | "maximum_size": 4194304, 27 | "require_upload_port": true, 28 | "speed": 460800 29 | }, 30 | "url": "https://github.com/Franzininho/Franzininho-WIFI", 31 | "vendor": "Franzininho" 32 | } 33 | -------------------------------------------------------------------------------- /boards/etboard.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ETBoard", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "ET-Board" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "ETBoard", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://et.ketri.re.kr", 33 | "vendor": "ETBoard" 34 | } 35 | -------------------------------------------------------------------------------- /boards/widora-air.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_WIDORA_AIR", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "widora-air" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Widora AIR", 25 | "upload": { 26 | "flash_size": "16MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 16777216, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://widora.io", 33 | "vendor": "Widora" 34 | } 35 | -------------------------------------------------------------------------------- /examples/arduino-blink/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/arduino-blink 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/espidf-blink/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-blink 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /boards/m5stick-c.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_M5Stick_C", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "m5stick_c" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "M5Stick-C", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 1500000 31 | }, 32 | "url": "http://www.m5stack.com", 33 | "vendor": "M5Stack" 34 | } 35 | -------------------------------------------------------------------------------- /boards/magicbit.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "magicbit" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "MagicBit", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://magicblocks.io/", 33 | "vendor": "Magicblocks.io" 34 | } 35 | -------------------------------------------------------------------------------- /boards/pycom_gpy.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_PYCOM_GPY", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "gpy" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Pycom GPy", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://pycom.io/product/gpy/", 33 | "vendor": "Pycom Ltd." 34 | } 35 | -------------------------------------------------------------------------------- /examples/arduino-wifiscan/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/arduino-wifiscan 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e quantum 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e quantum --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore executables 2 | *.o 3 | IotSdkC_tests 4 | samples/linux/jobs_sample/jobs_sample 5 | samples/linux/shadow_sample/shadow_sample 6 | samples/linux/shadow_sample_console_echo/shadow_console_echo 7 | samples/linux/subscribe_publish_library_sample/libAwsIotSdk.a 8 | samples/linux/subscribe_publish_library_sample/subscribe_publish_library_sample 9 | samples/linux/subscribe_publish_sample/subscribe_publish_sample 10 | tests/integration/integration_tests_mbedtls 11 | tests/integration/integration_tests_mbedtls_mt 12 | 13 | # Ignore test artifacts 14 | objs/* 15 | testLibs/* 16 | 17 | # Ignore CppUTest and mbed TLS 18 | external_libs/CppUTest/* 19 | external_libs/mbedTLS/* 20 | 21 | # Ignore credentials 22 | certs/* 23 | -------------------------------------------------------------------------------- /boards/bpi-bit.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_BPI_BIT", 8 | "f_cpu": "160000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "bpi-bit" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "BPI-Bit", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://en.wikipedia.org/wiki/ESP32", 33 | "vendor": "BPI Tech" 34 | } 35 | -------------------------------------------------------------------------------- /examples/espidf-coap-server/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-coap-server 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/espidf-exceptions/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-exceptions 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/espidf-hello-world/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-hello-world 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/espidf-http-request/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-http-request 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e quantum 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e quantum --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/espidf-ulp-adc/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-ulp-adc 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` 28 | -------------------------------------------------------------------------------- /boards/inex_openkb.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_openkb", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "openkb" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "INEX OpenKB", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://inex.co.th/home/product/openkb/", 33 | "vendor": "INEX" 34 | } 35 | -------------------------------------------------------------------------------- /boards/m5stack-atom.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_M5Stack_ATOM", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "m5stack_atom" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "M5Stack-ATOM", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 1500000 31 | }, 32 | "url": "http://www.m5stack.com", 33 | "vendor": "M5Stack" 34 | } 35 | -------------------------------------------------------------------------------- /boards/quantum.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_QUANTUM", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "qio", 11 | "mcu": "esp32", 12 | "variant": "quantum" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Noduino Quantum", 25 | "upload": { 26 | "flash_size": "16MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 16777216, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://wiki.jackslab.org/Noduino", 33 | "vendor": "Noduino" 34 | } 35 | -------------------------------------------------------------------------------- /examples/espidf-arduino-blink/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-arduino-blink 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/espidf-ble-eddystone/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-ble-eddystone 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/espidf-ulp-pulse/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-ulp-pulse 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` 28 | -------------------------------------------------------------------------------- /boards/turta_iot_node.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_PICO", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "pico32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Turta IoT Node", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://www.turta.io/en/iotnode", 33 | "vendor": "Turta" 34 | } 35 | -------------------------------------------------------------------------------- /boards/wifiduino32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_Wifiduino32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "wifiduino32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Blinker WiFiduino32", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://diandeng.tech", 33 | "vendor": "Blinker" 34 | } 35 | -------------------------------------------------------------------------------- /examples/espidf-arduino-wifiscan/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-arduino-wifiscan 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/espidf-peripherals-uart/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-peripherals-uart 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/espidf-storage-sdcard/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/espidf-storage-sdcard 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32dev 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32dev --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` 28 | -------------------------------------------------------------------------------- /boards/m5stack-coreink.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_M5Stack_CoreInk", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "m5stack_coreink" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "M5Stack-Core Ink", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://www.m5stack.com", 33 | "vendor": "M5Stack" 34 | } 35 | -------------------------------------------------------------------------------- /boards/mgbot-iotik32a.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_MGBOT_IOTIK32A", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "mgbot-iotik32a" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "MGBOT IOTIK 32A", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://iotik.ru/en/iotik32a/", 33 | "vendor": "MGBOT" 34 | } 35 | -------------------------------------------------------------------------------- /boards/mgbot-iotik32b.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_MGBOT_IOTIK32B", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "mgbot-iotik32b" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "MGBOT IOTIK 32B", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://iotik.ru/en/iotik32b/", 33 | "vendor": "MGBOT" 34 | } 35 | -------------------------------------------------------------------------------- /boards/nano32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_NANO32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "nano32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "MakerAsia Nano32", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://iot-bits.com/nano32-esp32-development-board", 33 | "vendor": "MakerAsia" 34 | } 35 | -------------------------------------------------------------------------------- /boards/piranha_esp32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_Piranha", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "piranha_esp-32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Fishino Piranha ESP-32", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://fishino.it/boards.html", 33 | "vendor": "Fishino" 34 | } 35 | -------------------------------------------------------------------------------- /examples/arduino-usb-keyboard/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/arduino-usb-keyboard 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32-s2-saola-1 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32-s2-saola-1 --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /boards/espea32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESPea32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "espea32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "April Brother ESPea32", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://blog.aprbrother.com/product/espea", 33 | "vendor": "April Brother" 34 | } 35 | -------------------------------------------------------------------------------- /boards/m5stack-grey.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_M5Stack_Core_ESP32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "m5stack_core_esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "M5Stack GREY ESP32", 25 | "upload": { 26 | "flash_size": "16MB", 27 | "maximum_ram_size": 532480, 28 | "maximum_size": 16777216, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://www.m5stack.com", 33 | "vendor": "M5Stack" 34 | } 35 | -------------------------------------------------------------------------------- /boards/healthypi4.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_HEALTHYPI_4", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "healthypi4" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "ProtoCentral HealthyPi 4", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://healthypi.protocentral.com", 33 | "vendor": "ProtoCentral" 34 | } 35 | -------------------------------------------------------------------------------- /boards/m5stack-core-esp32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_M5Stack_Core_ESP32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "m5stack_core_esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "M5Stack Core ESP32", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://www.m5stack.com", 33 | "vendor": "M5Stack" 34 | } 35 | -------------------------------------------------------------------------------- /boards/microduino-core-esp32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_CoreESP32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "Microduino-esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Microduino Core ESP32", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://microduinoinc.com", 33 | "vendor": "Microduino" 34 | } 35 | -------------------------------------------------------------------------------- /boards/s_odi_ultra.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "S_ODI_Ultra_v1" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "S.ODI Ultra v1", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://www.espressif.com/en/products/socs/esp32", 33 | "vendor": "S.ODI" 34 | } 35 | -------------------------------------------------------------------------------- /boards/cnrs_aw2eth.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_ESP32_PICO" 9 | ], 10 | "f_cpu": "240000000L", 11 | "f_flash": "40000000L", 12 | "flash_mode": "dio", 13 | "mcu": "esp32", 14 | "variant": "cnrs_aw2eth" 15 | }, 16 | "connectivity": [ 17 | "wifi", 18 | "bluetooth", 19 | "ethernet", 20 | "can" 21 | ], 22 | "frameworks": [ 23 | "arduino", 24 | "espidf" 25 | ], 26 | "name": "CNRS AW2ETH", 27 | "upload": { 28 | "flash_size": "4MB", 29 | "maximum_ram_size": 327680, 30 | "maximum_size": 4194304, 31 | "require_upload_port": true, 32 | "speed": 460800 33 | }, 34 | "url": "https://en.wikipedia.org/wiki/ESP32", 35 | "vendor": "CNRS" 36 | } 37 | -------------------------------------------------------------------------------- /examples/arduino-ble5-advertising/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/arduino-ble5-advertising 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e esp32-c3-devkitm-1 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e esp32-c3-devkitm-1 --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /examples/arduino-briki-internal-libs/README.md: -------------------------------------------------------------------------------- 1 | How to build PlatformIO based project 2 | ===================================== 3 | 4 | 1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html) 5 | 2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) 6 | 3. Extract ZIP archive 7 | 4. Run these commands: 8 | 9 | ```shell 10 | # Change directory to example 11 | $ cd platform-espressif32/examples/arduino-briki-internal-libs 12 | 13 | # Build project 14 | $ pio run 15 | 16 | # Upload firmware 17 | $ pio run --target upload 18 | 19 | # Build specific environment 20 | $ pio run -e briki_abc_esp32 21 | 22 | # Upload firmware for the specific environment 23 | $ pio run -e briki_abc_esp32 --target upload 24 | 25 | # Clean build files 26 | $ pio run --target clean 27 | ``` -------------------------------------------------------------------------------- /boards/intorobot.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_INTOROBOT_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "intorobot-fig" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "IntoRobot Fig", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://docs.intorobot.com/zh/hardware/fig/hardware/", 33 | "vendor": "IntoRobot" 34 | } 35 | -------------------------------------------------------------------------------- /examples/espidf-coap-server/src/certs/coap_server.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICAzCCAaagAwIBAgIJANqCHDjOKHh+MAwGCCqGSM49BAMCBQAwWjEOMAwGA1UE 3 | AxMFY2YtY2ExFDASBgNVBAsTC0NhbGlmb3JuaXVtMRQwEgYDVQQKEwtFY2xpcHNl 4 | IElvVDEPMA0GA1UEBxMGT3R0YXdhMQswCQYDVQQGEwJDQTAeFw0yMDExMTExMDMw 5 | MzRaFw0yMTExMTExMDMwMzRaMF4xEjAQBgNVBAMTCWNmLXNlcnZlcjEUMBIGA1UE 6 | CxMLQ2FsaWZvcm5pdW0xFDASBgNVBAoTC0VjbGlwc2UgSW9UMQ8wDQYDVQQHEwZP 7 | dHRhd2ExCzAJBgNVBAYTAkNBMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE+obM 8 | gHmMB7zS4KArciXPD7CrvgEYqlnAf7NOTdb54RbTr4qEpPL+OJ6Pg8VhrF4hGEne 9 | T6Aa4qqpmTkxmfT0vqNPME0wHQYDVR0OBBYEFE4XpfFad+F3+RcwI+s1cmJbTZWG 10 | MAsGA1UdDwQEAwIHgDAfBgNVHSMEGDAWgBRL3+e1HCYWGJMdeLcJHorXevdX1TAM 11 | BggqhkjOPQQDAgUAA0kAMEYCIQCEo+O5zqYKdwi/ElB4wfNVIf76P1OhIXAT5CHc 12 | 3ebBPQIhAN6UhCgQ0av6kf7INCazV3KmN7HmPXARaY4YKWsRwsg+ 13 | -----END CERTIFICATE----- 14 | -------------------------------------------------------------------------------- /boards/kits-edu.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_PICO", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "pico32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "KITS ESP32 EDU", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://www.koreaits.com/new/product/summary.htm?goods_no=468&mid_no=103&no=17", 33 | "vendor": "KITS" 34 | } 35 | -------------------------------------------------------------------------------- /boards/esp32-pro.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_PRO", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32-evb" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "OLIMEX ESP32-PRO", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://www.olimex.com/Products/IoT/ESP32/ESP32-PRO/open-source-hardware", 33 | "vendor": "OLIMEX" 34 | } 35 | -------------------------------------------------------------------------------- /boards/esp320.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP320", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "qio", 11 | "mcu": "esp32", 12 | "variant": "esp320" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Electronic SweetPeas ESP320", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://www.sweetpeas.se/controller-modules/10-esp210.html", 33 | "vendor": "Electronic SweetPeas" 34 | } 35 | -------------------------------------------------------------------------------- /boards/lopy.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_LoPy", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "lopy" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "can", 18 | "ethernet" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Pycom LoPy", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://pycom.io/", 36 | "vendor": "Pycom Ltd." 37 | } 38 | -------------------------------------------------------------------------------- /boards/sparkfun_esp32micromod.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_MICROMOD", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32micromod" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "SparkFun ESP32 MicroMod", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://www.sparkfun.com/products/16781", 33 | "vendor": "SparkFun" 34 | } 35 | -------------------------------------------------------------------------------- /boards/ttgo-t7-v13-mini32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_TTGO_T7_V13_Mini32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "ttgo-t7-v13-mini32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "can", 18 | "ethernet" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "TTGO T7 V1.3 Mini32", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 1310720, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://github.com/LilyGO/ESP32-MINI-32-V1.3", 33 | "vendor": "TTGO" 34 | } 35 | -------------------------------------------------------------------------------- /boards/imbrios-logsens-v1p1.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_IMBRIOS_LOGSENS_V1P1", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "imbrios-logsens-v1p1" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Imbrios LogSens V1P1", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://www.imbrios.com/products/logsens", 33 | "vendor": "Imbrios" 34 | } 35 | -------------------------------------------------------------------------------- /boards/iotaap_magnolia.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino" 25 | ], 26 | "name": "IoTaaP Magnolia", 27 | "upload": { 28 | "flash_size": "4MB", 29 | "maximum_ram_size": 327680, 30 | "maximum_size": 4194304, 31 | "require_upload_port": true, 32 | "speed": 921600 33 | }, 34 | "url": "https://www.iotaap.io", 35 | "vendor": "IoTaaP" 36 | } 37 | -------------------------------------------------------------------------------- /boards/lopy4.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_LoPy4", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "lopy4" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "can", 18 | "ethernet" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Pycom LoPy4", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 1310720, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://pycom.io/", 36 | "vendor": "Pycom Ltd." 37 | } 38 | -------------------------------------------------------------------------------- /boards/nodemcu-32s2.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32s2_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32S2_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "80000000L", 10 | "flash_mode": "qio", 11 | "mcu": "esp32s2", 12 | "variant": "esp32s2" 13 | }, 14 | "connectivity": [ 15 | "wifi" 16 | ], 17 | "debug": { 18 | "openocd_target": "esp32s2.cfg" 19 | }, 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Ai-Thinker NodeMCU-32S2 (ESP-12K)", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://docs.ai-thinker.com/en/esp32s2", 33 | "vendor": "Ai-Thinker" 34 | } 35 | -------------------------------------------------------------------------------- /boards/wipy3.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_WIPY3", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "wipy3" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "can", 18 | "ethernet" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Pycom WiPy3", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 1310720, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://pycom.io/", 36 | "vendor": "Pycom Ltd." 37 | } 38 | -------------------------------------------------------------------------------- /boards/labplus_mpython.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "huge_app.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": "-DARDUINO_ESP32_DEV", 9 | "f_cpu": "240000000L", 10 | "f_flash": "40000000L", 11 | "flash_mode": "dio", 12 | "mcu": "esp32", 13 | "variant": "mpython" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "frameworks": [ 22 | "arduino", 23 | "espidf" 24 | ], 25 | "name": "Labplus mPython", 26 | "upload": { 27 | "flash_size": "8MB", 28 | "maximum_ram_size": 327680, 29 | "maximum_size": 4194304, 30 | "require_upload_port": true, 31 | "speed": 460800 32 | }, 33 | "url": "https://github.com/labplus-cn/mpython", 34 | "vendor": "Labplus" 35 | } 36 | -------------------------------------------------------------------------------- /boards/lolin32_lite.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_LOLIN32_LITE", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "lolin32-lite" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "WEMOS LOLIN32 Lite", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://diyprojects.io/wemos-lolin32-lite-compact-revision-lolin32-4-90/", 33 | "vendor": "WEMOS" 34 | } 35 | -------------------------------------------------------------------------------- /boards/node32s.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_Node32s", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Node32s", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://www.ayarafun.com", 36 | "vendor": "Aiyarafun" 37 | } 38 | -------------------------------------------------------------------------------- /boards/oroca_edubot.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "huge_app.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": "-DARDUINO_OROCA_EDUBOT", 9 | "f_cpu": "240000000L", 10 | "f_flash": "40000000L", 11 | "flash_mode": "dio", 12 | "mcu": "esp32", 13 | "variant": "oroca_edubot" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "frameworks": [ 22 | "arduino", 23 | "espidf" 24 | ], 25 | "name": "OROCA EduBot", 26 | "upload": { 27 | "flash_size": "4MB", 28 | "maximum_ram_size": 327680, 29 | "maximum_size": 4194304, 30 | "require_upload_port": true, 31 | "speed": 460800 32 | }, 33 | "url": "https://github.com/oroca/OROCA-EduBot", 34 | "vendor": "OROCA" 35 | } 36 | -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- 1 | # Number of days of inactivity before an issue becomes stale 2 | daysUntilStale: 30 3 | # Number of days of inactivity before a stale issue is closed 4 | daysUntilClose: 7 5 | # Issues with these labels will never be considered stale 6 | exemptLabels: 7 | - bug 8 | - known issue 9 | - feature 10 | - enhancement 11 | - board request 12 | - package update 13 | # Label to use when marking an issue as stale 14 | staleLabel: stale 15 | # Comment to post when marking an issue as stale. Set to `false` to disable 16 | markComment: > 17 | This issue has been automatically marked as stale because it has not had 18 | recent activity. Please provide more details or it will be closed if no 19 | further activity occurs. Thank you for your contributions. 20 | # Comment to post when closing a stale issue. Set to `false` to disable 21 | closeComment: false 22 | -------------------------------------------------------------------------------- /boards/heltec_wifi_kit_32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_HELTEC_WIFI_KIT_32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "heltec_wifi_kit_32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Heltec WiFi Kit 32", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://www.heltec.cn/project/wifi-kit-32/?lang=en", 33 | "vendor": "Heltec Automation" 34 | } 35 | -------------------------------------------------------------------------------- /boards/qchip.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_HELTEC_WIFI_KIT_32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "heltec_wifi_kit_32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Qchip", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://qmobot.com/", 33 | "vendor": "Qmobot LLP" 34 | } -------------------------------------------------------------------------------- /boards/onehorse32dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ONEHORSE_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dout", 11 | "mcu": "esp32", 12 | "variant": "onehorse32dev" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Onehorse ESP32 Dev Module", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://www.tindie.com/products/onehorse/esp32-development-board/", 33 | "vendor": "Onehorse" 34 | } 35 | -------------------------------------------------------------------------------- /boards/ttgo-t1.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_TTGO_T1", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "qio", 11 | "mcu": "esp32", 12 | "variant": "ttgo-t1" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "TTGO T1", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://github.com/LilyGO/ESP32-TTGO-T1", 36 | "vendor": "TTGO" 37 | } 38 | -------------------------------------------------------------------------------- /boards/wemos_d1_uno32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_D1_UNO32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "80000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "d1_uno32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "WEMOS D1 R32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.wemos.cc", 36 | "vendor": "WEMOS" 37 | } 38 | -------------------------------------------------------------------------------- /boards/wesp32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_WESP32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "wesp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Silicognition wESP32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://wesp32.com/", 36 | "vendor": "Silicognition" 37 | } 38 | -------------------------------------------------------------------------------- /boards/denky_d4.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_DENKY_PICOV3", 9 | "-DBOARD_HAS_PSRAM" 10 | ], 11 | "f_cpu": "240000000L", 12 | "f_flash": "80000000L", 13 | "flash_mode": "qio", 14 | "mcu": "esp32", 15 | "variant": "ch_denky" 16 | }, 17 | "connectivity": [ 18 | "wifi", 19 | "bluetooth", 20 | "ethernet", 21 | "can" 22 | ], 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Denky D4 (PICO-V3-02)", 28 | "upload": { 29 | "flash_size": "8MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 8388608, 32 | "require_upload_port": true, 33 | "speed": 2000000 34 | }, 35 | "url": "https://en.wikipedia.org/wiki/ESP32", 36 | "vendor": "Denky" 37 | } 38 | -------------------------------------------------------------------------------- /boards/m5stack-core2.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "default_16MB.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": "-DARDUINO_M5STACK_Core2 -DBOARD_HAS_PSRAM", 9 | "f_cpu": "240000000L", 10 | "f_flash": "40000000L", 11 | "flash_mode": "dio", 12 | "mcu": "esp32", 13 | "variant": "m5stack_core2" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "frameworks": [ 22 | "arduino", 23 | "espidf" 24 | ], 25 | "name": "M5Stack Core2", 26 | "upload": { 27 | "flash_size": "16MB", 28 | "maximum_ram_size": 4521984, 29 | "maximum_size": 16777216, 30 | "require_upload_port": true, 31 | "speed": 460800 32 | }, 33 | "url": "http://www.m5stack.com", 34 | "vendor": "M5Stack" 35 | } 36 | -------------------------------------------------------------------------------- /boards/nina_w10.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "minimal.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": "-DARDUINO_UBLOX_NINA_W10", 9 | "f_cpu": "240000000L", 10 | "f_flash": "40000000L", 11 | "flash_mode": "dio", 12 | "mcu": "esp32", 13 | "variant": "nina_w10" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "frameworks": [ 22 | "arduino", 23 | "espidf" 24 | ], 25 | "name": "u-blox NINA-W10 series", 26 | "upload": { 27 | "flash_size": "2MB", 28 | "maximum_ram_size": 327680, 29 | "maximum_size": 2097152, 30 | "require_upload_port": true, 31 | "speed": 460800 32 | }, 33 | "url": "https://www.u-blox.com/en/product/nina-w10-series", 34 | "vendor": "u-blox" 35 | } 36 | -------------------------------------------------------------------------------- /boards/nodemcu-32s.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_NodeMCU_32S", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "nodemcu-32s" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "NodeMCU-32S", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://www.nodemcu.com/", 36 | "vendor": "NodeMCU" 37 | } 38 | -------------------------------------------------------------------------------- /boards/esp32doit-espduino.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "doitESPduino32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "DOIT ESPduino32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://www.doit.am/", 36 | "vendor": "DOIT" 37 | } 38 | -------------------------------------------------------------------------------- /boards/lolin_d32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_LOLIN_D32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "d32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "WEMOS LOLIN D32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://wiki.wemos.cc/products:d32:d32", 36 | "vendor": "WEMOS" 37 | } 38 | -------------------------------------------------------------------------------- /boards/wemos_d1_mini32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_D1_MINI32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "d1_mini32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "WEMOS D1 MINI ESP32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.wemos.cc", 36 | "vendor": "WEMOS" 37 | } 38 | -------------------------------------------------------------------------------- /boards/xinabox_cw02.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "xinabox" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "XinaBox CW02", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://xinabox.cc/products/cw02", 36 | "vendor": "XinaBox" 37 | } 38 | -------------------------------------------------------------------------------- /boards/alksesp32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ALKS", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "alksesp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino" 25 | ], 26 | "name": "ALKS ESP32", 27 | "upload": { 28 | "flash_size": "4MB", 29 | "maximum_ram_size": 327680, 30 | "maximum_size": 4194304, 31 | "require_upload_port": true, 32 | "speed": 460800 33 | }, 34 | "url": "https://github.com/RoboticsBrno/ArduinoLearningKitStarter.git", 35 | "vendor": "RoboticsBrno" 36 | } 37 | -------------------------------------------------------------------------------- /boards/esp32vn-iot-uno.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_esp32vn_iot_uno", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32vn-iot-uno" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "ESP32vn IoT Uno", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://esp32.vn/", 36 | "vendor": "ESP32vn" 37 | } 38 | -------------------------------------------------------------------------------- /boards/honeylemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_HONEYLEMON", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "honeylemon" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "HONEYLemon", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://en.wikipedia.org/wiki/ESP32", 36 | "vendor": "HONEYLemon" 37 | } 38 | -------------------------------------------------------------------------------- /boards/lolin32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_LOLIN32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "lolin32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "WEMOS LOLIN32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://wiki.wemos.cc/products:lolin32:lolin32", 36 | "vendor": "WEMOS" 37 | } 38 | -------------------------------------------------------------------------------- /boards/pocket_32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_Pocket32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "pocket_32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Dongsen Tech Pocket 32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://dong-sen.com", 36 | "vendor": "Dongsen Technology" 37 | } 38 | -------------------------------------------------------------------------------- /boards/wemosbat.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_Pocket32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "pocket_32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "WeMos WiFi and Bluetooth Battery", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.wemos.cc", 36 | "vendor": "WEMOS" 37 | } 38 | -------------------------------------------------------------------------------- /boards/esp32-poe.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_POE", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "hwids": [["0x1A86", "0x7523"]], 12 | "mcu": "esp32", 13 | "variant": "esp32-poe" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "frameworks": [ 22 | "arduino", 23 | "espidf" 24 | ], 25 | "name": "OLIMEX ESP32-PoE", 26 | "upload": { 27 | "flash_size": "4MB", 28 | "maximum_ram_size": 327680, 29 | "maximum_size": 4194304, 30 | "require_upload_port": true, 31 | "speed": 460800 32 | }, 33 | "url": "https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware", 34 | "vendor": "OLIMEX" 35 | } 36 | -------------------------------------------------------------------------------- /boards/esp32doit-devkit-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "doitESP32devkitV1" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "DOIT ESP32 DEVKIT V1", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://www.doit.am/", 36 | "vendor": "DOIT" 37 | } 38 | -------------------------------------------------------------------------------- /boards/espectro32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESPECTRO32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "espectro32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "ESPectro32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://shop.makestro.com/product/espectro32", 36 | "vendor": "DycodeX" 37 | } 38 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/doc/config/main: -------------------------------------------------------------------------------- 1 | # Include common configuration options. 2 | @INCLUDE_PATH = doc/config 3 | @INCLUDE = common 4 | 5 | # Basic project information. 6 | PROJECT_NAME = "Main" 7 | 8 | # Library documentation output directory. 9 | HTML_OUTPUT = main 10 | 11 | # Generate Doxygen tag file for this library. 12 | GENERATE_TAGFILE = doc/tag/main.tag 13 | 14 | # Files to show on the main page. 15 | INPUT = README.md \ 16 | CHANGELOG.md \ 17 | PortingGuide.md \ 18 | doc/architecture.txt 19 | 20 | # Path to architecture image. 21 | IMAGE_PATH += doc/ 22 | 23 | # Use repository README as main page. 24 | USE_MDFILE_AS_MAINPAGE = README.md 25 | 26 | # Don't automatically link to library symbols. 27 | AUTOLINK_SUPPORT = NO 28 | 29 | # Use the Main page layout file 30 | LAYOUT_FILE = doc/config/layout_main.xml 31 | -------------------------------------------------------------------------------- /boards/esp32dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Espressif ESP32 Dev Module", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://en.wikipedia.org/wiki/ESP32", 36 | "vendor": "Espressif" 37 | } 38 | -------------------------------------------------------------------------------- /boards/heltec_wireless_stick_lite.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_HELTEC_WIRELESS_STICK_LITE", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "heltec_wireless_stick_lite" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Heltec Wireless Stick Lite", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://heltec.org/project/wireless-stick-lite/", 33 | "vendor": "Heltec Automation" 34 | } 35 | -------------------------------------------------------------------------------- /boards/ttgo-t-oi-plus.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32c3_out.ld" 5 | }, 6 | "core": "esp32", 7 | "f_cpu": "160000000L", 8 | "f_flash": "80000000L", 9 | "flash_mode": "qio", 10 | "extra_flags": "-DARDUINO_TTGO_T_OI_PLUS_DEV", 11 | "mcu": "esp32c3", 12 | "variant": "ttgo-t-oi-plus" 13 | }, 14 | "connectivity": [ 15 | "wifi" 16 | ], 17 | "debug": { 18 | "openocd_target": "esp32c3.cfg" 19 | }, 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "TTGO T-OI PLUS RISC-V ESP32-C3", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "http://www.lilygo.cn/prod_view.aspx?TypeId=50044&Id=1361&FId=t3:50044:3", 33 | "vendor": "TTGO" 34 | } 35 | -------------------------------------------------------------------------------- /boards/fm-devkit.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_fm_devkit", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "fm-devkit" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "ESP32 FM DevKit", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://github.com/dragon-engineer/esp32_fmdevkit", 36 | "vendor": "Unknown" 37 | } 38 | -------------------------------------------------------------------------------- /boards/featheresp32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_FEATHER_ESP32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "feather_esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Adafruit ESP32 Feather", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.adafruit.com/product/3405", 36 | "vendor": "Adafruit" 37 | } 38 | -------------------------------------------------------------------------------- /boards/watchy.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "huge_app.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": "-DARDUINO_WATCHY", 9 | "f_cpu": "240000000L", 10 | "f_flash": "40000000L", 11 | "flash_mode": "dio", 12 | "mcu": "esp32", 13 | "variant": "watchy" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "openocd_board": "esp-wroom-32.cfg" 23 | }, 24 | "frameworks": [ 25 | "arduino", 26 | "espidf" 27 | ], 28 | "name": "SQFMI Watchy v2.0", 29 | "upload": { 30 | "flash_size": "4MB", 31 | "maximum_ram_size": 327680, 32 | "maximum_size": 4194304, 33 | "require_upload_port": true, 34 | "speed": 460800 35 | }, 36 | "url": "https://watchy.sqfmi.com/", 37 | "vendor": "SQFMI" 38 | } 39 | -------------------------------------------------------------------------------- /examples/arduino-wifiscan/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter, extra scripting 4 | ; Upload options: custom port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; 7 | ; Please visit documentation for the other options and examples 8 | ; https://docs.platformio.org/page/projectconf.html 9 | 10 | [env:esp32dev] 11 | platform = espressif32 12 | framework = arduino 13 | board = esp32dev 14 | monitor_speed = 115200 15 | 16 | [env:esp wrover kit] 17 | platform = espressif32 18 | framework = arduino 19 | board = esp-wrover-kit 20 | monitor_speed = 115200 21 | 22 | [env:espea32] 23 | platform = espressif32 24 | framework = arduino 25 | board = espea32 26 | monitor_speed = 115200 27 | 28 | [env:esp320] 29 | platform = espressif32 30 | framework = arduino 31 | board = esp320 32 | monitor_speed = 115200 33 | -------------------------------------------------------------------------------- /boards/d-duino-32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_D_DUINO_32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "d-duino-32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "D-duino-32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.tindie.com/products/lspoplove/dstike-d-duino-32-v3/", 36 | "vendor": "DSTIKE" 37 | } 38 | -------------------------------------------------------------------------------- /boards/esp32-poe-iso.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_POE_ISO", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "hwids": [["0x1A86", "0x7523"]], 12 | "mcu": "esp32", 13 | "variant": "esp32-poe-iso" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "frameworks": [ 22 | "arduino", 23 | "espidf" 24 | ], 25 | "name": "OLIMEX ESP32-PoE-ISO", 26 | "upload": { 27 | "flash_size": "4MB", 28 | "maximum_ram_size": 327680, 29 | "maximum_size": 4194304, 30 | "require_upload_port": true, 31 | "speed": 460800 32 | }, 33 | "url": "https://www.olimex.com/Products/IoT/ESP32/ESP32-POE-ISO/open-source-hardware", 34 | "vendor": "OLIMEX" 35 | } 36 | -------------------------------------------------------------------------------- /boards/esp32thing.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_THING", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32thing" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "SparkFun ESP32 Thing", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.sparkfun.com/products/13907", 36 | "vendor": "SparkFun Electronics" 37 | } 38 | -------------------------------------------------------------------------------- /boards/mhetesp32devkit.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_MH_ET_LIVE_ESP32DEVKIT", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "mhetesp32devkit" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "MH ET LIVE ESP32DevKIT", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://forum.mhetlive.com", 36 | "vendor": "MH-ET Live" 37 | } 38 | -------------------------------------------------------------------------------- /boards/odroid_esp32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ODROID_ESP32 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "odroid_esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "ODROID-GO", 25 | "upload": { 26 | "flash_size": "16MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 16777216, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://www.hardkernel.com/main/products/prdt_info.php?g_code=G152875062626", 33 | "vendor": "Hardkernel" 34 | } 35 | -------------------------------------------------------------------------------- /boards/ttgo-lora32-v2.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_TTGO_LoRa32_V2", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "ttgo-lora32-v2" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "TTGO LoRa32-OLED V2", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://github.com/LilyGO/TTGO-LORA32-V2.0", 36 | "vendor": "TTGO" 37 | } 38 | -------------------------------------------------------------------------------- /boards/heltec_wifi_lora_32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_HELTEC_WIFI_LORA_32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "heltec_wifi_lora_32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Heltec WiFi LoRa 32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://www.heltec.cn", 36 | "vendor": "Heltec Automation" 37 | } 38 | -------------------------------------------------------------------------------- /boards/hornbill32dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_HORNBILL_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "hornbill32dev" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Hornbill ESP32 Dev", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://hackaday.io/project/18997-hornbill", 36 | "vendor": "Hornbill" 37 | } 38 | -------------------------------------------------------------------------------- /boards/mhetesp32minikit.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_MH_ET_LIVE_ESP32MINIKIT", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "mhetesp32minikit" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "MH ET LIVE ESP32MiniKit", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://forum.mhetlive.com", 36 | "vendor": "MH-ET Live" 37 | } 38 | -------------------------------------------------------------------------------- /boards/ttgo-lora32-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_TTGO_LoRa32_V1", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "ttgo-lora32-v1" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "TTGO LoRa32-OLED V1", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://github.com/Xinyuan-LilyGO/TTGO-LoRa-Series", 36 | "vendor": "TTGO" 37 | } 38 | -------------------------------------------------------------------------------- /boards/esp32-s2-saola-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32s2_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32S2_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "80000000L", 10 | "flash_mode": "qio", 11 | "mcu": "esp32s2", 12 | "variant": "esp32s2" 13 | }, 14 | "connectivity": [ 15 | "wifi" 16 | ], 17 | "debug": { 18 | "openocd_target": "esp32s2.cfg" 19 | }, 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Espressif ESP32-S2-Saola-1", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-saola-1-v1.2.html", 33 | "vendor": "Espressif" 34 | } 35 | -------------------------------------------------------------------------------- /boards/heltec_wifi_kit_32_v2.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "default_8MB.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": "-DARDUINO_HELTEC_WIFI_KIT_32", 9 | "f_cpu": "240000000L", 10 | "f_flash": "40000000L", 11 | "flash_mode": "dio", 12 | "mcu": "esp32", 13 | "variant": "heltec_wifi_kit_32" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "frameworks": [ 22 | "arduino", 23 | "espidf" 24 | ], 25 | "name": "Heltec WiFi Kit 32 (V2)", 26 | "upload": { 27 | "flash_size": "8MB", 28 | "maximum_ram_size": 327680, 29 | "maximum_size": 8388608, 30 | "require_upload_port": true, 31 | "speed": 460800 32 | }, 33 | "url": "http://www.heltec.cn/project/wifi-kit-32/?lang=en", 34 | "vendor": "Heltec Automation" 35 | } 36 | -------------------------------------------------------------------------------- /boards/ttgo-lora32-v21.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_TTGO_LoRa32_v21new", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "ttgo-lora32-v21new" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "TTGO LoRa32-OLED v2.1.6", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://github.com/LilyGO/TTGO-LoRa32-V2.1", 36 | "vendor": "TTGO" 37 | } 38 | -------------------------------------------------------------------------------- /boards/esp32-c3-devkitm-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32c3_out.ld" 5 | }, 6 | "core": "esp32", 7 | "f_cpu": "160000000L", 8 | "f_flash": "80000000L", 9 | "flash_mode": "qio", 10 | "extra_flags": "-DARDUINO_ESP32C3_DEV", 11 | "mcu": "esp32c3", 12 | "variant": "esp32c3" 13 | }, 14 | "connectivity": [ 15 | "wifi" 16 | ], 17 | "debug": { 18 | "openocd_target": "esp32c3.cfg" 19 | }, 20 | "frameworks": [ 21 | "arduino", 22 | "espidf" 23 | ], 24 | "name": "Espressif ESP32-C3-DevKitM-1", 25 | "upload": { 26 | "flash_size": "4MB", 27 | "maximum_ram_size": 327680, 28 | "maximum_size": 4194304, 29 | "require_upload_port": true, 30 | "speed": 460800 31 | }, 32 | "url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/hw-reference/esp32c3/user-guide-devkitm-1.html", 33 | "vendor": "Espressif" 34 | } 35 | -------------------------------------------------------------------------------- /boards/hornbill32minima.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_HORNBILL_ESP32_MINIMA", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "hornbill32minima" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Hornbill ESP32 Minima", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://hackaday.io/project/18997-hornbill", 36 | "vendor": "Hornbill" 37 | } 38 | -------------------------------------------------------------------------------- /boards/pico32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_PICO", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "pico32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "ESP32 Pico Kit", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://esp-idf.readthedocs.io/en/latest/get-started/get-started-pico-kit.html", 36 | "vendor": "Espressif" 37 | } 38 | -------------------------------------------------------------------------------- /boards/ttgo-t-beam.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_T_Beam -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "tbeam" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "can", 18 | "ethernet" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "TTGO T-Beam", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 1310720, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://github.com/LilyGO/TTGO-T-Beam", 36 | "vendor": "TTGO" 37 | } 38 | -------------------------------------------------------------------------------- /boards/airm2m_core_esp32c3.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32c3_out.ld" 5 | }, 6 | "core": "esp32", 7 | "f_cpu": "160000000L", 8 | "f_flash": "80000000L", 9 | "flash_mode": "dio", 10 | "extra_flags": [ 11 | "-DARDUINO_AirM2M_CORE_ESP32C3", 12 | "-DARDUINO_USB_MODE=1" 13 | ], 14 | "mcu": "esp32c3", 15 | "variant": "AirM2M_CORE_ESP32C3" 16 | }, 17 | "connectivity": [ 18 | "wifi" 19 | ], 20 | "debug": { 21 | "openocd_target": "esp32c3.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "AirM2M CORE ESP32C3", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://wiki.luatos.com/chips/esp32c3/board.html", 36 | "vendor": "AirM2M" 37 | } 38 | -------------------------------------------------------------------------------- /boards/firebeetle32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "firebeetle32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth" 17 | ], 18 | "debug": { 19 | "openocd_board": "esp-wroom-32.cfg" 20 | }, 21 | "frameworks": [ 22 | "arduino", 23 | "espidf" 24 | ], 25 | "name": "FireBeetle-ESP32", 26 | "upload": { 27 | "flash_size": "16MB", 28 | "maximum_ram_size": 532480, 29 | "maximum_size": 16777216, 30 | "require_upload_port": true, 31 | "speed": 460800 32 | }, 33 | "url": "https://wiki.dfrobot.com/FireBeetle_ESP32_IOT_Microcontroller(V3.0)__Supports_Wi-Fi_&_Bluetooth__SKU__DFR0478", 34 | "vendor": "DFRobot" 35 | } 36 | -------------------------------------------------------------------------------- /boards/sensesiot_weizen.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_sensesiot_weizen", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp32-wrover.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "LOGISENSES Senses Weizen", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.logisenses.com/index.php/product/senses-weizen/", 36 | "vendor": "LOGISENSES" 37 | } 38 | -------------------------------------------------------------------------------- /boards/sg-o_airMon.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_SG_O_AIRMON_ESP32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "platforms": [ 28 | "espressif32" 29 | ], 30 | "name": "SG-O AirMon", 31 | "upload": { 32 | "flash_size": "4MB", 33 | "maximum_ram_size": 327680, 34 | "maximum_size": 4194304, 35 | "require_upload_port": true, 36 | "speed": 460800 37 | }, 38 | "url": "https://github.com/SG-O/airMon", 39 | "vendor": "SG-O" 40 | } 41 | -------------------------------------------------------------------------------- /boards/az-delivery-devkit-v4.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "AZ-Delivery ESP-32 Dev Kit C V4", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 532480, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.az-delivery.com/products/esp-32-dev-kit-c-v4", 36 | "vendor": "AZ-Delivery" 37 | } 38 | -------------------------------------------------------------------------------- /boards/frogboard.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_FROG_ESP32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "frog32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Frog Board ESP32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.tindie.com/products/fred_IOT/esp32s-esp-wroom32-frogopins-development-board/", 36 | "vendor": "Fred" 37 | } 38 | -------------------------------------------------------------------------------- /boards/upesy_wroom.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_uPesy_WROOM", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "uPesy_esp32_wroom_devkit" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "uPesy ESP32 Wroom DevKit", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.upesy.fr/products/upesy-esp32-wroom-devkit-board", 36 | "vendor": "uPesy" 37 | } 38 | -------------------------------------------------------------------------------- /boards/espino32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESPino32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "espino32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "ESPino32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://thaieasyelec.com/products/development-boards/espino-wifi-development-board-detail.html", 36 | "vendor": "ThaiEasyElec" 37 | } 38 | -------------------------------------------------------------------------------- /boards/nscreen-32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "hwids": [ 12 | [ 13 | "0x0403", 14 | "0x6010" 15 | ] 16 | ], 17 | "mcu": "esp32", 18 | "variant": "esp32" 19 | }, 20 | "connectivity": [ 21 | "wifi", 22 | "bluetooth", 23 | "ethernet", 24 | "can" 25 | ], 26 | "frameworks": [ 27 | "arduino", 28 | "espidf" 29 | ], 30 | "name": "YeaCreate NSCREEN-32", 31 | "upload": { 32 | "flash_size": "16MB", 33 | "maximum_ram_size": 327680, 34 | "maximum_size": 16777216, 35 | "require_upload_port": true, 36 | "speed": 460800 37 | }, 38 | "url": "https://yeacreate.com", 39 | "vendor": "YeaCreate" 40 | } 41 | -------------------------------------------------------------------------------- /boards/sparkfun_lora_gateway_1-channel.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "sparkfun_lora_gateway_1-channel" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "SparkFun LoRa Gateway 1-Channel", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.sparkfun.com/products/15006", 36 | "vendor": "SparkFun" 37 | } 38 | -------------------------------------------------------------------------------- /boards/trueverit-iot-driver.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_Trueverit_ESP32_Universal_IoT_Driver", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32-trueverit-iot-driver" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Trueverit ESP32 Universal IoT Driver", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://trueverit.com/", 36 | "vendor": "Trueverit" 37 | } 38 | -------------------------------------------------------------------------------- /boards/ttgo-t7-v14-mini32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_TTGO_T7_V14_Mini32", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "ttgo-t7-v14-mini32" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "can", 18 | "ethernet" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp32-wrover.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "TTGO T7 V1.4 Mini32", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 1310720, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "http://www.lilygo.cn/prod_view.aspx?TypeId=50033&Id=978&FId=t3:50033:3", 36 | "vendor": "TTGO" 37 | } 38 | -------------------------------------------------------------------------------- /boards/lolin_d32_pro.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_LOLIN_D32_PRO -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "d32_pro" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp32-wrover.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "WEMOS LOLIN D32 PRO", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.wemos.cc/en/latest/d32/d32_pro.html", 36 | "vendor": "WEMOS" 37 | } 38 | -------------------------------------------------------------------------------- /boards/wt32-eth01.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_WT32_ETH01" 9 | ], 10 | "f_cpu": "240000000L", 11 | "f_flash": "40000000L", 12 | "flash_mode": "dio", 13 | "mcu": "esp32", 14 | "variant": "wt32-eth01" 15 | }, 16 | "connectivity": [ 17 | "wifi", 18 | "bluetooth", 19 | "ethernet", 20 | "can" 21 | ], 22 | "debug": { 23 | "openocd_board": "esp-wroom-32.cfg" 24 | }, 25 | "frameworks": [ 26 | "arduino", 27 | "espidf" 28 | ], 29 | "name": "Wireless-Tag WT32-ETH01 Ethernet Module", 30 | "upload": { 31 | "flash_size": "4MB", 32 | "maximum_ram_size": 327680, 33 | "maximum_size": 4194304, 34 | "require_upload_port": true, 35 | "speed": 460800 36 | }, 37 | "url": "http://www.wireless-tag.com/portfolio/wt32-eth01/", 38 | "vendor": "Wireless-Tag" 39 | } 40 | -------------------------------------------------------------------------------- /examples/espidf-ulp-adc/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "ulp_adc_example_main.c" 2 | INCLUDE_DIRS "" 3 | REQUIRES soc nvs_flash ulp driver) 4 | # 5 | # ULP support additions to component CMakeLists.txt. 6 | # 7 | # 1. The ULP app name must be unique (if multiple components use ULP). 8 | set(ulp_app_name ulp_main) 9 | # 10 | # 2. Specify all assembly source files. 11 | # Files should be placed into a separate directory (in this case, ulp/), 12 | # which should not be added to COMPONENT_SRCS. 13 | set(ulp_s_sources "../ulp/adc.S") 14 | # 15 | # 3. List all the component source files which include automatically 16 | # generated ULP export file, ${ulp_app_name}.h: 17 | set(ulp_exp_dep_srcs "ulp_adc_example_main.c") 18 | # 19 | # 4. Call function to build ULP binary and embed in project using the argument 20 | # values above. 21 | ulp_embed_binary(${ulp_app_name} ${ulp_s_sources} ${ulp_exp_dep_srcs}) 22 | -------------------------------------------------------------------------------- /boards/esp32-evb.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_EVB", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "hwids": [["0x1A86", "0x7523"]], 12 | "mcu": "esp32", 13 | "variant": "esp32-evb" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "openocd_board": "esp-wroom-32.cfg" 23 | }, 24 | "frameworks": [ 25 | "arduino", 26 | "espidf" 27 | ], 28 | "name": "OLIMEX ESP32-EVB", 29 | "upload": { 30 | "flash_size": "4MB", 31 | "maximum_ram_size": 327680, 32 | "maximum_size": 4194304, 33 | "require_upload_port": true, 34 | "speed": 460800 35 | }, 36 | "url": "https://www.olimex.com/Products/IoT/ESP32-EVB/open-source-hardware", 37 | "vendor": "OLIMEX" 38 | } 39 | -------------------------------------------------------------------------------- /boards/denky32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_DENKY_WROOM32", 9 | "-DBOARD_HAS_PSRAM", 10 | "-mfix-esp32-psram-cache-issue", 11 | "-mfix-esp32-psram-cache-strategy=memw" 12 | ], 13 | "f_cpu": "240000000L", 14 | "f_flash": "80000000L", 15 | "flash_mode": "dio", 16 | "mcu": "esp32", 17 | "variant": "ch_denky" 18 | }, 19 | "connectivity": [ 20 | "wifi", 21 | "bluetooth", 22 | "ethernet", 23 | "can" 24 | ], 25 | "frameworks": [ 26 | "arduino", 27 | "espidf" 28 | ], 29 | "name": "Denky32 (WROOM32)", 30 | "upload": { 31 | "flash_size": "4MB", 32 | "maximum_ram_size": 327680, 33 | "maximum_size": 4194304, 34 | "require_upload_port": true, 35 | "speed": 460800 36 | }, 37 | "url": "https://en.wikipedia.org/wiki/ESP32", 38 | "vendor": "Denky" 39 | } 40 | -------------------------------------------------------------------------------- /boards/tinypico.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_TINYPICO", 9 | "-DBOARD_HAS_PSRAM", 10 | "-mfix-esp32-psram-cache-issue", 11 | "-mfix-esp32-psram-cache-strategy=memw" 12 | ], 13 | "f_cpu": "240000000L", 14 | "f_flash": "40000000L", 15 | "flash_mode": "dio", 16 | "mcu": "esp32", 17 | "variant": "um_tinypico" 18 | }, 19 | "connectivity": [ 20 | "wifi", 21 | "bluetooth", 22 | "ethernet", 23 | "can" 24 | ], 25 | "frameworks": [ 26 | "arduino", 27 | "espidf" 28 | ], 29 | "name": "Unexpected Maker TinyPICO", 30 | "upload": { 31 | "flash_size": "4MB", 32 | "maximum_ram_size": 327680, 33 | "maximum_size": 4194304, 34 | "require_upload_port": true, 35 | "speed": 460800 36 | }, 37 | "url": "https://www.tinypico.com", 38 | "vendor": "Unexpected Maker" 39 | } 40 | -------------------------------------------------------------------------------- /boards/trueverit-iot-driver-mk2.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_Trueverit_ESP32_Universal_IoT_Driver_MK_II", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32-trueverit-iot-driver-mkii" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Trueverit ESP32 Universal IoT Driver MK II", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://trueverit.com/", 36 | "vendor": "Trueverit" 37 | } 38 | -------------------------------------------------------------------------------- /examples/espidf-ulp-pulse/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "ulp_example_main.c" 2 | INCLUDE_DIRS "" 3 | REQUIRES soc nvs_flash ulp) 4 | # 5 | # ULP support additions to component CMakeLists.txt. 6 | # 7 | # 1. The ULP app name must be unique (if multiple components use ULP). 8 | set(ulp_app_name ulp_main) 9 | # 10 | # 2. Specify all assembly source files. 11 | # Files should be placed into a separate directory (in this case, ulp/), 12 | # which should not be added to COMPONENT_SRCS. 13 | set(ulp_s_sources "../ulp/pulse_cnt.S" "../ulp/wake_up.S") 14 | # 15 | # 3. List all the component source files which include automatically 16 | # generated ULP export file, ${ulp_app_name}.h: 17 | set(ulp_exp_dep_srcs "ulp_example_main.c") 18 | # 19 | # 4. Call function to build ULP binary and embed in project using the argument 20 | # values above. 21 | ulp_embed_binary(${ulp_app_name} "${ulp_s_sources}" "${ulp_exp_dep_srcs}") 22 | -------------------------------------------------------------------------------- /boards/m5stack-timer-cam.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_M5Stack_Timer_CAM", 9 | "-DBOARD_HAS_PSRAM", 10 | "-mfix-esp32-psram-cache-issue", 11 | "-mfix-esp32-psram-cache-strategy=memw" 12 | ], 13 | "f_cpu": "240000000L", 14 | "f_flash": "40000000L", 15 | "flash_mode": "dio", 16 | "mcu": "esp32", 17 | "variant": "m5stack_timer_cam" 18 | }, 19 | "connectivity": [ 20 | "wifi", 21 | "bluetooth", 22 | "ethernet", 23 | "can" 24 | ], 25 | "frameworks": [ 26 | "arduino", 27 | "espidf" 28 | ], 29 | "name": "M5Stack Timer CAM", 30 | "upload": { 31 | "flash_size": "4MB", 32 | "maximum_ram_size": 327680, 33 | "maximum_size": 4194304, 34 | "require_upload_port": true, 35 | "speed": 460800 36 | }, 37 | "url": "http://www.m5stack.com", 38 | "vendor": "M5Stack" 39 | } 40 | -------------------------------------------------------------------------------- /boards/esp32-gateway.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_GATEWAY", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "hwids": [["0x1A86", "0x7523"]], 12 | "mcu": "esp32", 13 | "variant": "esp32-gateway" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "openocd_board": "esp-wroom-32.cfg" 23 | }, 24 | "frameworks": [ 25 | "arduino", 26 | "espidf" 27 | ], 28 | "name": "OLIMEX ESP32-GATEWAY", 29 | "upload": { 30 | "flash_size": "4MB", 31 | "maximum_ram_size": 327680, 32 | "maximum_size": 4194304, 33 | "require_upload_port": true, 34 | "speed": 460800 35 | }, 36 | "url": "https://www.olimex.com/Products/IoT/ESP32-GATEWAY/open-source-hardware", 37 | "vendor": "OLIMEX" 38 | } 39 | -------------------------------------------------------------------------------- /boards/esp32-s2-kaluga-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32s2_out.ld" 5 | }, 6 | "core": "esp32", 7 | "f_cpu": "240000000L", 8 | "f_flash": "80000000L", 9 | "flash_mode": "qio", 10 | "mcu": "esp32s2", 11 | "variant": "esp32s2" 12 | }, 13 | "connectivity": [ 14 | "wifi" 15 | ], 16 | "debug": { 17 | "default_tool": "ftdi", 18 | "onboard_tools": [ 19 | "ftdi" 20 | ], 21 | "openocd_target": "esp32s2.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Espressif ESP32-S2-Kaluga-1 Kit", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-esp32-s2-kaluga-1-kit.html", 36 | "vendor": "Espressif" 37 | } 38 | -------------------------------------------------------------------------------- /boards/esp32cam.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "huge_app.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": "-DARDUINO_ESP32_DEV -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue", 9 | "f_cpu": "240000000L", 10 | "f_flash": "40000000L", 11 | "flash_mode": "dio", 12 | "mcu": "esp32", 13 | "variant": "esp32" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "openocd_board": "esp-wroom-32.cfg" 23 | }, 24 | "frameworks": [ 25 | "arduino", 26 | "espidf" 27 | ], 28 | "name": "AI Thinker ESP32-CAM", 29 | "upload": { 30 | "flash_size": "4MB", 31 | "maximum_ram_size": 327680, 32 | "maximum_size": 4194304, 33 | "require_upload_port": true, 34 | "speed": 460800 35 | }, 36 | "url": "https://wiki.ai-thinker.com/esp32-cam", 37 | "vendor": "AI Thinker" 38 | } 39 | -------------------------------------------------------------------------------- /boards/esp32thing_plus.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "default_16MB.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": "-DARDUINO_ESP32_THING_PLUS", 9 | "f_cpu": "240000000L", 10 | "f_flash": "40000000L", 11 | "flash_mode": "dio", 12 | "mcu": "esp32", 13 | "variant": "esp32thing_plus" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "openocd_board": "esp-wroom-32.cfg" 23 | }, 24 | "frameworks": [ 25 | "arduino", 26 | "espidf" 27 | ], 28 | "name": "SparkFun ESP32 Thing Plus", 29 | "upload": { 30 | "flash_size": "16MB", 31 | "maximum_ram_size": 327680, 32 | "maximum_size": 16777216, 33 | "require_upload_port": true, 34 | "speed": 460800 35 | }, 36 | "url": "https://www.sparkfun.com/products/15663", 37 | "vendor": "SparkFun Electronics" 38 | } 39 | -------------------------------------------------------------------------------- /boards/trueverit-iot-driver-mk3.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_Trueverit_ESP32_Universal_IoT_Driver_MK_III", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32-trueverit-iot-driver-mkiii" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "Trueverit ESP32 Universal IoT Driver MK III", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://trueverit.com/", 36 | "vendor": "Trueverit" 37 | } 38 | 39 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/include/aws_iot_shadow_key.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"). 5 | * You may not use this file except in compliance with the License. 6 | * A copy of the License is located at 7 | * 8 | * http://aws.amazon.com/apache2.0 9 | * 10 | * or in the "license" file accompanying this file. This file is distributed 11 | * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 12 | * express or implied. See the License for the specific language governing 13 | * permissions and limitations under the License. 14 | */ 15 | 16 | #ifndef SRC_SHADOW_AWS_IOT_SHADOW_KEY_H_ 17 | #define SRC_SHADOW_AWS_IOT_SHADOW_KEY_H_ 18 | 19 | #define SHADOW_CLIENT_TOKEN_STRING "clientToken" 20 | #define SHADOW_VERSION_STRING "version" 21 | 22 | #endif /* SRC_SHADOW_AWS_IOT_SHADOW_KEY_H_ */ 23 | -------------------------------------------------------------------------------- /boards/iotbusio.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32" 13 | }, 14 | "certified": true, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "default_tool": "iot-bus-jtag", 23 | "openocd_board": "esp-wroom-32.cfg" 24 | }, 25 | "frameworks": [ 26 | "arduino", 27 | "espidf" 28 | ], 29 | "name": "oddWires IoT-Bus Io", 30 | "upload": { 31 | "flash_size": "4MB", 32 | "maximum_ram_size": 327680, 33 | "maximum_size": 4194304, 34 | "require_upload_port": true, 35 | "speed": 460800 36 | }, 37 | "url": "http://www.oddwires.com/iot-bus-io-esp32-processor-with-wifi-and-bluetooth/", 38 | "vendor": "oddWires" 39 | } 40 | -------------------------------------------------------------------------------- /boards/vintlabs-devkit-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "vintlabsdevkitv1" 13 | }, 14 | "connectivity": [ 15 | "wifi", 16 | "bluetooth", 17 | "ethernet", 18 | "can" 19 | ], 20 | "debug": { 21 | "openocd_board": "esp-wroom-32.cfg" 22 | }, 23 | "frameworks": [ 24 | "arduino", 25 | "espidf" 26 | ], 27 | "name": "VintLabs ESP32 Devkit", 28 | "upload": { 29 | "flash_size": "4MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 4194304, 32 | "require_upload_port": true, 33 | "speed": 460800 34 | }, 35 | "url": "https://www.vintlabs.com/product/vintlabs-esp32-wroom32-iot-8x2a-pwm-driver-development-kit-4mb-flash-wifi-bluetooth/", 36 | "vendor": "VintLabs" 37 | } 38 | -------------------------------------------------------------------------------- /boards/heltec_wifi_lora_32_V2.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "default_8MB.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": "-DARDUINO_HELTEC_WIFI_LORA_32_V2", 9 | "f_cpu": "240000000L", 10 | "f_flash": "40000000L", 11 | "flash_mode": "dio", 12 | "mcu": "esp32", 13 | "variant": "heltec_wifi_lora_32_V2" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "openocd_board": "esp-wroom-32.cfg" 23 | }, 24 | "frameworks": [ 25 | "arduino", 26 | "espidf" 27 | ], 28 | "name": "Heltec WiFi LoRa 32 (V2)", 29 | "upload": { 30 | "flash_size": "8MB", 31 | "maximum_ram_size": 327680, 32 | "maximum_size": 8388608, 33 | "require_upload_port": true, 34 | "speed": 460800 35 | }, 36 | "url": "http://www.heltec.cn/project/wifi-lora-32/?lang=en", 37 | "vendor": "Heltec Automation" 38 | } 39 | -------------------------------------------------------------------------------- /boards/heltec_wireless_stick.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "default_8MB.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": "-DARDUINO_HELTEC_WIRELESS_STICK", 9 | "f_cpu": "240000000L", 10 | "f_flash": "40000000L", 11 | "flash_mode": "dio", 12 | "mcu": "esp32", 13 | "variant": "heltec_wireless_stick" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "openocd_board": "esp-wroom-32.cfg" 23 | }, 24 | "frameworks": [ 25 | "arduino", 26 | "espidf" 27 | ], 28 | "name": "Heltec Wireless Stick", 29 | "upload": { 30 | "flash_size": "8MB", 31 | "maximum_ram_size": 327680, 32 | "maximum_size": 8388608, 33 | "require_upload_port": true, 34 | "speed": 460800 35 | }, 36 | "url": "http://www.heltec.cn/project/wireless-stick/?lang=en", 37 | "vendor": "Heltec Automation" 38 | } 39 | -------------------------------------------------------------------------------- /boards/esp32-devkitlipo.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEVKIT_LIPO", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "qio", 11 | "hwids": [["0x1A86", "0x7523"]], 12 | "mcu": "esp32", 13 | "variant": "esp32-devkit-lipo" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "openocd_board": "esp-wroom-32.cfg" 23 | }, 24 | "frameworks": [ 25 | "arduino", 26 | "espidf" 27 | ], 28 | "name": "OLIMEX ESP32-DevKit-LiPo", 29 | "upload": { 30 | "flash_size": "4MB", 31 | "maximum_ram_size": 327680, 32 | "maximum_size": 4194304, 33 | "require_upload_port": true, 34 | "speed": 460800 35 | }, 36 | "url": "https://www.olimex.com/Products/IoT/ESP32/ESP32-DevKit-LiPo/open-source-hardware", 37 | "vendor": "OLIMEX" 38 | } 39 | -------------------------------------------------------------------------------- /boards/m5stack-fire.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "default_16MB.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": [ 9 | "-DARDUINO_M5STACK_FIRE", 10 | "-DBOARD_HAS_PSRAM", 11 | "-mfix-esp32-psram-cache-issue", 12 | "-mfix-esp32-psram-cache-strategy=memw" 13 | ], 14 | "f_cpu": "240000000L", 15 | "f_flash": "40000000L", 16 | "flash_mode": "dio", 17 | "mcu": "esp32", 18 | "variant": "m5stack_fire" 19 | }, 20 | "connectivity": [ 21 | "wifi", 22 | "bluetooth", 23 | "ethernet", 24 | "can" 25 | ], 26 | "frameworks": [ 27 | "arduino", 28 | "espidf" 29 | ], 30 | "name": "M5Stack FIRE", 31 | "upload": { 32 | "flash_size": "16MB", 33 | "maximum_ram_size": 4521984, 34 | "maximum_size": 16777216, 35 | "require_upload_port": true, 36 | "speed": 460800 37 | }, 38 | "url": "http://www.m5stack.com", 39 | "vendor": "M5Stack" 40 | } 41 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/tests/unit/src/aws_iot_tests_unit_runner.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"). 5 | * You may not use this file except in compliance with the License. 6 | * A copy of the License is located at 7 | * 8 | * http://aws.amazon.com/apache2.0 9 | * 10 | * or in the "license" file accompanying this file. This file is distributed 11 | * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 12 | * express or implied. See the License for the specific language governing 13 | * permissions and limitations under the License. 14 | */ 15 | 16 | /** 17 | * @file aws_iot_tests_unit_runner.cpp 18 | * @brief IoT Client Unit Testing - Runner 19 | */ 20 | 21 | #include 22 | 23 | int main(int ac, char **argv) { 24 | return CommandLineTestRunner::RunAllTests(ac, argv); 25 | } 26 | -------------------------------------------------------------------------------- /boards/briki_abc_esp32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "mbcwb", 7 | "extra_flags": "-DBRIKI_MBC_WB_ESP -DBRIKI_ABC -w", 8 | "f_cpu": "240000000L", 9 | "f_flash": "80000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "briki_mbcwb_esp32", 13 | "partitions": "8MB_ffat.csv" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "openocd_board": "esp-wroom-32.cfg" 23 | }, 24 | "frameworks": [ 25 | "arduino" 26 | ], 27 | "name": "Briki ABC (MBC-WB) - ESP32", 28 | "upload": { 29 | "flash_size": "8MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 3407872, 32 | "protocol": "mbctool", 33 | "protocols": [ 34 | "mbctool" 35 | ], 36 | "require_upload_port": true, 37 | "speed": 1500000 38 | }, 39 | "url": "https://briki.org", 40 | "vendor": "meteca" 41 | } 42 | -------------------------------------------------------------------------------- /boards/briki_mbc-wb_esp32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "mbcwb", 7 | "extra_flags": "-DBRIKI_MBC_WB_ESP -DBRIKI_MBC_WB -w", 8 | "f_cpu": "240000000L", 9 | "f_flash": "80000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "briki_mbcwb_esp32", 13 | "partitions": "8MB_ffat.csv" 14 | }, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "openocd_board": "esp-wroom-32.cfg" 23 | }, 24 | "frameworks": [ 25 | "arduino" 26 | ], 27 | "name": "Briki MBC-WB - ESP32", 28 | "upload": { 29 | "flash_size": "8MB", 30 | "maximum_ram_size": 327680, 31 | "maximum_size": 3407872, 32 | "protocol": "mbctool", 33 | "protocols": [ 34 | "mbctool" 35 | ], 36 | "require_upload_port": true, 37 | "speed": 1500000 38 | }, 39 | "url": "https://briki.org", 40 | "vendor": "meteca" 41 | } 42 | -------------------------------------------------------------------------------- /boards/ttgo-t-watch.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld", 5 | "partitions": "default_16MB.csv" 6 | }, 7 | "core": "esp32", 8 | "extra_flags": [ 9 | "-DARDUINO_TWATCH_BASE", 10 | "-DBOARD_HAS_PSRAM", 11 | "-mfix-esp32-psram-cache-issue", 12 | "-mfix-esp32-psram-cache-strategy=memw" 13 | ], 14 | "f_cpu": "240000000L", 15 | "f_flash": "40000000L", 16 | "flash_mode": "dio", 17 | "mcu": "esp32", 18 | "variant": "twatch" 19 | }, 20 | "connectivity": [ 21 | "wifi", 22 | "bluetooth", 23 | "ethernet", 24 | "can" 25 | ], 26 | "frameworks": [ 27 | "arduino", 28 | "espidf" 29 | ], 30 | "name": "TTGO T-Watch", 31 | "upload": { 32 | "flash_size": "16MB", 33 | "maximum_ram_size": 327680, 34 | "maximum_size": 16777216, 35 | "require_upload_port": true, 36 | "speed": 2000000 37 | }, 38 | "url": "https://github.com/Xinyuan-LilyGO/TTGO-T-Watch", 39 | "vendor": "TTGO" 40 | } 41 | -------------------------------------------------------------------------------- /boards/kb32-ft.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_ESP32_DEV", 9 | "-DBOARD_HAS_PSRAM", 10 | "-mfix-esp32-psram-cache-issue", 11 | "-mfix-esp32-psram-cache-strategy=memw" 12 | ], 13 | "f_cpu": "240000000L", 14 | "f_flash": "40000000L", 15 | "flash_mode": "dio", 16 | "mcu": "esp32", 17 | "variant": "esp32" 18 | }, 19 | "connectivity": [ 20 | "wifi", 21 | "bluetooth", 22 | "ethernet", 23 | "can" 24 | ], 25 | "debug": { 26 | "openocd_board": "esp-wroom-32.cfg" 27 | }, 28 | "frameworks": [ 29 | "arduino", 30 | "espidf" 31 | ], 32 | "name": "MakerAsia KB32-FT", 33 | "upload": { 34 | "flash_size": "4MB", 35 | "maximum_ram_size": 327680, 36 | "maximum_size": 4194304, 37 | "require_upload_port": true, 38 | "speed": 460800 39 | }, 40 | "url": "https://kb32ft.makerasia.com/", 41 | "vendor": "MakerAsia" 42 | } 43 | -------------------------------------------------------------------------------- /boards/deneyapkart.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_DYDK", 9 | "-DBOARD_HAS_PSRAM", 10 | "-mfix-esp32-psram-cache-issue", 11 | "-mfix-esp32-psram-cache-strategy=memw" 12 | ], 13 | "f_cpu": "240000000L", 14 | "f_flash": "40000000L", 15 | "flash_mode": "dio", 16 | "mcu": "esp32", 17 | "variant": "deneyapkart" 18 | }, 19 | "connectivity": [ 20 | "wifi", 21 | "bluetooth", 22 | "ethernet" 23 | ], 24 | "debug": { 25 | "openocd_board": "esp32-wrover.cfg" 26 | }, 27 | "frameworks": [ 28 | "arduino", 29 | "espidf" 30 | ], 31 | "name": "Deneyap Kart", 32 | "upload": { 33 | "flash_size": "4MB", 34 | "maximum_ram_size": 327680, 35 | "maximum_size": 4194304, 36 | "require_upload_port": true, 37 | "speed": 460800 38 | }, 39 | "url": "https://deneyapkart.org/magaza/urun-deneyap-kart.html", 40 | "vendor": "Deneyap" 41 | } 42 | -------------------------------------------------------------------------------- /boards/iotbusproteus.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32_DEV", 8 | "f_cpu": "240000000L", 9 | "f_flash": "40000000L", 10 | "flash_mode": "dio", 11 | "mcu": "esp32", 12 | "variant": "esp32" 13 | }, 14 | "certified": true, 15 | "connectivity": [ 16 | "wifi", 17 | "bluetooth", 18 | "ethernet", 19 | "can" 20 | ], 21 | "debug": { 22 | "default_tool": "iot-bus-jtag", 23 | "openocd_board": "esp-wroom-32.cfg" 24 | }, 25 | "frameworks": [ 26 | "arduino", 27 | "espidf" 28 | ], 29 | "name": "oddWires IoT-Bus Proteus", 30 | "upload": { 31 | "flash_size": "4MB", 32 | "maximum_ram_size": 327680, 33 | "maximum_size": 4194304, 34 | "require_upload_port": true, 35 | "speed": 460800 36 | }, 37 | "url": "http://www.oddwires.com/proteus-iot-bus-esp32-microprocessor-wi-fi-and-bluetooth-with-prototype-board-form-factor/", 38 | "vendor": "oddWires" 39 | } 40 | -------------------------------------------------------------------------------- /boards/deneyapkart1A.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_DYDK1A", 9 | "-DBOARD_HAS_PSRAM", 10 | "-mfix-esp32-psram-cache-issue", 11 | "-mfix-esp32-psram-cache-strategy=memw" 12 | ], 13 | "f_cpu": "240000000L", 14 | "f_flash": "40000000L", 15 | "flash_mode": "dio", 16 | "mcu": "esp32", 17 | "variant": "deneyapkart1A" 18 | }, 19 | "connectivity": [ 20 | "wifi", 21 | "bluetooth", 22 | "ethernet" 23 | ], 24 | "debug": { 25 | "openocd_board": "esp32-wrover.cfg" 26 | }, 27 | "frameworks": [ 28 | "arduino", 29 | "espidf" 30 | ], 31 | "name": "Deneyap Kart 1A", 32 | "upload": { 33 | "flash_size": "4MB", 34 | "maximum_ram_size": 327680, 35 | "maximum_size": 4194304, 36 | "require_upload_port": true, 37 | "speed": 460800 38 | }, 39 | "url": "https://deneyapkart.org/magaza/urun-deneyap-kart.html", 40 | "vendor": "Deneyap" 41 | } 42 | -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- 1 | name: "Unit Testing" 2 | 3 | on: [push, pull_request] 4 | 5 | jobs: 6 | build: 7 | strategy: 8 | fail-fast: false 9 | matrix: 10 | os: [ubuntu-latest, windows-latest, macos-latest] 11 | python-version: [3.7] 12 | example: 13 | - "examples/espidf-hello-world" 14 | runs-on: ${{ matrix.os }} 15 | steps: 16 | - uses: actions/checkout@v2 17 | with: 18 | submodules: "recursive" 19 | - name: Set up Python ${{ matrix.python-version }} 20 | uses: actions/setup-python@v3 21 | with: 22 | python-version: ${{ matrix.python-version }} 23 | - name: Install dependencies 24 | run: | 25 | python -m pip install --upgrade pip 26 | pip install -U https://github.com/platformio/platformio/archive/develop.zip 27 | pio pkg install --global --platform symlink://. 28 | - name: Build test 29 | run: | 30 | pio test -d ${{ matrix.example }} --without-uploading --without-testing 31 | -------------------------------------------------------------------------------- /examples/espidf-aws-iot/components/esp-aws-iot/aws-iot-device-sdk-embedded-C/tests/unit/README.md: -------------------------------------------------------------------------------- 1 | ## Unit Tests 2 | This folder contains unit tests to verify Embedded C SDK functionality. These have been tested to work with Linux using CppUTest as the testing framework. 3 | CppUTest is not provided along with this code. It needs to be separately downloaded. These tests have been verified to work with CppUTest v3.6, which can be found [here](https://github.com/cpputest/cpputest/tree/v3.6). 4 | Each test contains a comment describing what is being tested. The Tests can be run using the Makefile provided in the root folder for the SDK. There are a total of 187 tests. 5 | 6 | To run these tests, follow the below steps: 7 | 8 | * Copy the code for CppUTest v3.6 from github to external_libs/CppUTest 9 | * Navigate to SDK Root folder 10 | * run `make run-unit-tests` 11 | 12 | This will run all unit tests and generate coverage report in the build_output folder. The report can be viewed by opening /build_output/generated-coverage/index.html in a browser. -------------------------------------------------------------------------------- /boards/lolin_c3_mini.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino": { 4 | "ldscript": "esp32c3_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_LOLIN_C3_MINI", 9 | "-DARDUINO_USB_MODE=1", 10 | "-DARDUINO_USB_CDC_ON_BOOT=1" 11 | ], 12 | "f_cpu": "160000000L", 13 | "f_flash": "80000000L", 14 | "flash_mode": "qio", 15 | "hwids": [ 16 | [ 17 | "0X303A", 18 | "0x1001" 19 | ] 20 | ], 21 | "mcu": "esp32c3", 22 | "variant": "lolin_c3_mini" 23 | }, 24 | "connectivity": [ 25 | "wifi" 26 | ], 27 | "debug": { 28 | "openocd_target": "esp32c3.cfg" 29 | }, 30 | "frameworks": [ 31 | "arduino", 32 | "espidf" 33 | ], 34 | "name": "WEMOS LOLIN C3 Mini", 35 | "upload": { 36 | "flash_size": "4MB", 37 | "maximum_ram_size": 327680, 38 | "maximum_size": 4194304, 39 | "require_upload_port": true, 40 | "speed": 460800 41 | }, 42 | "url": "https://www.wemos.cc/en/latest/c3/c3_mini.html", 43 | "vendor": "WEMOS" 44 | } 45 | -------------------------------------------------------------------------------- /boards/sparkfun_esp32s2_thing_plus.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32s2_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_ESP32S2_THING_PLUS", 8 | "f_cpu": "240000000L", 9 | "f_flash": "80000000L", 10 | "flash_mode": "qio", 11 | "hwids": [ 12 | [ 13 | "0x1B4F", 14 | "0x0027" 15 | ] 16 | ], 17 | "mcu": "esp32s2", 18 | "variant": "esp32s2thing_plus" 19 | }, 20 | "connectivity": [ 21 | "wifi" 22 | ], 23 | "debug": { 24 | "openocd_target": "esp32s2.cfg" 25 | }, 26 | "frameworks": [ 27 | "arduino", 28 | "espidf" 29 | ], 30 | "name": "SparkFun ESP32-S2 Thing Plus", 31 | "upload": { 32 | "flash_size": "4MB", 33 | "maximum_ram_size": 327680, 34 | "maximum_size": 4194304, 35 | "use_1200bps_touch": true, 36 | "wait_for_upload_port": true, 37 | "require_upload_port": true, 38 | "speed": 460800 39 | }, 40 | "url": "https://www.sparkfun.com/products/17743", 41 | "vendor": "SparkFun" 42 | } 43 | -------------------------------------------------------------------------------- /boards/deneyapmini.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32s2_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": "-DARDUINO_DYM", 8 | "f_cpu": "240000000L", 9 | "f_flash": "80000000L", 10 | "flash_mode": "qio", 11 | "hwids": [ 12 | [ 13 | "0x303A", 14 | "0x0002" 15 | ] 16 | ], 17 | "mcu": "esp32s2", 18 | "variant": "deneyapmini" 19 | }, 20 | "connectivity": [ 21 | "wifi", 22 | "bluetooth", 23 | "ethernet" 24 | ], 25 | "debug": { 26 | "openocd_target": "esp32s2.cfg" 27 | }, 28 | "frameworks": [ 29 | "arduino", 30 | "espidf" 31 | ], 32 | "name": "Deneyap Mini", 33 | "upload": { 34 | "flash_size": "4MB", 35 | "maximum_ram_size": 327680, 36 | "maximum_size": 4194304, 37 | "use_1200bps_touch": true, 38 | "wait_for_upload_port": true, 39 | "require_upload_port": true, 40 | "speed": 460800 41 | }, 42 | "url": "https://deneyapkart.org/magaza/urun-deneyap-kart-mini.html", 43 | "vendor": "Deneyap" 44 | } 45 | -------------------------------------------------------------------------------- /examples/arduino-usb-keyboard/src/KeyboardSerial.ino: -------------------------------------------------------------------------------- 1 | /* 2 | Keyboard test 3 | 4 | Reads a byte from the serial port, sends a keystroke back. 5 | The sent keystroke is one higher than what's received, e.g. if you send a, 6 | you get b, send A you get B, and so forth. 7 | 8 | The circuit: 9 | - none 10 | 11 | created 21 Oct 2011 12 | modified 27 Mar 2012 13 | by Tom Igoe 14 | 15 | This example code is in the public domain. 16 | 17 | http://www.arduino.cc/en/Tutorial/KeyboardSerial 18 | */ 19 | 20 | #include "USB.h" 21 | #include "USBHIDKeyboard.h" 22 | USBHIDKeyboard Keyboard; 23 | 24 | void setup() { 25 | // open the serial port: 26 | Serial.begin(115200); 27 | // initialize control over the keyboard: 28 | Keyboard.begin(); 29 | USB.begin(); 30 | } 31 | 32 | void loop() { 33 | // check for incoming serial data: 34 | if (Serial.available() > 0) { 35 | // read incoming serial data: 36 | char inChar = Serial.read(); 37 | // Type the next ASCII value from what you received: 38 | Keyboard.write(inChar + 1); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /boards/lionbit.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_LIONBIT", 9 | "-DARDUINO_RUNNING_CORE=1", 10 | "-DARDUINO_EVENT_RUNNING_CORE=1" 11 | ], 12 | "f_cpu": "240000000L", 13 | "f_flash": "40000000L", 14 | "flash_mode": "dio", 15 | "flags" : "-DCORE_DEBUG_LEVEL=5", 16 | "mcu": "esp32", 17 | "variant": "lionbit" 18 | }, 19 | "connectivity": [ 20 | "wifi", 21 | "bluetooth", 22 | "ethernet", 23 | "can" 24 | ], 25 | "debug": { 26 | "openocd_board": "esp-wroom-32.cfg" 27 | }, 28 | "frameworks": [ 29 | "arduino", 30 | "espidf" 31 | ], 32 | "name": "Lion:Bit Dev Board", 33 | "upload": { 34 | "flash_size": "4MB", 35 | "maximum_ram_size": 327680, 36 | "maximum_size": 4194304, 37 | "require_upload_port": true, 38 | "speed": 115200 39 | }, 40 | "monitor": { 41 | "speed" : 115200 42 | }, 43 | "url": "http://lionbit.lk/", 44 | "vendor": "Lion:Bit" 45 | } 46 | -------------------------------------------------------------------------------- /boards/adafruit_qtpy_esp32.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "arduino":{ 4 | "ldscript": "esp32_out.ld" 5 | }, 6 | "core": "esp32", 7 | "extra_flags": [ 8 | "-DARDUINO_ADAFRUIT_QTPY_ESP32_PICO", 9 | "-DBOARD_HAS_PSRAM", 10 | "-mfix-esp32-psram-cache-issue", 11 | "-mfix-esp32-psram-cache-strategy=memw" 12 | ], 13 | "f_cpu": "240000000L", 14 | "f_flash": "40000000L", 15 | "flash_mode": "dio", 16 | "mcu": "esp32", 17 | "variant": "adafruit_qtpy_esp32" 18 | }, 19 | "connectivity": [ 20 | "wifi", 21 | "bluetooth", 22 | "ethernet", 23 | "can" 24 | ], 25 | "debug": { 26 | "openocd_board": "esp-wroom-32.cfg" 27 | }, 28 | "frameworks": [ 29 | "arduino", 30 | "espidf" 31 | ], 32 | "name": "Adafruit QT Py ESP32", 33 | "upload": { 34 | "flash_size": "8MB", 35 | "maximum_ram_size": 327680, 36 | "maximum_size": 8388608, 37 | "require_upload_port": true, 38 | "speed": 460800 39 | }, 40 | "url": "https://www.adafruit.com/product/5395", 41 | "vendor": "Adafruit" 42 | } 43 | --------------------------------------------------------------------------------