ive not tested it, but its so basic and shouldn't cause any issue
only if your are trying to use it in the interrupt hadler
Search found 131 matches
- Thu Apr 02, 2020 5:46 pm
- Forum: STM32L4 based boards
- Topic: Transfer of values to ArduinoUNO original ports.
- Replies: 10
- Views: 16022
- Mon Mar 30, 2020 6:02 pm
- Forum: STM32L4 based boards
- Topic: Transfer of values to ArduinoUNO original ports.
- Replies: 10
- Views: 16022
Re: Transfer of values to ArduinoUNO original ports.
if your output ports are not on the same port sure you need to write it one by one but much better ti use array, loop and simple bitmath to not write A4 page of almost same copycat parts uint32_t pins[8] = {PA3, PA2, PA10, PB3, PB5, PB4, PB10, PA8}; void setPinsMode(void) { for (uint8_t counter = 0;...
- Mon Mar 30, 2020 7:55 am
- Forum: IDE's
- Topic: Arduino IDE for Maple r5 program on STM32F103C8 issue
- Replies: 24
- Views: 18679
Re: Arduino IDE for Maple r5 program on STM32F103C8 issue
compile errors usually are not related to the bootloader
- Sun Mar 29, 2020 5:13 am
- Forum: STM32L4 based boards
- Topic: Transfer of values to ArduinoUNO original ports.
- Replies: 10
- Views: 16022
Re: Transfer of values to ArduinoUNO original ports.
first i need to dissapoint you saying that PORTx are atmega only, it wil not work with STM32 for direct port writing you can use LL driver or direct register access STM32 have very straight port structure GPIOA contains all PA0..PA15 ports, GPIOB - PB0..PB15 etc so if your pins are on the same GPIO ...
- Thu Mar 26, 2020 11:25 pm
- Forum: STM32L4 based boards
- Topic: Problem with Hardware Timer example on STM32L476RG.
- Replies: 3
- Views: 7494
Re: Problem with Hardware Timer example on STM32L476RG.
Use examples bundled with core
github examples are for newer unreleased yet core version and some things changed since 1.8 release
github examples are for newer unreleased yet core version and some things changed since 1.8 release
- Thu Mar 26, 2020 11:21 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Nucleo32-L011K4
- Replies: 5
- Views: 8455
Re: Nucleo32-L011K4
This message means program is too big to fit in ram, probably you can try to disable some hal modules, but seems like this chip is too weak for arduino usage
- Thu Mar 26, 2020 2:57 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Nucleo32-L011K4
- Replies: 5
- Views: 8455
- Tue Mar 24, 2020 2:27 pm
- Forum: General discussion
- Topic: USBSerial and HardwareSerial agnostic lib
- Replies: 1
- Views: 2428
Re: USBSerial and HardwareSerial agnostic lib
Stream class is a parent class for both
- Mon Mar 23, 2020 3:28 pm
- Forum: STM32L4 based boards
- Topic: Trying to port Arduino programs to STM32 boards.
- Replies: 7
- Views: 9722
Re: Trying to port Arduino programs to STM32 boards.
Right "arduino" syntax is PA5
PA_5 naming used internally and not for "public"
PA_5 naming used internally and not for "public"
- Mon Mar 23, 2020 2:11 pm
- Forum: STM32F4 based boards
- Topic: F411 (and F401) bootloaders
- Replies: 34
- Views: 207989
Re: F411 (and F401) bootloaders
Sure i know, im just tried to tell about possibility here )fpiSTM wrote: ↑Mon Mar 23, 2020 12:13 pm We currently working on this.
https://github.com/stm32duino/Arduino_C ... 2/pull/710