cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, how make stm8s103 sleep for 15 minutes and auto wakeup do some thing and sleep again. Repeat this all the time. Thanks

carlossp
Associate II
 
18 REPLIES 18

Hi, Peeter,

Do you know if is there a Linux compiler, like sdcc, for the STM32C011F4?

You can use GNU/GCC arm_none_eabi for all the Cortex-M processors.

They use it with CubeIDE

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Hi Tesla DeLorean,

I don't need and don't want to use an IDE, I am looking some thing simpler like SDCC.

I am now studying if I can use gcc arm_none_eabi without CubeIDE.

Thanks for your suggestions, they are helping me.

GNU/GCC is a command line compiler, you can drive it with make

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

hi Tesla DeLorean,

Just to let you know, my OS is Linux Slackware 15.0 and I wrote or adapted Arduino's libs to the STM8S103 for many sensors, displays and communications ports.

I've installed already the arm-none-eabi that I think is what I need to compile with GNU/GCC for the STM32C0 or STM32G0.

I have the ST-Link V2 and the stm8flash that I use to flash the STM8S103.

I think the STM32 ST-LINK Utility is for Windows OS.

Do you know a Linux software to flash the STM32C0 or STM32G0?

Thanks again.

Carlos

I found this SW for flash the STM32 at https://github.com/stlink-org/stlink

Do you know it?

STM32 Cube Programmer is the primary ST-INK Software, other debug pods have other tools. Perhaps things like OpenOCD

https://www.st.com/en/development-tools/stm32cubeprog.html

I use Keil on Windows..and build some other things with GNU/GCC + MAKE.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Tesla DeLorean,

As I could not find a small development board for the STM32C011 I ordered this one:

https://www.aliexpress.com/i/4000603257739.html?gatewayAdapt=glo2bra

model STM32G030F6P6.

Arives only in April

When it arive I will post here what happened.

thank you for all yours informations.

The STM32G030F6P6 board arrived.

https://www.aliexpress.com/i/4000603257739.html?gatewayAdapt=glo2bra

To programming it in bare metal way, is the same process I used for the STM8S with a little bit more registers to configure, not too bad.

To compile I am using:

arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi

To flash:

stlink-1.7.0

Very nice board, small sized with RTC that I need and not expensive.

Again, thanks everybody for all the sugestions.