Search found 10 matches

by Violet Giraffe
Thu Mar 23, 2017 10:36 am
Forum: General discussion
Topic: STM32F3 Discovery board support
Replies: 14
Views: 970

Re: STM32F3 Discovery board support

There is a dozen of 103s having dual channel 12bit DAC, from RC up and with larger packages. Interesting. Indeed, according to the datasheet, the high-density F103s do have a DAC. Unfortunately, I can't get it because every single F1 board that I can buy where I live uses c8t6 which is a medium-den...
by Violet Giraffe
Thu Mar 23, 2017 9:53 am
Forum: General discussion
Topic: STM32F3 Discovery board support
Replies: 14
Views: 970

Re: STM32F3 Discovery board support

However if you have not used the CubeMX before or are not familiar with how an Arduino Core is structured, it could be a steep learning curve. Thanks, Roger. I have used CubeMX - that's about the only way to get anything to work on STM32 these days. I didn't realize your Arduino platform uses CubeM...
by Violet Giraffe
Wed Mar 22, 2017 11:41 pm
Forum: General discussion
Topic: STM32F3 Discovery board support
Replies: 14
Views: 970

Re: STM32F3 Discovery board support

I generally recommend people use the Koduino Arduino core, written by Avil De, if you want to use the F3, as Avil wrote the core specifically for the F3. Thank you, Koduino does seem more developed for F3. Unfortunately, its SPI implementation is lacking pretty much all of the necessary functions (...
by Violet Giraffe
Wed Mar 22, 2017 11:18 am
Forum: General discussion
Topic: STM32F3 Discovery board support
Replies: 14
Views: 970

Re: STM32F3 Discovery board support

Thanks. So what would be the best way to start? Take these files from F103 and adjust for F303?
by Violet Giraffe
Wed Mar 22, 2017 10:00 am
Forum: General discussion
Topic: STM32F3 Discovery board support
Replies: 14
Views: 970

STM32F3 Discovery board support

I have this board and I would like to use in my project, and I would also like to use Arduino because the native STM32 ecosystem is awful. So, I can see that you do offer basic support for this board, I can select it and compile some simple stuff and even some libraries. But not some other libraries...
by Violet Giraffe
Mon Mar 20, 2017 5:39 pm
Forum: General discussion
Topic: Abnormal flash space consumption for trivial code
Replies: 4
Views: 396

Re: Abnormal flash space consumption for trivial code

Neat! I mean, the code isn't very neat compared to the proper static object, but it does solve the problem nicely. Thanks.
by Violet Giraffe
Mon Mar 20, 2017 6:27 am
Forum: General discussion
Topic: Abnormal flash space consumption for trivial code
Replies: 4
Views: 396

Re: Abnormal flash space consumption for trivial code

Wow, good find, thanks a lot! Apparently, your Google kung-fu is stronger than mine. That solves the problem.
by Violet Giraffe
Sun Mar 19, 2017 9:37 pm
Forum: General discussion
Topic: Abnormal flash space consumption for trivial code
Replies: 4
Views: 396

Abnormal flash space consumption for trivial code

I'm very new to STM32 Arduino so pardon me if I did something silly there, but I don't understand what's going on. When compiled for the STM32F3 Discovery board, the following code occupies 71960 bytes (66%) of program storage space. 7248 bytes of dynamic memory seems too much, too (versus 4008 for ...
by Violet Giraffe
Sun Mar 19, 2017 8:00 pm
Forum: General discussion
Topic: Empty project occupies 12K flash and 4K RAM?
Replies: 2
Views: 256

Re: Empty project occupies 12K flash and 4K RAM?

Thanks! I believe my other project based on the STM32Cube library used about the same 10% flash and less RAM total, but whatever. If it works at all and leaves me some space to work with - I'm more than happy. The "standard" STM32 tools, and especially libraries, are a mess. The only way I'll do ano...
by Violet Giraffe
Sun Mar 19, 2017 6:49 pm
Forum: General discussion
Topic: Empty project occupies 12K flash and 4K RAM?
Replies: 2
Views: 256

Empty project occupies 12K flash and 4K RAM?

Trying to get into this STM32-arduino thing. Noticed that an empty .ino, when compiled for the STM32 F3 Discovery board, reports 12K flash and 4K RAM occupied. Is it normal? Granted, ARM Cortex M are rather big chips (compared to 8-bit AVR), but those numbers are on the order of 10%. Seems odd to me...