Closed plystdr closed 4 months ago
It's because ElegantOTA also supports RP2040 and PlatformIO stupidly pulls RP2040 dependency as well. To avoid that modify your platformio.ini
according this: https://docs.netwizard.pro/docs/intro/installation#modifications-in-platform-io-ini
Note: Make sure to clear your project or manually delete your .pio
folder before compiling again.
I followed the instructions. Added necessary settings to the platformio.ini
; 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
[common]
lib_deps = https://github.com/joltwallet/esp_littlefs.git
[env:demoproject]
platform = espressif32
board = custom-circuit
board_build.mcu = esp32s3
framework = espidf, arduino
upload_protocol = esptool
monitor_speed = 115200
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
board_build.flash_mode = qio
board_build.partitions = partition_scheme.csv
board_build.filesystem = littlefs
lib_compat_mode = soft
lib_ldf_mode = chain
lib_deps = ${common.lib_deps}
extra_scripts =
tasks.py
;pre:preprocess.py
;post:postprocess.py
build_flags =
-DCORE_DEBUG_LEVEL=5
-DBOARD_HAS_PSRAM
-DARDUINO_ESP32S3_DEV
-DCONFIG_SPIRAM_USE
-mfix-esp32-psram-cache-issue
-w
-Wno-unused-variable
-Wno-unused-function
Cleaned the .pio directory. Result still the same.
anyways, apparently manual installation causing some problems with platformio. I ended up installing it from platformio libraries itself. It looks ok now.
Thanks!
Hi there,
For some reason the code won't compile and throw error related with AsyncTCP_RP2040. However, I am using ESP32-S3 board and nowhere in my code it is defined as RP2040.
I am on platformio with esp-idf and arduino as a component.