Questions tagged [platformio]

Use this tag for questions about installing, configuring, or building software with PlatformIO Core or PlatformIO IDE.

PlatformIO is an open source collection of tools and configuration management for embedded software development.

  • PlatformIO Core helps to manage the installation and configuration of toolchains, board definitions, and programmers for various embedded platforms. It also provides an automated, easy-to-use, SCons-based build system around various frameworks including Arduino.
  • PlatformIO IDE is an Atom-based IDE leveraging PlatformIO Core.

Additional Links:

355 questions
14
votes
6 answers

How to change default baud rate of serial monitor in VSCode with PlatformIO?

I have VSCode and PlatformIO plugin. When I start serial monitor it always starts with 9600 baud rate. I'd like to change that, so it always starts with 115200. I can change the baud rate of already running serial monitor by pressing CTRL+T, b,…
Defozo
  • 2,946
  • 6
  • 32
  • 51
14
votes
5 answers

Change terminal in Atom-editor's Platformio-Ide-Terminal on Windows

On Windows, default terminal for Atom's Platformio-Ide-Terminal is Powershell (at least, that is what I get without any configuration). I would prefer a terminal using unix-type commands. I already have MINGW and CYGWIN installed. How can I avoid…
jvtrudel
  • 1,235
  • 3
  • 15
  • 28
12
votes
3 answers

Webscraping TimeoutError: Navigation timeout of 30000 ms exceeded

I'm trying to extract some table from a company website using puppeteer. But I don't understand why the browser open Chromium instead my default Chrome, which then lead to "TimeoutError: Navigation timeout of 30000 ms exceeded", not let me enough…
Thang Dang
  • 385
  • 2
  • 4
  • 22
7
votes
7 answers

Auto increment build number using PlatformIO

I have several micro controller projects for home automation. Each of my nodes have a version number which is manually set in the code. This version number is reported during the startup of the node to inform me which code is running. Sometimes…
pvoj
  • 339
  • 3
  • 14
6
votes
0 answers

C++ - too much hints during writing a code

I've started to use Visual Studio Code + PlatformIO. Generally it's fine for me, but one thing is annoying me: too wide hints during writing. For instance, if I type Serial., I'm presented with a frame with hints. It should be a list of visible…
5
votes
5 answers

VScode terminal's PATH enviroment variable different from cmd

When i run echo %Path% in vscode's terminal, the result is: C:\Users\user\.platformio\penv\Scripts;C:\Users\user\.platformio\penv;C:\Users\user\.platformio\python3;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common…
5
votes
1 answer

PlatformIO on VSCode not compiling: collect2.exe: error: ld returned 1 exit status

I recently had to wipe my computer and after getting everything up and running it was time to open up some ESP32 programs I was working on before and found that Platform IO on VSCode would no longer compile. After running through the compiler I get…
Lloyd Richards
  • 330
  • 3
  • 12
4
votes
0 answers

vscode cannot use socks5 proxy?

clash is a socks5 proxy app. vscode i use platformIO. so i writing settings.json like : "http.proxyAuthorization": null, "http.proxyStrictSSL": false, "http.proxy": "socks5://127.0.0.1:7890" in platformIO_CLi CMD window,i type: pio pkg install -g…
InSky Long
  • 41
  • 2
4
votes
2 answers

Unable to get time form the NTP server in esp8266, arduino

I know I am successfully connected to the network as it's visible in my phone's hotspot. However I am unable to get the time using library through NTP server. Thanks in advance. I will really appreciate your…
112 Boss
  • 68
  • 5
4
votes
0 answers

Failed to resolve component 'esp_ipc'

I am configuring a project on an ESP32doitdev board. I am using the native esp32-framework as well as arduino. I am working with the platformio core in order to compile. I am getting an error which resolves to a inter-processor call module in the…
4
votes
1 answer

Setting sdkconfig using platform.io for the ESP32

I was wondering if anybody managed to set the SDKConfig.h file for the ESP32 when using platform.io to upload code, and if so how it is done. Thanks in advance! ✌️
Daryl Rodrigo
  • 1,387
  • 2
  • 11
  • 19
3
votes
1 answer

ESP8266WiFi.h: No such file or directory

How can I make the WifiManager library work on a ESP32 board? I'm using PlatformIO to develop my code. Here are my imports: #include "esp_camera.h" #include #include #include #include…
Johnny boy
  • 143
  • 2
  • 11
3
votes
0 answers

Installing PlatformIO for atom doesn't work

I had to reinstall atom and I am not able to install the PlatformIO IDE. I completely removed atom so everything should be back to default. I reinstalled PlatformIO, by going to the install tab in the settings and installing it and restart atom…
user11914177
  • 885
  • 11
  • 33
3
votes
2 answers

Why sprintf() generates the question mark character, as output?

While working on an embedded project, I noticed that sprintf() method for the following code: char ln2[16]; sprintf(ln2, "%f Volt", Data[Position].Voltage1); generates the question mark character as output. The output generated from the code…
OrElse
  • 9,709
  • 39
  • 140
  • 253
3
votes
1 answer

How to install ESP-IDF after installing PlatformIO?

I installed PlatformIO to develop programs for the ESP32. PlatformIO automatically installs "everything" to create ESP-IDF projects. In part that works but some things, like menuconfig, does not work in PlatformIO. I also read here that some code…
Edgar
  • 2,527
  • 2
  • 19
  • 40
1
2 3
23 24