Search found 248 matches: platformIO

Searched query: platformio

by fpiSTM
Mon Sep 15, 2025 12:39 pm
Forum: General discussion
Topic: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed
Replies: 6
Views: 1341

Re: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed


Will check tomorrow if possible to reduce RAM


Unfortunately, hard to use all features you want.
As stated by ag123 and GonzoG the core have to support several series and so this requires some extra code.
I would recommend a bare metal code using only LL or registers access like this you should ...
by ag123
Sun Sep 14, 2025 2:11 pm
Forum: General discussion
Topic: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed
Replies: 6
Views: 1341

Re: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed

... to 'shrink' it significantly, you may need to resort to working a custom core / build.
And I think it could be simpler going the CMake route.

platformio would probably do quite similar too, but the idea is to work a custom core with that.

to stay on small mcus, it may help to select a somewhat ...
by Lupin
Sun Sep 14, 2025 12:57 pm
Forum: General discussion
Topic: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed
Replies: 6
Views: 1341

Re: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed

I was just really astonished, because the functionality would easily fit in an ATmega328, the typical "Arduino-chip". I just wanted the higher resolution, higher speed ADC and higher clock speed without external crystal of the STM32. The chip should go into a cheap, small series (first batch <1000 ...
by GonzoG
Sat Sep 06, 2025 10:13 pm
Forum: General discussion
Topic: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed
Replies: 6
Views: 1341

Re: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed

With all options enabled stm32duino will need quite a lot of flash and RAM.
It's because it's made to be easy to use and not resource efficient.
You can disable unused peripherals and this will save some flash and ram:
https://github.com/stm32duino/Arduino_C ... figuration
by ag123
Sat Sep 06, 2025 3:16 am
Forum: General discussion
Topic: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed
Replies: 6
Views: 1341

Re: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed

well, use a 'bigger' chip e.g.
https://www.st.com/en/microcontrollers-microprocessors/stm32g030f6.html
actually, even this is pretty 'squeezy'.
a recommended chip / board is
https://github.com/WeActStudio/WeActStudio.MiniSTM32F4x1
this has well enough resources sram, flash to run comfortably and ...
by Lupin
Fri Sep 05, 2025 6:46 pm
Forum: General discussion
Topic: STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed
Replies: 6
Views: 1341

STM32L011D4 / Arduino_Core_STM32 / platformIO : region `RAM' overflowed

... one of the few with an EEPROM). The L011D4 should be plenty for that.


My project is configured as follows. I am using Visual Studio Code with platformIO for all my MCU (STM32, AVR, ESP32) programming, usually always with the Arduino framework. platformIO does not have a board definition for a ...
by LucaBresciani
Sat Aug 30, 2025 4:06 pm
Forum: General discussion
Topic: STM32F411 based custom PCB I2C debugging
Replies: 2
Views: 2098

Re: STM32F411 based custom PCB I2C debugging

Hey everyone, i wanted to tell you that a solution has been found: a person on the PlatformIO Forum found an error in my code: basically i was using the wrong command to assign I2C pins to the microcontroller GPIOs in the platformio.ini file.

This is the updated and working version:

; PlatformIO ...
by LucaBresciani
Thu Aug 28, 2025 12:46 pm
Forum: General discussion
Topic: STM32F411 based custom PCB I2C debugging
Replies: 2
Views: 2098

STM32F411 based custom PCB I2C debugging

... such MCUs and make a custom board with them for the first time; i was also interested in making it compatible with the arduino framework through PlatformIO as i already have some working pieces of code for arduino that i don't want to lose.

I started running some tests and it turned out that i was ...
by Ricardowell
Sat Apr 26, 2025 3:18 am
Forum: General discussion
Topic: ModBUS and PN532 libraries via hardware serial ports on STM32F446RET6
Replies: 1
Views: 5476

Re: ModBUS and PN532 libraries via hardware serial ports on STM32F446RET6

... projects with Atmel and ESP8266/ESP32 for a while now. I've purchased a WeAct Studio module with an STM32F446RET6. I use Visual Studio Code with PlatformIO and the Arduino framework for programming. I've tried all the UART/USARTs and I've been able to read the signals on the serial monitor using a ...

Go to advanced search