Search found 1838 matches

by fpiSTM
Fri Nov 08, 2024 1:29 pm
Forum: General discussion
Topic: Unable to access variables in ISR
Replies: 1
Views: 63

Re: Unable to access variables in ISR

Hi IMESHPEIRIS About the Serial, it misses the "Serial.begin(9600);" val1 is never reset to false ? Which board you used ? Hard to help without check which pin you used. I've made the test with a Nucleo F446RE with this sketch and it works as expected including the serial: int val = 0; #define ...
by fpiSTM
Tue Oct 29, 2024 9:04 am
Forum: Libraries & Hardware
Topic: Stm32wl5moc - I2C
Replies: 3
Views: 639

Re: Stm32wl5moc - I2C

Yes but it has its own definition:
https://github.com/stm32duino/Arduino_C ... xx/WL5MOCH
and it is actually not supported.
Maybe it could work with WL55JC definition but which one you used the Nucleo? The generic ?
by fpiSTM
Mon Oct 28, 2024 7:33 pm
Forum: Libraries & Hardware
Topic: Stm32wl5moc - I2C
Replies: 3
Views: 639

Re: Stm32wl5moc - I2C

Which board you select? This mcu is not supported yet.
by fpiSTM
Tue Oct 22, 2024 2:01 pm
Forum: General discussion
Topic: STM32duino on BTT Kraken?
Replies: 3
Views: 710

Re: STM32duino on BTT Kraken?

Hi,
in theory you could using the generic:
https://github.com/stm32duino/Arduino_C ... BT_H733ZGT
by fpiSTM
Sun Oct 06, 2024 4:56 pm
Forum: STM32G4 based boards
Topic: working with DAC and comparator i got "undefined reference to `HAL_COMP_Init'
Replies: 1
Views: 2929

Re: working with DAC and comparator i got "undefined reference to `HAL_COMP_Init'

You don't enable the HAL_COMP_MODULE_ENABLED

The sketch is a cpp file not an header file. See the wiki and the HAL module management using hal_conf_extra.h.
by fpiSTM
Thu Oct 03, 2024 6:30 am
Forum: Custom design boards
Topic: STM32WL5MOC Variant
Replies: 2
Views: 3342

Re: STM32WL5MOC Variant

This one is not added. You can add it following the wiki.
I don't understand why you "replaced" the ldscript as it doesn't exist.
by fpiSTM
Tue Oct 01, 2024 9:21 am
Forum: IDE's
Topic: gdb on an STM32U073: Misses breakpoints
Replies: 5
Views: 4334

Re: gdb on an STM32U073: Misses breakpoints

One more detail: I'm actually using the ST-LINK_gdbserver, not openOCD. Not sure if that matters or not. OK so we do not talk about debugging STM32U0 thanks the Arduino IDE or you made a customization. About openOCD STM32U0xx support, a review is ongoing to add it: https://review.openocd.org/c ...
by fpiSTM
Mon Sep 30, 2024 9:14 am
Forum: IDE's
Topic: gdb on an STM32U073: Misses breakpoints
Replies: 5
Views: 4334

Re: gdb on an STM32U073: Misses breakpoints

With Arduino IDE you have to enable the "optimize for debugging".
Anyway the openocd version included with the stm32 core does not support the U0. So you can't debug it.
by fpiSTM
Tue Sep 24, 2024 8:29 am
Forum: Libraries & Hardware
Topic: SD Card Using SPI2
Replies: 10
Views: 14661

Re: SD Card Using SPI2

I modified the "pins_arduino.h" file located in folder ..\Arduino15\packages\STMicroelectronics\hardware\stm32\2.8.1\cores\arduino You should avoid to change core's file. Next time you will update you will loose your change moreover it impact all other variants. Simply use the API to change the ...

Go to advanced search