Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stm32f4discovery and ARM toolchain from launchpad.net #88

Closed
kyab opened this issue Apr 18, 2014 · 2 comments
Closed

stm32f4discovery and ARM toolchain from launchpad.net #88

kyab opened this issue Apr 18, 2014 · 2 comments

Comments

@kyab
Copy link

kyab commented Apr 18, 2014

I'm working with libmaple in AeroQuad on stm32f4discovery.
I plan to change toolchain from sourcery(included in Maple IDE) to https://launchpad.net/gcc-arm-embedded because I want to use C++11 or something new.

I tried to build AeroQuad's libmaple with launchpad toolchain, but failed on linker.
I tried to build leaflabs's libmaple with launchpad toolchain, succeeded but seems lack of stm32f4 support..

I've noticed some difference in 2 libmaple but seems difficult for me to merge them.

Could someone give me direction, which way to utilize libmaple with launchpad toolchain on stm32f4discovery?

@mbolivar
Copy link
Contributor

Hi kyab,

You're right that our libmaple currently lacks STM32F4 support. We added
gcc-arm-embedded support with these two commits:

51699a1 fixup! Add support for ARM's GCC ARM embedded toolchain.
2424108 Add support for ARM's GCC ARM embedded toolchain.

I'd try cherry-picking those onto the AeroQuad tree and seeing if that
works.

Best,
Marti

On 04/18/2014 12:17 PM, kyab wrote:

I'm working with libmaple in AeroQuad on stm32f4discovery.
I plan to change toolchain from sourcery(included in Maple IDE) to
https://launchpad.net/gcc-arm-embedded because I want to use C++11 or
something new.

I tried to build AeroQuad's libmaple with launchpad toolchain, but
failed on linker.
I tried to build leaflabs's libmaple with launchpad toolchain,
succeeded but seems lack of stm32f4 support..

I've noticed some difference in 2 libmaple but seems difficult for me
to merge them.

Could someone give me direction, which way to utilize libmaple with
launchpad toolchain on stm32f4discovery?


Reply to this email directly or view it on GitHub
#88.

@kyab
Copy link
Author

kyab commented Apr 19, 2014

Thanks.
Today I tried cherry-pick into AeroQuad by git subtree merge strategy, but some conflict because there are some differences in directory structure and Makefile including orders.

I think the point to support launchpad.net ARM toolchain is to change some part of linker scripts.
I feel it will be easy to do some manual cherry-pick from this repo to AeroQuad version.

BTW is there any plan to port back support for stm32f4 from AeroQuad?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants