Skip to main content

Questions tagged [platformio]

Filter by
Sorted by
Tagged with
0 votes
0 answers
86 views

I am experiencing a delay in receiving the HTTP POST request body when sending data over a TCP connection using the TinyGSM library with a SIM7000G and an ESP32 (LilyGo T-SIM7000G). Below is my ...
NRav's user avatar
  • 243
1 vote
0 answers
71 views

I bought a few Waveshare ESP32C6 Touch LCD 1.47 boards and have had a hell of a time trying to get my sketch uploaded. I somewhat understand that PIO doesn't support esp32c6 because: The ESP32 Core ...
Brad T's user avatar
  • 11
1 vote
1 answer
57 views

I want my device/project to encourage others to get into embedded development. I will do this by making the device open source and hackable. Its ESP32 based so that it can be programmed with the ...
Marcus Lechnology's user avatar
0 votes
1 answer
384 views

There is a simple PlatformIO sketch (arduino format) that has the following main.cpp file: #include <Arduino.h> #include "esp_camera.h" #include "camera_pins.h" #define ...
Broteen Das's user avatar
0 votes
1 answer
150 views

I'm using a Nucleo-H755ZI-Q. I used it together with Platformio and Arduino framework. In order to get Arduino to work I'm using this setup: [env:nucleo_h743zi] platform = ststm32 board = ...
acroscene's user avatar
0 votes
1 answer
534 views

I'm attempting to save a string to EEPROM of an ESP8266 radio and then read it back before I encrypt the data (evenutally I would like to save the encrypted data but I'm simplifing things at the ...
PhippsTech's user avatar
1 vote
2 answers
1k views

I have been tearing my hair out on and off for two weeks trying to figure out pin definitions for the ATTiny85 in PlatformIO. My wiring is basically this: My sketch: #include <Arduino.h> #...
tmountjr's user avatar
  • 113
0 votes
1 answer
473 views

How can I add the STM32duino core as a custom platform to PlatformIO?
Ali.kavari76's user avatar
0 votes
1 answer
488 views

I'm using this ESP32AsyncDNSServer library on my ESP32 application. Suddenly (I'm not sure what I did) it does not compile anymore: .pio/libdeps/Aphrodite/ESPAsyncDNSServer/src/ESPAsyncDNSServer.h:8:...
Mark's user avatar
  • 393
1 vote
0 answers
54 views

I try to upload Adafruit's example sketch (Wemos mini 8266 + Lolin TFT-2.4" touch screen). When complied and uploaded via Arduino IDE v1.8.19, sketch runs OK (including TFT), but when uploading ...
guyd's user avatar
  • 1,049
2 votes
2 answers
487 views

I'm using the DuinoWitchery LCD library (https://github.com/duinoWitchery/hd44780) in a PlatformIO Arduino project with CLion. The following code works if I stick it in main.cpp: // near top of class.....
Bitbang3r's user avatar
  • 561
1 vote
1 answer
286 views

I want to check for specific string (like "RecordStart") in a UART stream (115 200 baud 8N1) from a camera, to know when it is recording or not/if there is an SD. I am using an ESP32-WROOM-...
AyubowanPro's user avatar
2 votes
2 answers
604 views

I used to OTA sketches and data files using the ArduinoOTA and ESP32 sketch data Upload tools and the ESP32 devkit, for example when using the Arduino IDE. Versions: Arduino IDE- 1.8.19 ESP32 on ...
guyd's user avatar
  • 1,049
1 vote
0 answers
507 views

I am using an Arudino Nano with VS Code and PlatformIO. When developing. I want to streamline the process so that when I press 1 hotkey. It will automatically disconnect the Serial Monitor. Build. ...
John's user avatar
  • 123
3 votes
1 answer
681 views

I've been trying this for days without success... I need to turn on a LED on portb when a button in portd is pushed. Cabling works, I've tested it with Arduino IDE and it works like a charm. This is ...
mcflurry's user avatar
1 vote
0 answers
66 views

When running two threads, one for blinking led once every second, one for sweeping the servo 180 degrees. The servo just vibrates. When I tested adding a serial printout in the run servo for loops for ...
jst_swe's user avatar
  • 11
1 vote
0 answers
142 views

I wrote simple program to test debug macros, but it gives me compilation error Program: #include <Arduino.h> #define DEBUG #ifdef DEBUG #define DPRINT(...) Serial.print(__VA_ARGS__) #...
MrNams's user avatar
  • 129
1 vote
0 answers
146 views

Here is the verbose for the Arduino IDE: Flashing with command:/Users/hakan/.arduino-create/arduino/openocd/0.11.0-arduino2/bin/openocd -d2 -s /Users/hakan/.arduino-create/arduino/openocd/0.11.0-...
Mr. Panda's user avatar
  • 151
2 votes
1 answer
132 views

Analog pontentiometer connected to an Arduino. simplest possible setup. The goal is to send a message over Serial whenever the value changes. I do not want to spam the Serial connection to much, so ...
David's user avatar
  • 125
2 votes
1 answer
512 views

I have a working Arduino code. The code works as intended when I upload it to an Arduino Nano using the old bootloader via the Arduino IDE. However, when I upload the same code via PlatformIO, the ...
DeXter's user avatar
  • 21
1 vote
0 answers
615 views

I have been trying to develop multi cpp project in platformio and whenever I define ESPAsyncWebServer class object with the extern in defines.h and declare it in main.cpp I am getting scarry looking ...
Shubham's user avatar
  • 11
