4
votes
Accepted
ESP32 partition table and writing location
0x1000 is the "second stage" bootloader. This is the code that is responsible for loading the code according to the layout specified in the partition table.
In ESP-IDF, the binary image ...
3
votes
Accepted
Splitting up code in multiple files causing `multiple definition` and `undefined reference` error
The failing is not with your code. The failing is with the MPU6050_6Axis_MotionApps20.h library. It erroneously has code in the header rather than in a separate CPP file.
You have done everything ...
2
votes
Help solving "collect2.exe: error: ld returned 1 exit status" error in code
I have figured it out.
The problem was I had not properly set up the project with the proper libraries. I thought I was doing it right manually but I was not. PlatformIO has a really convenient ...
1
vote
Accepted
Create a library when using PlatformIO
You're describing "1.5.x" format libraries, not "PlatformIO". This arrangement for a library was created for Arduino IDE version 1.5.0.
The critical part of this library format is ...
1
vote
Unable to find headers from installed platformio library
I woke up this morning and looked back at the documentation.
A part I mis-read was this:
We recommend to use src folder for your C/C++ source files and include folder for your headers. You can also ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
platform.io × 16esp32 × 6
library × 4
arduino-ide × 2
debugging × 2
vscode × 2
arduino-uno × 1
serial × 1
programming × 1
arduino-nano × 1
c++ × 1
nrf24l01+ × 1
uploading × 1
ir × 1
compilation-errors × 1
flash × 1
ide × 1
mac-os × 1
error × 1
espressif × 1
ota × 1
testing × 1
partition × 1
linker × 1