diff --git a/reference-designs/M5Stamp-C3U/.gitignore b/reference-designs/M5Stamp-C3U/.gitignore new file mode 100644 index 0000000..c391df7 --- /dev/null +++ b/reference-designs/M5Stamp-C3U/.gitignore @@ -0,0 +1,39 @@ +# Prerequisites +*.d + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod +*.smod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + +### PlatformIO ### +.pioenvs +.piolibdeps +.clang_complete +.gcc-flags.json +.pio diff --git a/reference-designs/M5Stamp-C3U/.vscode/c_cpp_properties.json b/reference-designs/M5Stamp-C3U/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..065b351 --- /dev/null +++ b/reference-designs/M5Stamp-C3U/.vscode/c_cpp_properties.json @@ -0,0 +1,508 @@ +// +// !!! WARNING !!! AUTO-GENERATED FILE! +// PLEASE DO NOT MODIFY IT AND USE "platformio.ini": +// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags +// +{ + "configurations": [ + { + "name": "PlatformIO", + "includePath": [ + "/Users/dkords/dev/repos/M5Stamp-C3U/include", + "/Users/dkords/dev/repos/M5Stamp-C3U/src", + "/Users/dkords/dev/repos/M5Stamp-C3U/.pio/libdeps/esp32c3/Adafruit NeoPixel", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/newlib/platform_include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include/esp_additions/freertos", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/port/riscv/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include/esp_additions", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/soc", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/soc/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3/private_include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/heap/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/log/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/include/apps", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/include/apps/sntp", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/lwip/src/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/port/esp32/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/port/esp32/include/arch", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/platform_port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/include/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/soc", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/include/riscv", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/public_compat", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/riscv/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/driver/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/driver/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_pm/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_ringbuf/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/efuse/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/efuse/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/vfs/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_wifi/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_event/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_netif/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_eth/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/tcpip_adapter/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_phy/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_phy/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_ipc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/app_trace/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_timer/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/mbedtls/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/esp_crt_bundle/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/app_update/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/spi_flash/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bootloader_support/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nvs_flash/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/pthread/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/riscv", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espcoredump/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espcoredump/include/port/riscv", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/esp_supplicant/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/ieee802154/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/console", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/asio/asio/asio/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/asio/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/osi/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/include/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/api/include/api", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/blufi/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/host/bluedroid/api/include/api", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_common/tinycrypt/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_core", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_core/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_core/storage", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/btc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_models/common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_models/client/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_models/server/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/api/core/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/api/models/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/api", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/cbor/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/unity/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/unity/unity/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/cmock/CMock/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/coap/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/coap/libcoap/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nghttp/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nghttp/nghttp2/lib/includes", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-tls", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-tls/esp-tls-crypto", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_adc_cal/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hid/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/tcp_transport/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_http_client/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_http_server/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_https_ota/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_https_server/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_lcd/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_lcd/interface", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protobuf-c/protobuf-c", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/common", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/security", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/transports", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mdns/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_local_ctrl/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/sdmmc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_serial_slave_link/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_websocket_client/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/expat/expat/expat/lib", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/expat/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wear_levelling/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/diskio", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/vfs", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freemodbus/freemodbus/common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/idf_test/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/idf_test/include/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/jsmn/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json/cJSON", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/libsodium/libsodium/src/libsodium/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/libsodium/port_include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mqtt/esp-mqtt/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/openssl/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/spiffs/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wifi_provisioning/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/rmaker_common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_diagnostics/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/rtc_store/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_insights/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_parser/upstream/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_parser/upstream", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_generator/upstream", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_schedule/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp_secure_cert_mgr/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rainmaker/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/gpio_button/button/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/qrcode/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/ws2812_led", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_littlefs/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/tool", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/typedef", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/image", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/math", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/nn", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/layer", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/detect", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/model_zoo", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp32-camera/driver/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp32-camera/conversions/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/dotprod/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/support/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/support/mem/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/hann/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/blackman/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/blackman_harris/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/blackman_nuttall/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/nuttall/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/flat_top/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/iir/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/fir/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/add/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/sub/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/mul/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/addc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/mulc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/sqrt/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/mul/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/add/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/addc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/mulc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/sub/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/fft/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/dct/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/conv/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/mul/test/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/kalman/ekf/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/kalman/ekf_imu13states/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fb_gfx/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/dio_qspi/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/cores/esp32", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/variants/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/FS/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdateServer/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/I2S/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Insights/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/LittleFS/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/RainMaker/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/SD/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/USB/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Update/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/WiFiProv/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src", + "" + ], + "browse": { + "limitSymbolsToIncludedHeaders": true, + "path": [ + "/Users/dkords/dev/repos/M5Stamp-C3U/include", + "/Users/dkords/dev/repos/M5Stamp-C3U/src", + "/Users/dkords/dev/repos/M5Stamp-C3U/.pio/libdeps/esp32c3/Adafruit NeoPixel", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/newlib/platform_include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include/esp_additions/freertos", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/port/riscv/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freertos/include/esp_additions", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/soc", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/include/soc/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hw_support/port/esp32c3/private_include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/heap/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/log/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/include/apps", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/include/apps/sntp", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/lwip/src/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/port/esp32/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/lwip/port/esp32/include/arch", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/soc/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/hal/platform_port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/include/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rom/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/soc", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/include/riscv", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_system/port/public_compat", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/riscv/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/driver/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/driver/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_pm/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_ringbuf/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/efuse/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/efuse/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/vfs/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_wifi/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_event/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_netif/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_eth/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/tcpip_adapter/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_phy/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_phy/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_ipc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/app_trace/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_timer/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/mbedtls/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mbedtls/esp_crt_bundle/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/app_update/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/spi_flash/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bootloader_support/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nvs_flash/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/pthread/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/riscv", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_gdbstub/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espcoredump/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espcoredump/include/port/riscv", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wpa_supplicant/esp_supplicant/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/ieee802154/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/console", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/asio/asio/asio/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/asio/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/osi/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/include/esp32c3/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/api/include/api", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/blufi/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/common/btc/profile/esp/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/host/bluedroid/api/include/api", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_common/tinycrypt/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_core", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_core/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_core/storage", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/btc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_models/common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_models/client/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/mesh_models/server/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/api/core/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/api/models/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/bt/esp_ble_mesh/api", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/cbor/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/unity/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/unity/unity/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/cmock/CMock/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/coap/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/coap/libcoap/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nghttp/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/nghttp/nghttp2/lib/includes", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-tls", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-tls/esp-tls-crypto", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_adc_cal/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_hid/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/tcp_transport/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_http_client/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_http_server/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_https_ota/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_https_server/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_lcd/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_lcd/interface", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protobuf-c/protobuf-c", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/common", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/security", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/protocomm/include/transports", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mdns/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_local_ctrl/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/sdmmc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_serial_slave_link/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_websocket_client/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/expat/expat/expat/lib", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/expat/port/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wear_levelling/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/diskio", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/vfs", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fatfs/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/freemodbus/freemodbus/common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/idf_test/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/idf_test/include/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/jsmn/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json/cJSON", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/libsodium/libsodium/src/libsodium/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/libsodium/port_include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/mqtt/esp-mqtt/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/openssl/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/spiffs/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/wifi_provisioning/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/rmaker_common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_diagnostics/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/rtc_store/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_insights/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_parser/upstream/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_parser/upstream", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/json_generator/upstream", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_schedule/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp_secure_cert_mgr/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_rainmaker/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/gpio_button/button/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/qrcode/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/ws2812_led", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp_littlefs/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/tool", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/typedef", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/image", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/math", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/nn", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/layer", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/detect", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp-dl/include/model_zoo", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp32-camera/driver/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/esp32-camera/conversions/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/dotprod/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/support/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/support/mem/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/hann/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/blackman/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/blackman_harris/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/blackman_nuttall/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/nuttall/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/windows/flat_top/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/iir/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/fir/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/add/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/sub/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/mul/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/addc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/mulc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/math/sqrt/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/mul/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/add/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/addc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/mulc/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/sub/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/fft/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/dct/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/conv/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/common/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/matrix/mul/test/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/kalman/ekf/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/espressif__esp-dsp/modules/kalman/ekf_imu13states/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/fb_gfx/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/dio_qspi/include", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/cores/esp32", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/variants/esp32c3", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/FS/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdateServer/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/I2S/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Insights/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/LittleFS/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/RainMaker/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/SD/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/USB/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Update/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/WiFiProv/src", + "/Users/dkords/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src", + "" + ] + }, + "defines": [ + "PLATFORMIO=60116", + "ARDUINO_ESP32C3_DEV", + "ARDUINO_ESP32C3_DEV", + "HAVE_CONFIG_H", + "MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"", + "UNITY_INCLUDE_CONFIG_H", + "WITH_POSIX", + "_GNU_SOURCE", + "IDF_VER=\"v4.4.7-dirty\"", + "ESP_PLATFORM", + "_POSIX_READER_WRITER_LOCKS", + "ARDUINO_ARCH_ESP32", + "ESP32", + "F_CPU=160000000L", + "ARDUINO=10812", + "ARDUINO_VARIANT=\"esp32c3\"", + "ARDUINO_BOARD=\"Espressif ESP32-C3-DevKitM-1\"", + "ARDUINO_PARTITION_huge_app", + "" + ], + "cStandard": "gnu99", + "cppStandard": "gnu++11", + "compilerPath": "/Users/dkords/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/bin/riscv32-esp-elf-gcc", + "compilerArgs": [ + "-march=rv32imc", + "" + ] + } + ], + "version": 4 +} diff --git a/reference-designs/M5Stamp-C3U/.vscode/extensions.json b/reference-designs/M5Stamp-C3U/.vscode/extensions.json new file mode 100644 index 0000000..080e70d --- /dev/null +++ b/reference-designs/M5Stamp-C3U/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "platformio.platformio-ide" + ], + "unwantedRecommendations": [ + "ms-vscode.cpptools-extension-pack" + ] +} diff --git a/reference-designs/M5Stamp-C3U/.vscode/launch.json b/reference-designs/M5Stamp-C3U/.vscode/launch.json new file mode 100644 index 0000000..8f871df --- /dev/null +++ b/reference-designs/M5Stamp-C3U/.vscode/launch.json @@ -0,0 +1,44 @@ +// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY +// +// PlatformIO Debugging Solution +// +// Documentation: https://docs.platformio.org/en/latest/plus/debugging.html +// Configuration: https://docs.platformio.org/en/latest/projectconf/sections/env/options/debug/index.html + +{ + "version": "0.2.0", + "configurations": [ + { + "type": "platformio-debug", + "request": "launch", + "name": "PIO Debug", + "executable": "/Users/dkords/dev/repos/M5Stamp-C3U/.pio/build/esp32c3/firmware.elf", + "projectEnvName": "esp32c3", + "toolchainBinDir": "/Users/dkords/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/bin", + "internalConsoleOptions": "openOnSessionStart", + "preLaunchTask": { + "type": "PlatformIO", + "task": "Pre-Debug" + } + }, + { + "type": "platformio-debug", + "request": "launch", + "name": "PIO Debug (skip Pre-Debug)", + "executable": "/Users/dkords/dev/repos/M5Stamp-C3U/.pio/build/esp32c3/firmware.elf", + "projectEnvName": "esp32c3", + "toolchainBinDir": "/Users/dkords/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/bin", + "internalConsoleOptions": "openOnSessionStart" + }, + { + "type": "platformio-debug", + "request": "launch", + "name": "PIO Debug (without uploading)", + "executable": "/Users/dkords/dev/repos/M5Stamp-C3U/.pio/build/esp32c3/firmware.elf", + "projectEnvName": "esp32c3", + "toolchainBinDir": "/Users/dkords/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/bin", + "internalConsoleOptions": "openOnSessionStart", + "loadMode": "manual" + } + ] +} diff --git a/reference-designs/M5Stamp-C3U/INO files/ESP32C3-I2Cscan.ino b/reference-designs/M5Stamp-C3U/INO files/ESP32C3-I2Cscan.ino new file mode 100644 index 0000000..de02a64 --- /dev/null +++ b/reference-designs/M5Stamp-C3U/INO files/ESP32C3-I2Cscan.ino @@ -0,0 +1,54 @@ + +/********* + Based on Rui Santos + Complete project details at https://randomnerdtutorials.com +*********/ + +#include +#include + +//#define I2C_SDA 1 +//#define I2C_SCL 0 + + +#define I2C_SDA 6 +#define I2C_SCL 7 + +void setup() { + Wire.begin(I2C_SDA, I2C_SCL); + Serial.begin(115200); + Serial.println("\nI2C Scanner"); +} + +void loop() { // start + byte error, address; + int nDevices; + Serial.println("Scanning..."); + nDevices = 0; + for(address = 1; address < 127; address++ ) { + Wire.beginTransmission(address); + error = Wire.endTransmission(); + if (error == 0) { + Serial.print("I2C device found at address 0x"); + if (address<16) { + Serial.print("0"); + } + Serial.println(address,HEX); + nDevices++; + } + else if (error==4) { + Serial.print("Unknow error at address 0x"); + if (address<16) { + Serial.print("0"); + } + Serial.println(address,HEX); + } + } + if (nDevices == 0) { + Serial.println("No I2C devices found\n"); + } + else { + Serial.println("done\n"); + } + delay(5000); +} // end \ No newline at end of file diff --git a/reference-designs/M5Stamp-C3U/LICENSE b/reference-designs/M5Stamp-C3U/LICENSE new file mode 100644 index 0000000..3c577b0 --- /dev/null +++ b/reference-designs/M5Stamp-C3U/LICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to \ No newline at end of file diff --git a/reference-designs/M5Stamp-C3U/README.md b/reference-designs/M5Stamp-C3U/README.md new file mode 100644 index 0000000..38a3347 --- /dev/null +++ b/reference-designs/M5Stamp-C3U/README.md @@ -0,0 +1,63 @@ +# Overview + +This is a template for an M5StackC3U / PlatformIO. + +Because this is slightly exotic as a platform, verify that this works as a basis for a platform. + +Original fork was forked from a free rtos oriented project using IDF. + +https://github.com/leCandas/M5Stamp-C3 + + +## This is an example project for M5Stamp C3U on PlatformIO + +Project forked to explore how to use this board. +### Work in progress: +- [x] Setup things with Arduino IDE 1.8.19, boards and lib. +Here on Master branch. +- [x] Understand how to communicate with I2C, +Check branch [I2Cscan](https://github.com/nicolasdb/M5Stamp-C3U/tree/I2Cscan) +- [x] Play with a Oled .096 display and the ~~ENV unit~~ DHT11, +Check branch [OledDHT11](https://github.com/nicolasdb/M5Stamp-C3U/tree/OledDHT11) +- [x] Expand GPIO with MCP23017 and I2C. +Check branch [mcp23017](https://github.com/nicolasdb/M5Stamp-C3U/tree/mcp23017) +- [x] Then go back to setup the board in platform.io, +Here on Master branch. +- [ ] connect and log data with the "data logger shield for WIFI D1 MINI" +- [ ] measuring of State of a battery (V) and power form solar pannel (A) +- [ ] return the tilt values from ADXL345 on a graph with web server. + +---- + +### Notes: +Pay attention to the model you have. +- C3 need a FTDI driver +- C3U doesn't but need to be in program download mode. + +For more stuff, check the [issue #1](https://github.com/nicolasdb/M5Stamp-C3U/issues/1) + +#### - To use with Arduino IDE +[https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-arduino-ide](https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-arduino-ide) + +#### - To use with Platform.io + +Clone this repo, everything is adjusted in `platformio.ini` +Just build and upload + +#### - Test program +`main.cpp` : Internal led will change its color with each press on the button. + +> For ARDUINO IDE: You can copy/paste the code from `main.cpp` Don't forget to install libraries. + +#### - To enter into "program download" mode operation: + +- Long press the center button (G9) of STAMP C3U under power failure condition. +- Connect USB to the computer while holding the button, + +after that, the port is successfully identified, program burning. + +> Windows 10, Arduino IDE +![image](https://user-images.githubusercontent.com/12049360/185742555-b4190a52-7720-4787-beb9-55e36e271cf4.png) + +> Manjaro kernel 5.15 LTS, Arduino IDE +![image](https://user-images.githubusercontent.com/12049360/189372496-20315b99-53ec-4071-b5c7-1e33a9ff0d8e.png) diff --git a/reference-designs/M5Stamp-C3U/include/README b/reference-designs/M5Stamp-C3U/include/README new file mode 100644 index 0000000..194dcd4 --- /dev/null +++ b/reference-designs/M5Stamp-C3U/include/README @@ -0,0 +1,39 @@ + +This directory is intended for project header files. + +A header file is a file containing C declarations and macro definitions +to be shared between several project source files. You request the use of a +header file in your project source file (C, C++, etc) located in `src` folder +by including it, with the C preprocessing directive `#include'. + +```src/main.c + +#include "header.h" + +int main (void) +{ + ... +} +``` + +Including a header file produces the same results as copying the header file +into each source file that needs it. Such copying would be time-consuming +and error-prone. With a header file, the related declarations appear +in only one place. If they need to be changed, they can be changed in one +place, and programs that include the header file will automatically use the +new version when next recompiled. The header file eliminates the labor of +finding and changing all the copies as well as the risk that a failure to +find one copy will result in inconsistencies within a program. + +In C, the usual convention is to give header files names that end with `.h'. +It is most portable to use only letters, digits, dashes, and underscores in +header file names, and at most one dot. + +Read more about using header files in official GCC documentation: + +* Include Syntax +* Include Operation +* Once-Only Headers +* Computed Includes + +https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/reference-designs/M5Stamp-C3U/lib/README b/reference-designs/M5Stamp-C3U/lib/README new file mode 100644 index 0000000..6debab1 --- /dev/null +++ b/reference-designs/M5Stamp-C3U/lib/README @@ -0,0 +1,46 @@ + +This directory is intended for project specific (private) libraries. +PlatformIO will compile them to static libraries and link into executable file. + +The source code of each library should be placed in a an own separate directory +("lib/your_library_name/[here are source files]"). + +For example, see a structure of the following two libraries `Foo` and `Bar`: + +|--lib +| | +| |--Bar +| | |--docs +| | |--examples +| | |--src +| | |- Bar.c +| | |- Bar.h +| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html +| | +| |--Foo +| | |- Foo.c +| | |- Foo.h +| | +| |- README --> THIS FILE +| +|- platformio.ini +|--src + |- main.c + +and a contents of `src/main.c`: +``` +#include +#include + +int main (void) +{ + ... +} + +``` + +PlatformIO Library Dependency Finder will find automatically dependent +libraries scanning project source files. + +More information about PlatformIO Library Dependency Finder +- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/reference-designs/M5Stamp-C3U/platformio.ini b/reference-designs/M5Stamp-C3U/platformio.ini new file mode 100644 index 0000000..3acf279 --- /dev/null +++ b/reference-designs/M5Stamp-C3U/platformio.ini @@ -0,0 +1,49 @@ +; PlatformIO Project Configuration File +; +; Build options: build flags, source filter +; Upload options: custom upload port, speed and extra flags +; Library options: dependencies, extra library storages +; Advanced options: extra scripting +; +; Please visit documentation for the other options and examples +; https://docs.platformio.org/page/projectconf.html + +[env:esp32c3] +platform = espressif32 +# platform = +# https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master +# platform_packages = +# framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.3 +# platformio/tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v3.2/esptool-v3.2.zip +framework = arduino +board = esp32-c3-devkitm-1 +board_build.mcu = esp32c3 +board_build.partitions = huge_app.csv +board_build.variant = esp32c3 +board_build.f_cpu = 160000000L +board_build.f_flash = 80000000L +board_build.flash_mode = dio +board_build.arduino.ldscript = esp32c3_out.ld +build_unflags = + -DARDUINO_ESP32_DEV +; -DARDUINO_VARIANT="esp32" +build_flags = + -DARDUINO_ESP32C3_DEV +; -DARDUINO_VARIANT="esp32c3" +lib_deps = + adafruit/Adafruit NeoPixel@^1.10.4 +monitor_speed = 115200 +monitor_filters = time + + + + + ; Work also with: +; [env:ESP32-C3] +; platform = espressif32 +; platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.3 +; board = esp32-c3-devkitm-1 +; framework = arduino +; lib_deps = adafruit/Adafruit NeoPixel@^1.10.4 +; ;upload_port = COM8 +; board_build.flash_mode = dio \ No newline at end of file diff --git a/reference-designs/M5Stamp-C3U/src/main.cpp b/reference-designs/M5Stamp-C3U/src/main.cpp new file mode 100644 index 0000000..c89b3df --- /dev/null +++ b/reference-designs/M5Stamp-C3U/src/main.cpp @@ -0,0 +1,63 @@ + +#include + +#define BUTTON 9 +#define LED 2 +#define NUMPIXELS 1 + +Adafruit_NeoPixel pixels(NUMPIXELS, LED, NEO_GRB + NEO_KHZ800); + +int lastState = HIGH; +int currentState; + +int buttonCount = 1; + +void setup() { + Serial.begin(115200); + pixels.begin(); + pinMode(BUTTON, INPUT_PULLUP); +} + +int high = 255; +int mid = 128; +int low = 0; + +void setLed() { + pixels.clear(); + switch (buttonCount) { + case 1: + pixels.setPixelColor(0, pixels.Color(high, low, low)); + break; + case 2: + pixels.setPixelColor(0, pixels.Color(high, mid, mid)); + break; + case 3: + pixels.setPixelColor(0, pixels.Color(low, high, low)); + break; + case 4: + pixels.setPixelColor(0, pixels.Color(mid, high, mid)); + break; + case 5: + pixels.setPixelColor(0, pixels.Color(low, low, high)); + break; + case 6: + pixels.setPixelColor(0, pixels.Color(mid, mid, high)); + break; + default: + break; + } + pixels.show(); +} + +void loop() { + currentState = digitalRead(BUTTON); + if(lastState == LOW && currentState == HIGH) { + Serial.println("Button Pressed!"); + buttonCount++; + if (buttonCount > 6) { + buttonCount = 1; + } + setLed(); + } + lastState = currentState; +} diff --git a/reference-designs/M5Stamp-C3U/test/README b/reference-designs/M5Stamp-C3U/test/README new file mode 100644 index 0000000..b94d089 --- /dev/null +++ b/reference-designs/M5Stamp-C3U/test/README @@ -0,0 +1,11 @@ + +This directory is intended for PlatformIO Unit Testing and project tests. + +Unit Testing is a software testing method by which individual units of +source code, sets of one or more MCU program modules together with associated +control data, usage procedures, and operating procedures, are tested to +determine whether they are fit for use. Unit testing finds problems early +in the development cycle. + +More information about PlatformIO Unit Testing: +- https://docs.platformio.org/page/plus/unit-testing.html