Search found 5933 matches

by RogerClark
Sun Jun 25, 2017 10:22 am
Forum: STM Core
Topic: Using Scheduler Library
Replies: 6
Views: 49

Re: Using Scheduler Library

Scheduler already works with libmaple (and all STM32 cores) as is. Rick's point is only for Cortex M0 chips that need different code path. Umm. Rick wrote You can make this library work with the stm32 chips with a few simple changes. I did not check if it worked already, as it seemed Rick was sayin...
by RogerClark
Sun Jun 25, 2017 10:01 am
Forum: General discussion
Topic: Partial / old code for a F4 Maple bootloader
Replies: 33
Views: 624

Re: Partial / old code for a F4 Maple bootloader

Yes. Its supposed to turn a F4 board into a BMP. (according to the guys on gitter) I looked at the makefile and it does build for cortex m4 so it does look like it should target the F4 But, I tried building my own binary but it didnt seem to work on either my F4 Discovery board or my generic F407 bo...
by RogerClark
Sun Jun 25, 2017 7:14 am
Forum: General discussion
Topic: Should we still use ptimisation level -Os (Small)
Replies: 4
Views: 56

Re: Should we still use ptimisation level -Os (Small)

danieleff wrote:
Sun Jun 25, 2017 6:25 am
One more thing you can check: GNU ARM embedded 6-2017-q1
It can give you speed boost without changing to -O2
Thanks.
Thats interesting.
by RogerClark
Sun Jun 25, 2017 3:35 am
Forum: General discussion
Topic: Partial / old code for a F4 Maple bootloader
Replies: 33
Views: 624

Re: Partial / old code for a F4 Maple bootloader

I had another thought about where we can get a F4 DFU bootloader, and it seems that the BlackMagic probe used to have a F4 version of their DFU bootloader, but it was removed in this commit https://github.com/blacksphere/blackmagic/commit/ad151fdca83aa2ea4dfd4f77a27507c9fc53f5d6 If I get time I'll t...
by RogerClark
Sun Jun 25, 2017 3:30 am
Forum: Builds and Announcements
Topic: Fix for PB10 pinMode set to OUTPUT by default
Replies: 0
Views: 19

Fix for PB10 pinMode set to OUTPUT by default

I've pushed a fix for the issue on the BluePill where PB10 was set to OUTPUT, because there was code for the Maple mini which was being run for all boards See https://github.com/rogerclarkmelbourne/Arduino_STM32/commit/f7a576f2e0efcee958bdfd737d9af7a2f6c76051 Note. I think probably update some of th...
by RogerClark
Sun Jun 25, 2017 3:26 am
Forum: Generic STM32F103
Topic: I2C2 on STM32F103C8T6 and HWire
Replies: 37
Views: 607

Re: I2C2 on STM32F103C8T6 and HWire

Fixed for the BP and a few other boards in this commit

https://github.com/rogerclarkmelbourne/ ... a2f6c76051
by RogerClark
Sun Jun 25, 2017 3:03 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 72
Views: 6279

Re: OV7670, Generic STM32F103RC and ILI9341 display

PB10 on BP issue - http://www.stm32duino.com/viewtopic.php?f=28&t=2188&start=30#p30136 Looks like the best solution is to define #define BOARD_USB_DISC_DEV NULL #define BOARD_USB_DISC_BIT NULL and change usb_cdcacm_enable() and usb_cdcacm_disable() to check for NULL and only use it if its non NULL ...
by RogerClark
Sun Jun 25, 2017 12:52 am
Forum: STM32generic
Topic: Compiler optimisation setting
Replies: 0
Views: 17

Compiler optimisation setting

Guys, Just a thought, I wonder if its worth considering whether the use of the -Os (Optimise for size), is the best optimisation option for this core, considering that its new and you can change this without impacting many users. I have posted a question to General about this http://www.stm32duino.c...
by RogerClark
Sun Jun 25, 2017 12:42 am
Forum: STM32generic
Topic: Sticky for this ?
Replies: 0
Views: 13

Sticky for this ?

Guys

We probably need a Sticky thread for this, otherwise its hard to find the information about how to start using this core.

Please can someone post to this thread with a howto and I will make that into a Sticky
by RogerClark
Sun Jun 25, 2017 12:40 am
Forum: General discussion
Topic: Should we still use ptimisation level -Os (Small)
Replies: 4
Views: 56

Should we still use ptimisation level -Os (Small)

Guys I have been experimenting with the OV7670 camera using code from github, but the code requires that optimisation be changed from -Os to -O2 Changing the flag seemed to have a significant impact on speed (I didnt look at code size) I know this is a big upheaval and may break some code, but I won...