All Questions
Tagged with platform.io or platformio
42 questions
0
votes
0
answers
86
views
ESP32 - SIM7000G and TinyGSM response from server stuck/delayed with multipart/form-data POST request
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 ...
1
vote
0
answers
71
views
Can't get ESP32C6 to work in PlatformIO. Error is "unsupported ISA substring '_zicsr_zifencei'"
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 ...
1
vote
1
answer
57
views
Should I use PlatformIO to make a "hackable" and accessible device
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 ...
0
votes
1
answer
384
views
ESP32CAM fails to initialise camera with error 0xffffff
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 ...
0
votes
1
answer
150
views
Can't upload in Platformio and board is suddenly not detected in STM32CubeProgrammer
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 = ...
0
votes
1
answer
534
views
String or unsigned char to uint8_t
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 ...
1
vote
2
answers
1k
views
ATTiny85 pin definitions
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>
#...
0
votes
1
answer
473
views
Adding a custom platform to PlatformIO
How can I add the STM32duino core as a custom platform to PlatformIO?
0
votes
1
answer
488
views
ESPAsyncDNSServer cannot find AsyncUDP anymore
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:...
1
vote
0
answers
54
views
Sketch does not run right when uploaded via Arduino IDE vs PlatfomIO
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 ...
2
votes
2
answers
487
views
PlatformIO and const PROGMEM
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.....
1
vote
1
answer
286
views
How to optimize checking for specific string in a UART stream
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-...
2
votes
2
answers
604
views
Arduino OTA - difference between Arduino IDE and PlatformIO
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 ...
1
vote
0
answers
507
views
How can I get the serial monitor in vs code to automatically connect and disconnect when uploading to my arduino?
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. ...
3
votes
1
answer
681
views
Arduino Uno R3 assembly code to push a button and turn on a LED
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 ...