1 vote
0 answers
263 views

I don't know if this is the right forum to ask this, but I can't find people that want to help, so let's try it here... First I had an F446RE, and program it in PlatformIO with an Arduino Framework... ...
Swets's user avatar
  • 11
0 votes
1 answer
292 views

I'm using Visual Studio Code and PlatformIO. I added some libraries to my project using platformio.ini: lib_deps = olikraus/U8g2@^2.34.4 crankyoldgit/IRremoteESP8266@^2.8.4 plerup/...
Mark's user avatar
  • 393
0 votes
1 answer
32 views

I have a bunch of PulseView recordings from an existing device. Currently to verify if my Arduino handles the input properly I always use the real device. However it would be great if I could somehow ...
Cowboy_Patrick's user avatar
0 votes
1 answer
816 views

I have a Bluetooth project for an ESP32 devkit and want to compile it for an ESP32-C3. I use the newest ESP32 Arduino core as a component with esp-idf and the following configuration for PlatformIO: [...
Kampi's user avatar
  • 103
0 votes
2 answers
1k views

I have a bunch of pins given names in the header: #define DIP5 53 #define DIP4 52 #define DIP3 51 #define DIP2 50 #define DIP1 49 #define DIP0 48 If it's not obvious, I have a bunch of DIP switches ...
Bitbang3r's user avatar
  • 561
2 votes
1 answer
1k views

I want to use snprintf() to format floats to a string. I know the "normal" version of Arduino's avrlibc had all the float-formatting code removed to make it smaller. I also know that at some ...
Bitbang3r's user avatar
  • 561
1 vote
0 answers
1k views

I'm using PlatformIO, and I'm trying to create a library who uses another library in it. (1) For that I created an empty library called ABCD.h stored in a newrep github repository. (2) 3rd party ...
guyd's user avatar
  • 1,049
3 votes
4 answers
39k views

When i try to upload code to the esp32 the following error shows up in the command line: A fatal error occurred: Packet content transfer stopped (received 8 bytes). I use platformio in VScode the ...
exo's user avatar
  • 67
0 votes
1 answer
612 views

(1) I'm trying to work with libraries in PlatformIO format", for , of a library, located in Arduino's libraries, where code is llocated under \src directry. (2) Any other library, not it "...
guyd's user avatar
  • 1,049
2 votes
0 answers
488 views

I'm running into this weird problem. My code is working just fine when I upload it to an ESP32 from Arduino IDE. That same code is not working when I upload it using PlatformIO IDE. The same libraries ...
NicoRiff's user avatar
2 votes
0 answers
77 views

I am trying to connect JTAG debugger to my esp32 according to the following steps https://www.instructables.com/How-to-Use-a-Debugger-on-an-ESP32/ but still I am facing issue in debugging. I am ...
Manisha Narayana Gowda's user avatar
-1 votes
1 answer
79 views

I have been trying to connect a nRF24L01 to a Cubecell AB01 without much luck. Most of the time, the radio.available() function always returns true resulting in a bunch of garbage. I have figured out ...
Joris Gravesteijn's user avatar
-1 votes
1 answer
629 views

I build my ESP32 project from platformio and I'd like to change CONFIG_MBEDTLS_DYNAMIC_FREE_PEER_CERT in order to reduce the RAM footprint. I don't get how to do that: should I modify my platformio....
Stéphane de Luca's user avatar
1 vote
1 answer
919 views

I have a new project created with PlatformIO in CLion. I've copied the Servo-1.1.8 library into the include directory. #include <Arduino.h> #include "Servo-1.1.8/src/Servo.h" Servo ...
BanksySan's user avatar
  • 119
1 vote
1 answer
1k views

I wrote a library that I intend to use in several project and I published it via platform.io's library management system. https://platformio.org/lib/show/12820/FastLED-SectionManager This is the first ...
Chris Schmitz's user avatar
1 vote
0 answers
355 views

I'm writing code for a microcontroller project using PlatformIO. I have a couple of classes that I want to write unit tests for. I've not unit tested with pio before so I'm starting with one of the ...
Chris Schmitz's user avatar
1 vote
1 answer
545 views

I am using the Espressif ESP32_DevKitC_V4 with platformio, and i cannot flash the board. I read about the various "button dance" procedures, and the ES32-WROVER and the ESP32-WROVER-B seem ...
OpenGears's user avatar
2 votes
0 answers
211 views

Hii I have a big project, and found this when I tried to remove all the test code. To summarize: I have a variable that I use as a buffer for string operations called char internalbuffer[32] declared ...
Qubo's user avatar
  • 31
0 votes
1 answer
2k views

In my ESP32 project I have the following platformio.io file: [env:esp32-poe] platform = espressif32 board = esp32-poe framework = arduino lib_deps = openslab-osu/SSLClient@^1.6.7 knolleary/...
Mark's user avatar
  • 393
0 votes
1 answer
1k views

I have the following very basic program that reads MPU6050(accelerometer and gyroscope) sensor using the I2C library, and prints the sensor information. This program works as expected. #include <...
Quazi Irfan's user avatar
4 votes
1 answer
14k views

I just got an Elegoo UNO starter kit the other day and have been working my way through the little tutorials on all the parts it came with. I am using VSCode with Platform.io plugin and (after getting ...
wileyrivers's user avatar