Search found 30 matches

by stas2z
Mon Mar 30, 2020 6:02 pm
Forum: STM32L4 based boards
Topic: Transfer of values ​​to ArduinoUNO original ports.
Replies: 4
Views: 58

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;...
by stas2z
Mon Mar 30, 2020 7:55 am
Forum: IDE's
Topic: Arduino IDE for Maple r5 program on STM32F103C8 issue
Replies: 3
Views: 30

Re: Arduino IDE for Maple r5 program on STM32F103C8 issue

compile errors usually are not related to the bootloader
by stas2z
Sun Mar 29, 2020 5:13 am
Forum: STM32L4 based boards
Topic: Transfer of values ​​to ArduinoUNO original ports.
Replies: 4
Views: 58

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 ...
by stas2z
Thu Mar 26, 2020 11:25 pm
Forum: STM32L4 based boards
Topic: Problem with Hardware Timer example on STM32L476RG.
Replies: 3
Views: 54

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
by stas2z
Thu Mar 26, 2020 11:21 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo32-L011K4
Replies: 4
Views: 57

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
by stas2z
Thu Mar 26, 2020 2:57 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo32-L011K4
Replies: 4
Views: 57

Re: Nucleo32-L011K4

Supermaniac wrote:
Thu Mar 26, 2020 2:03 pm
Can I add it myself? And how?
https://github.com/stm32duino/wiki/wiki ... 28board%29
by stas2z
Tue Mar 24, 2020 2:27 pm
Forum: General discussion
Topic: USBSerial and HardwareSerial agnostic lib
Replies: 1
Views: 37

Re: USBSerial and HardwareSerial agnostic lib

Stream class is a parent class for both
by stas2z
Mon Mar 23, 2020 3:28 pm
Forum: STM32L4 based boards
Topic: Trying to port Arduino programs to STM32 boards.
Replies: 7
Views: 93

Re: Trying to port Arduino programs to STM32 boards.

Right "arduino" syntax is PA5
PA_5 naming used internally and not for "public"
by stas2z
Mon Mar 23, 2020 2:11 pm
Forum: STM32F4 based boards
Topic: F411 (and F401) bootloaders
Replies: 19
Views: 285

Re: F411 (and F401) bootloaders

fpiSTM wrote:
Mon Mar 23, 2020 12:13 pm
We currently working on this.
https://github.com/stm32duino/Arduino_C ... 2/pull/710
Sure i know, im just tried to tell about possibility here )
by stas2z
Mon Mar 23, 2020 11:58 am
Forum: STM32F4 based boards
Topic: F411 (and F401) bootloaders
Replies: 19
Views: 285

Re: F411 (and F401) bootloaders

oh, you don't need to try to set boot0 any way to reach system bootloader you just need to jump to system memory if your magic set (or remap 0x0 to it and jump to 0x0) at early start, so it can be implemented at core side (sure with trigger handling, but its already done for all cores) system memory...

Go to advanced search