-
Notifications
You must be signed in to change notification settings - Fork 0
Complete firmware rewrite from Arduino Framework to ESP-IDF #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: GabiBrawl <85069997+GabiBrawl@users.noreply.github.com>
Co-authored-by: GabiBrawl <85069997+GabiBrawl@users.noreply.github.com>
Co-authored-by: GabiBrawl <85069997+GabiBrawl@users.noreply.github.com>
Co-authored-by: GabiBrawl <85069997+GabiBrawl@users.noreply.github.com>
Co-authored-by: GabiBrawl <85069997+GabiBrawl@users.noreply.github.com>
|
@copilot the firmware is not compiling Reading CMake configuration... CMake Warning (dev) in CMakeLists.txt: near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first CMake Warning (dev) in CMakeLists.txt: CMake Error at CMakeLists.txt:1 (idf_component_register): CMake Warning (dev) in CMakeLists.txt: should be added at the top of the file. The version specified may be lower ========================= [FAILED] Took 123.08 seconds |
Co-authored-by: GabiBrawl <85069997+GabiBrawl@users.noreply.github.com>
Fixed in commit |
|
@copilot it didnt compile [notice] A new release of pip is available: 23.0.1 -> 25.2 |
Co-authored-by: GabiBrawl <85069997+GabiBrawl@users.noreply.github.com>
Fixed in commit. The issues were:
The build should work now with |
ESP-IDF Migration - Build Configuration Fixed ✅
Fixed Build Issues
Changes Made
board_build.partitions = default.csvfrom platformio.ini (not needed)CONFIG_ESPTOOLPY_FLASHSIZE_8MB=yCONFIG_ESPTOOLPY_FLASHSIZE="8MB"CONFIG_PARTITION_TABLE_SINGLE_APP=yWhat Was Fixed
Issue 1: Flash memory size mismatch
Issue 2: Missing partition table file
Build Ready
The firmware should now compile successfully:
PlatformIO will use the sdkconfig.defaults settings and ESP-IDF's default partition table.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.