Git Product home page Git Product logo

Comments (10)

rogerclarkmelbourne avatar rogerclarkmelbourne commented on August 24, 2024

Leaflabs seem to changed all the __always_inline to inline in their repo in the past few months.

I as going to attempt the same method to fix

from arduino_stm32.

rogerclarkmelbourne avatar rogerclarkmelbourne commented on August 24, 2024

Rick,

I think I will eventually go with your renaming idea for this, but I have a number of other more pressing things to get fixed, e.g. stuff that is broken, rather than this, which is not critical at the moment (though I appreciate it does need to be done, as I hate warnings as much as the next person)

from arduino_stm32.

RickKimball avatar RickKimball commented on August 24, 2024

I've actually gone through and just modified the code and made the mapleleaf __always_inline track the way the gcc one is done.

I've done it in my branch .. however if you like the idea I can do it for your latest master code

https://github.com/RickKimball/stm32duino_rk/commit/7a5eb47b1eca6112c461e11bd57e9ec2b7aad09b

and later I found I missed one:
https://github.com/RickKimball/stm32duino_rk/commit/475c0bc2aec13183947df1571c6a0c4680db4498

from arduino_stm32.

rogerclarkmelbourne avatar rogerclarkmelbourne commented on August 24, 2024

Hi Rick,

It looks good, but I'd like to release the --whole-archive version first rather than have a whole lot of possibly conflicting stuff released in one go.

I know that there is theoretically no relation between these two changes, but I'm just cautious of rolling out changes across the whole of the core, as I've been burnt 4 or 5 times before with this sort of stuff, so would prefer to release incrementally, even if it means delaying a week or two for the dust to settle between each change.

from arduino_stm32.

RickKimball avatar RickKimball commented on August 24, 2024

Here is a patch I did today. If you make more changes to the master, this may or may not work

https://gist.github.com/RickKimball/7f2ddbac870d8faaaeb0

It does seem to "bulk-up" the exe size, so I'm guessing that means it is working.

-rick

from arduino_stm32.

rogerclarkmelbourne avatar rogerclarkmelbourne commented on August 24, 2024

Thanks rick

from arduino_stm32.

rogerclarkmelbourne avatar rogerclarkmelbourne commented on August 24, 2024

This will be actioned when I get chance

from arduino_stm32.

rogerclarkmelbourne avatar rogerclarkmelbourne commented on August 24, 2024

Its still on my todo list.

I noticed you have changed this in your repo, I will try to find time to put the same change into the development branch.

from arduino_stm32.

RickKimball avatar RickKimball commented on August 24, 2024

It seems you committed this on May 3rd. Thanks!

from arduino_stm32.

rogerclarkmelbourne avatar rogerclarkmelbourne commented on August 24, 2024

Yes.
Sorry. I forgot to mention I'd done it ;-)

from arduino_stm32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.