Search found 505 matches

by GonzoG
Wed Mar 19, 2025 8:32 pm
Forum: General discussion
Topic: Slow Build again
Replies: 5
Views: 3711

Re: Slow Build again

@Jimbo1326 yes. Latest version 2.3.4
by GonzoG
Mon Mar 17, 2025 11:39 am
Forum: General discussion
Topic: Slow Build again
Replies: 5
Views: 3711

Re: Slow Build again

There must something with your PC or windows setup.
I have bit faster PC (Ryzen 5 5500 with nvme SSD) and it takes about 30 seconds to do first compile and 7s to recompile.
by GonzoG
Mon Mar 17, 2025 10:50 am
Forum: General discussion
Topic: What is the difference between Board part numbers?
Replies: 7
Views: 3900

Re: What is the difference between Board part numbers?

"Bouar part number" it's just to automate some hardware setups like clocks (if board has external oscillator or uses internal), default pins (like buttons, LEDs, default SPI, IIC, etc).
"Generic" variants always use internal oscillator and usually do not have buttons and LEDs defined. So it will ...
by GonzoG
Mon Mar 17, 2025 10:35 am
Forum: General discussion
Topic: Arduino output code can be opened for debug in cubeIDE?
Replies: 2
Views: 2987

Re: Arduino output code can be opened for debug in cubeIDE?

You can debug directly in Arduino IDE.
by GonzoG
Sat Feb 08, 2025 2:01 pm
Forum: General discussion
Topic: STM32SD on WeAct H563 return Begin not ready
Replies: 11
Views: 3032

Re: STM32SD on WeAct H563 return Begin not ready


So I put the 64Gb SD card in the board again and sd.begin returns false.
Hence it seems that the STM32SD library does not support 64Gb cards .
Thanks for all your help IMK.


I've looked through STM32SD and ported FatFS code and there is support for exFAT (used for >= 64GB cards), but it might ...
by GonzoG
Thu Feb 06, 2025 11:39 pm
Forum: Maple & Maple mini etc
Topic: I can't solve I2C and SPI
Replies: 10
Views: 9688

Re: I can't solve I2C and SPI

"core" is a arduino addon that supports MCUs.
For STM MCUs there are 3 cores: official STM (made by STM), Maple (LibMaple) (it's old and supports only few MCUs) and Steve's core (formerly Roger's Clark core), it's an extension of Maple core with more features and supports more MCUs.

Maple is just a ...
by GonzoG
Thu Jan 23, 2025 5:59 pm
Forum: General discussion
Topic: ADC LowPowerFrequencyMode = Enable
Replies: 5
Views: 1729

Re: ADC LowPowerFrequencyMode = Enable

To change pins you just put an array with pin setup in your sketch. Copy one from PheripheralPins.h, paste it in your sketch, remove "WEAK", edit pin setup.

Same thing with clock setup. Just copy and paste SystemClock_Config(void) from generic_clock.c, remove "WEAK", edit.
by GonzoG
Thu Jan 23, 2025 3:31 pm
Forum: General discussion
Topic: Compilation error: base operand of '->' is not a pointer
Replies: 3
Views: 3193

Re: Compilation error: base operand of '->' is not a pointer

1. this is a subforum for STM8

2. GPIOB_BASE is not a pointer. It's a address value, that's why you get this error.
GPIOx are pointers to each GPIO registers.
eg: GPIOA->IDR
by GonzoG
Thu Jan 23, 2025 11:27 am
Forum: General discussion
Topic: ADC LowPowerFrequencyMode = Enable
Replies: 5
Views: 1729

Re: ADC LowPowerFrequencyMode = Enable

You can use HAL libraries (like in CubeIDE) in stm32duino, so you can use all the adc code from cubeIDE in arduinoIDE just with some modifications.
You don't need to edit generic_clock.c or PeripheralPins.c, you can put your clock config and changed pin maps in your sketch.

As to current draw, it ...
by GonzoG
Wed Jan 22, 2025 12:47 pm
Forum: Projects
Topic: Simultaneous regular mode with two ADCs (F303)
Replies: 10
Views: 7167

Re: Simultaneous regular mode with two ADCs (F303)

That's not a board package, like stm32duino.
And you don't have to install it separately. It's installed with stm32duino.

Go to advanced search