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 ...
user avatar
  • 102k
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 ...
user avatar
  • 102k
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 ...
user avatar
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 ...
user avatar
  • 102k
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 ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible