Search found 131 matches

by stas2z
Sat May 09, 2020 6:54 pm
Forum: Libraries & Hardware
Topic: STM32Duino core does not do well with Maple bootloader
Replies: 23
Views: 3705

Re: STM32Duino core does not do well with Maple bootloader

stevestrong wrote:
Sat May 09, 2020 6:00 pm
Isn't this code released officially yet?
no, this part changed since latest release
by stas2z
Fri May 08, 2020 11:22 am
Forum: IDE's
Topic: Arduino IDe upload verbose parameters
Replies: 11
Views: 1725

Re: Arduino IDe upload verbose parameters

Nice, ive had similar issue with (its funny but) my own uploader for my custom bl, but as im using vscode i was not sure it will work with arduino ide also
by stas2z
Fri May 08, 2020 10:53 am
Forum: IDE's
Topic: Arduino IDe upload verbose parameters
Replies: 11
Views: 1725

Re: Arduino IDe upload verbose parameters

Try setbuf, if it will not work, the only way is to modify ide to prevent console buffering there
by stas2z
Fri May 08, 2020 10:47 am
Forum: IDE's
Topic: Arduino IDe upload verbose parameters
Replies: 11
Views: 1725

Re: Arduino IDe upload verbose parameters

stevestrong wrote:
Fri May 08, 2020 10:41 am
I use Eclipse and MinGW for the development. There is no stdout.h
no) stdout and stderr are posix output streams, probably for mingw it will not make any sense, by default printf should output to stdout
by stas2z
Fri May 08, 2020 10:40 am
Forum: IDE's
Topic: Arduino IDe upload verbose parameters
Replies: 11
Views: 1725

Re: Arduino IDe upload verbose parameters

if your uploader is written on c/c++, try to use setbuf(stdout, NULL) before first printf
it will prevent stdout buffering
by stas2z
Fri May 08, 2020 6:49 am
Forum: General discussion
Topic: question related to PWM_FullConfiguration
Replies: 3
Views: 746

Re: question related to PWM_FullConfiguration

Thanks! it works fine! I was confused because of the "new" in Hardwaretimer *MyTim = new HardwareTimer(Instance); I think I lack the deeper understanding of programming... if anyone would like to explain it, I would be grateful - but it is not necesseray to mark this post as solved. greets, Jens Oh...
by stas2z
Thu May 07, 2020 7:50 pm
Forum: Libraries & Hardware
Topic: STM32Duino core does not do well with Maple bootloader
Replies: 23
Views: 3705

Re: STM32Duino core does not do well with Maple bootloader

The discussion you mention with your link relates to the bootloader 2.0. I this relates to the bootloader code stored in flash, It is not my case since the boards are delivered since the beginning with the original maple bootloader. Which new version did you mention? When will it be available? mapl...
by stas2z
Thu May 07, 2020 4:47 pm
Forum: General discussion
Topic: question related to PWM_FullConfiguration
Replies: 3
Views: 746

Re: question related to PWM_FullConfiguration

Make MyTim global, put it before setup

Code: Select all

HardwareTimer *MyTim;
And remove HardwareTimer * before MyTim in setup()

Code: Select all

MyTim = new HardwareTimer(Instance);
by stas2z
Thu May 07, 2020 1:10 pm
Forum: General discussion
Topic: STM32L07 Simple EEPROM read and write without the example code.
Replies: 3
Views: 828

Re: STM32L07 Simple EEPROM read and write without the example code.

if anybody understands the line from the read code: "tmp = *(__IO uint32_t*)address;" that would be amazing. There are asterisks in places that are unfamiliar to me. it's simple __IO is an alias for volatile (__IO uint32_t*)address means you want to convert value of address to a volatile pointer to...
by stas2z
Thu May 07, 2020 1:04 pm
Forum: IDE's
Topic: Arduino IDE fails to collect function headers
Replies: 4
Views: 887

Re: Arduino IDE fails to collect function headers

just declare your function prototypes by yourself before it used in your code
I think it's a bad style to let ide create declarations for you even if it can

Go to advanced search