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 ...
- 104k
3
votes
esp32, platformio A fatal error occurred: Packet content transfer stopped (received 8 bytes) *** [upload] Error 2
I was able to resolve this issue by detaching jumpers that i had connected to the GPIO 12/13 pins during upload.
After uploading they can be attached again.
See this github issue: https://github.com/...
- 31
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 ...
- 104k
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 ...
- 51
2
votes
Best way to "hack" a library without forking it
Use a local source control and repository of your choice. Obtain the latest published rev of the library and make your changes to it (I assume you have already done this, probably a number of times). ...
- 14.7k
1
vote
Accepted
Simulate pin behaviour based on PulseView recording
I've never heard of such a test framework and I doubt there is one, at least for hobbyists. Such a framework would need to include a lot of hardware to accommodate all the possible electrical test ...
- 15k
1
vote
Accepted
esp32, platformio A fatal error occurred: Packet content transfer stopped (received 8 bytes) *** [upload] Error 2
For anyone wondering, i found out it means that there's some kind of disconnect between the computer from which your uploading and the file system. Essentially, the esp32 is broken.
- 21
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 ...
- 104k
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 ...
- 357
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
platform.io × 19esp32 × 8
library × 5
vscode × 3
arduino-ide × 2
c++ × 2
debugging × 2
testing × 2
arduino-uno × 1
serial × 1
programming × 1
arduino-nano × 1
bluetooth × 1
nrf24l01+ × 1
uploading × 1
ir × 1
compilation-errors × 1
flash × 1
ide × 1
mac-os × 1
error × 1
espressif × 1
partition × 1
linker × 1