Search found 131 matches

by stas2z
Mon May 18, 2020 8:25 pm
Forum: IDE's
Topic: watch memory allocation c++ libraries SW4STM32
Replies: 8
Views: 6419

Re: watch memory allocation c++ libraries SW4STM32

I also got out the reference manual and looked up the section on CCM. It does not look like anything is being linked into this 64K. Perhaps I should put some of the static objects into it. I think there is only 2K or so allocated at compile time in the .BSS section But things like the Ethernet buff...
by stas2z
Sun May 17, 2020 4:13 pm
Forum: General discussion
Topic: How to use SPI2
Replies: 17
Views: 32697

Re: How to use SPI2

Roger Clark, the creator of the libary said to do: SPI.setMOSI(PB15); SPI.setMISO(PB14); SPI.setSCLK(PB13); SPI.begin(); Or: SPIClass SPI_2(PB15,PB14,PB13); SPI_2.begin(); But this commands are not anymore in the library. I have read something about SPIclass but I can´t get it to work... Any hints?...
by stas2z
Sun May 17, 2020 3:49 pm
Forum: General discussion
Topic: Float To String - Flash memory consumption
Replies: 5
Views: 7230

Re: Float To String - Flash memory consumption

originally dtostrf (which is built-in avr-libc function) emulated with sprintf, which cause linking all huge printf related implementation to your binary this is what really happens with libmaple official core use newlib nano library, where float printing is disabled by default and requires special ...
by stas2z
Sun May 17, 2020 1:07 pm
Forum: STM32 HID bootloader
Topic: How to use with PlatformIO?
Replies: 4
Views: 16832

Re: How to use with PlatformIO?

With platformio you can define your own custom uploader
https://docs.platformio.org/en/latest/p ... pload-tool
by stas2z
Fri May 15, 2020 5:47 pm
Forum: Builds and Announcements
Topic: Release 1.9.0 is available
Replies: 11
Views: 15556

Re: Release 1.9.0 is available

ok, no problem for me)
by stas2z
Fri May 15, 2020 4:51 pm
Forum: Builds and Announcements
Topic: Release 1.9.0 is available
Replies: 11
Views: 15556

Re: Release 1.9.0 is available

Oh, uve decided to release 1.9 without f4 hal update?
by stas2z
Fri May 15, 2020 7:44 am
Forum: IDE's
Topic: I would like to use the Arduino IDE with the DE10-Nano Development Kit
Replies: 3
Views: 3233

Re: I would like to use the Arduino IDE with the DE10-Nano Development Kit

it's not stm32 based, so this board is not a proper place to ask about it
by stas2z
Thu May 14, 2020 8:11 am
Forum: General discussion
Topic: int16_t strange behaviour?
Replies: 5
Views: 4679

Re: int16_t strange behaviour?

stevestrong wrote: Thu May 14, 2020 7:49 am Which core do you use?

I just tested with my libmaple core, it prints

Code: Select all

c = -8000
d = 4000
strange why a HEX value has a sign
cuz libmaple core always adds - to negative values, hal based core only for base = 10

Go to advanced search