FYI. I'm applying loads of changes to the master branch

Information on the latest releases
Post Reply
User avatar
RogerClark
Posts: 7443
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

FYI. I'm applying loads of changes to the master branch

Post by RogerClark » Fri May 26, 2017 7:14 am

Guys...

Just a heads up...

I'm processing the backlog of PR's and issues and various other fixes, and applying them straight to the master branch.

However I can only do limited testing, which generally consists of making sure it still compiles, and then testing whether the STM32 graphic test - to an ILI9341 via SPI still runs.

If the change is to other things e.g. relates to F_CPU I do try the different CPU speed settings in the menu, and confirm that either Blink or the graphic test still seems to run OK.

I've made a change to support newer versions of GCC, but I have only tested with the current version of GCC. I'll see if I can test with a newer version, but don't hold your breath on this one...

There are some other changes that need to be made, which effect I2C but I can't test these as I don't have the specific hardware which needs those features. In which case I'll need to rely on the person who posted the issue to test

Re: the PWM issue

I should be able to test this, by using my scope etc, but I'm waiting for a PR for this.

ag123
Posts: 798
Joined: Thu Jul 21, 2016 4:24 pm

Re: FYI. I'm applying loads of changes to the master branch

Post by ag123 » Fri May 26, 2017 5:42 pm

just pulled the repository replaced my hardware/Arduino_STM32
built and run a blinky sketch in arduino ide 1.8.2 with LED_BUILTIN, using baite maple mini, works ok, serial monitor works just well (linux64), no issues
i've not yet tested anything more 'complicated' yet

User avatar
RogerClark
Posts: 7443
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: FYI. I'm applying loads of changes to the master branch

Post by RogerClark » Fri May 26, 2017 9:26 pm

Thanks

User avatar
Rick Kimball
Posts: 1056
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US
Contact:

Re: FYI. I'm applying loads of changes to the master branch

Post by Rick Kimball » Sun May 28, 2017 4:04 pm

My default arm-none-eabi-gcc is 6.3.1. I changed the compiler path in platform.txt and tested some code using the newer compiler. Blinky and ASCIITable using native USB Serial and hardware uart serial on a bluepill. They both worked successfully.

Thanks!

Do you have a list of changes you are going to make? I'd love to see the -fno-threadsafe-statics added to the cpp flags, it makes a huge difference to the code size in the case of class static constructors.
-rick

User avatar
RogerClark
Posts: 7443
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: FYI. I'm applying loads of changes to the master branch

Post by RogerClark » Sun May 28, 2017 9:34 pm

Rick

I dont have a list, I have just been reading the issues list in Github and also noting things reported on the forum, and cherry picking PRs and parts of PRs

Please feel free to post your enhancements etc to the issues on Github, so we have a central location for them.

PS. I saw the compiler warning PR and I will merge it later. ( its only 7:30 am here and I have not fired up my main dev machine yet ;-)

ag123
Posts: 798
Joined: Thu Jul 21, 2016 4:24 pm

Re: FYI. I'm applying loads of changes to the master branch

Post by ag123 » Mon May 29, 2017 6:28 am

thanks for applying the PR's too :D

User avatar
RogerClark
Posts: 7443
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: FYI. I'm applying loads of changes to the master branch

Post by RogerClark » Tue Jun 06, 2017 11:10 am

This evening...

I've applied @stevstrong's PR for changes to SPI. This fixes bugs in the SPI operation and also give a slight speed improvement in some cases.

I've also added the call to yield() in delay() to support the Arduino Scheduler ( Thanks to @rickkimball for pointing out that it was missing and suggesting a solution)


Please let me know if anyone finds any problem with these changes.

User avatar
mrburnette
Posts: 1877
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: FYI. I'm applying loads of changes to the master branch

Post by mrburnette » Tue Jun 06, 2017 12:02 pm

... and thus the evolution of the STM32'duino core marches forward like time itself.


Image

User avatar
RogerClark
Posts: 7443
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: FYI. I'm applying loads of changes to the master branch

Post by RogerClark » Tue Jun 06, 2017 9:22 pm

LOL

vitor_boss
Posts: 61
Joined: Wed Apr 19, 2017 9:50 am

Re: FYI. I'm applying loads of changes to the master branch

Post by vitor_boss » Fri Jun 09, 2017 2:16 am

gcc-7.1.0 for ARM is available at

http://www.freddiechopin.info/en/downlo ... -toolchain

Will be a 'how to use' any other version guide?

Post Reply