notes about platformio

This commit is contained in:
2025-02-19 13:49:11 +01:00
parent d7aecf60ea
commit 84fffaf40d

View File

@@ -44,7 +44,7 @@ To install a library click the platformIO icon. In there click the libraries but
After that it will edit platformio.ini and there you will see the library added to the project. It's also in `.pio/libdeps` After that it will edit platformio.ini and there you will see the library added to the project. It's also in `.pio/libdeps`
### Important for linux users. ### Important for linux users.
When setting up PlatformIO on another system we ran into the issue that the machine couldn't upload the code properly. We first checked how the OS interacted with `dmesg`. `dmesg` on linux shows the kernel activity. When setting up PlatformIO on another system we ran into the issue that the machine couldn't upload the code properly. We first checked how the OS interacted with `dmesg`. `dmesg` on linux shows the kernel activity. After a while we found out we needed to install the package `platformio-udev`. What it does it add some rules for the kernel on how to handle the mcu's.
### Programming and compiling and uploading ### Programming and compiling and uploading
Using platformIO is really straight forward. The only folder you should look at in your platformIO project is the `src` folder. Using platformIO is really straight forward. The only folder you should look at in your platformIO project is the `src` folder.