From 11d59310f7a18b141002b76341bc0433110540b3 Mon Sep 17 00:00:00 2001 From: tjfsteele Date: Sat, 24 Feb 2024 21:22:39 +0000 Subject: [PATCH] Add support for ESP32-C3 --- platformio.ini | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/platformio.ini b/platformio.ini index d35ca48..c5de1d9 100644 --- a/platformio.ini +++ b/platformio.ini @@ -79,6 +79,24 @@ build_flags = ; -D RFLINK_SERIAL2NET_DEBUG ; -DCORE_DEBUG_LEVEL=5 +[env:genericESP32c3] +extends = ESP32_base +board = esp32-c3-devkitm-1 +;upload_port=COM8 +;monitor_port=COM8 +upload_speed = 921600 +build_flags = + -D RFLINK_WIFI_ENABLED +; -D RFLINK_MQTT_DISABLED +; -D RFLINK_PORTAL_DISABLED +; -D RADIOLIB_DEBUG +; -D RFLINK_SIGNAL_RSSI_DEBUG +; -D DEBUG_RFLINK_CONFIG +; -D RFLINK_OTA_ENABLED +; -D RFLINK_OTA_PASSWORD='"'${sysenv.OTA_SEC}'"' +; -D RFLINK_SERIAL2NET_DEBUG +; -DCORE_DEBUG_LEVEL=5 + [env:heltec_lora32_v2] extends = env:genericESP32 board = heltec_wifi_lora_32_V2