platformio
Here are 608 public repositories matching this topic...
Solutions
1. Convert INO files to CPP
2. Manual prototype declaration
#ifdef DO_NOT_USE
typedef int32_t delaytype;
void thisShouldNotAppearInTheBinary(delaytype timer); // aded manually
void thisShouldNotAppearInTheBinary(delaytype timer) {
delay(timer);
}
#endif-
Updated
Jun 17, 2020 - C++
-
Updated
Jun 16, 2020 - C++
Auto-generated files
.vscode/c_cpp_properties.json
.vscode/launch.json
contains absolute path, for example:
"configurations": [
{
"type": "platformio-debug",
"request": "launch",
"name": "PIO Debug",
**"executable": "/Users/username/Projects/projname/.pio/build/esp32dev/firmware.elf",
"toolchainBinDir": "/Users/u
Just spent about half an hour trying to figure out how to use and/or install the Library Manager gui into the IDE My IDE (2.0 beta 2) doesn't match the docs in a handful of places. Specifically, the following imply that there is a Library Manager gui, which one might assume has to be installed separately:
- "Library Manager" is listed in th
-
Updated
Oct 9, 2018 - JavaScript
To work around another issue I added a symblink in libraries to a local library.
But it seems to break stuff
Maybe this can be ignored or fixed.
Traceback (most recent call last):
File "/Users/.../Library/Application Support/Sublime Text 3/Packages/Deviot (Arduino IDE)/libraries/quick_menu.py", line 406, in callback_library
library_path = os.path.join(library_path, '*')
UnboundL
The automatic tool creates a platformio.ini file with this
lib_extra_dirs = ~/Documents/Arduino/libraries
This doesn't work on my Windows platform which has two hard drives. The failure is that no libraries are found. Changing it to an explicit directory like this, fixed the problem.
lib_extra_dirs = D:/users/charl/Documents/Arduino/libraries
For release 2.4.2 of the Arduino Core, WPS functionality has been removed by default in favor of a 4K memory optimization. To use WPS, you must include the following build flag: -D NO_EXTRA_4K_HEAP
This should probably be added to the documentation
-
Updated
Jun 14, 2020 - C++
What kind of issue is this?
- Development Platform or Board.
All issues (building, uploading, adding new boards, etc.) related to PlatformIO development platforms
should be reported to appropriate repository related to your hardware
https://github.com/topics/platformio-platform
Configuration
Operating system: Windows 10 x64
Board: NUCLEO STM32L476RG
-
Updated
May 25, 2020 - C
-
Updated
May 13, 2020 - C++
-
Updated
Jun 17, 2020 - Python
-
Updated
Jun 17, 2020 - TypeScript
-
Updated
Dec 17, 2018 - C
I recently raised platformio/platformio-core#2971 where it was recommended that I use platformio.project.helpers ("PIO Core API"), but this feature doesn't seem to be documented anywhere on docs.platformio.org.
Use arduino-cli
Using the new arduino-cli tool will make supporting newer chips much easier.
https://github.com/arduino/arduino-cli for more information.
I don't know enough about the build process to use it within PlatformIO, but it would make supporting more chips easier since the majority of effort goes to making arduino projects compile in the Arduino IDE. If it compiles there, it can compile with the
-
Updated
Dec 8, 2018 - TypeScript
-
Updated
Jun 13, 2020 - Python
-
Updated
Jun 11, 2020 - Python
-
Updated
Apr 14, 2020 - C++
-
Updated
May 1, 2020 - C
-
Updated
Jun 17, 2020 - Python
-
Updated
Dec 27, 2018 - C
Improve this page
Add a description, image, and links to the platformio topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the platformio topic, visit your repo's landing page and select "manage topics."
WiFiClient setTimeout is documented to accept milliseconds (sane) but value is used as seconds directly (loss of resolution is not sane). Protoype expects u32 instead of f32/f64.
Documentation (inheritance) on value being milliseconds, not seconds
https://www.arduino.cc/reference/en/language/functions/communication/stream/streamsettimeout/
/path/to/sketch.ino: In function 'void loop()':
sk