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

[Question] Is it possible to generate ARM32 projects already? #41

Open
oedze opened this issue Jun 8, 2021 · 3 comments
Open

[Question] Is it possible to generate ARM32 projects already? #41

oedze opened this issue Jun 8, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@oedze
Copy link

oedze commented Jun 8, 2021

Thank you for making this generator for Atmel studio.
I was wondering if it is already possible to generate a ARM32 based project with this generator because it's mentioned in the readme as possible but in issue #1 it's mentioned that it's needs to be implemented.
If it is possible, how would i make a ARM32 project? what flag should i give to the cmake command?

@bebenlebricolo
Copy link
Owner

Hi @oedze I'm sorry for the delay, I completely missed the notification so I haven't seen your issue until now (!)
At the moment, ARM32 is not supported and will required extra development ; I need to check in the sources, it has been quite some time and I don't have time now to implement the new functionalities. However I'll have a look and keep you posted when I have more details 😄

@oedze
Copy link
Author

oedze commented Nov 18, 2021

Thanks! i don't need it anymore, so don't worry about implementing it soon.

@bebenlebricolo bebenlebricolo added the enhancement New feature or request label Nov 18, 2021
@bebenlebricolo
Copy link
Owner

bebenlebricolo commented Nov 28, 2021

@oedze No problem, still someone (either me or a motivated fellow developer) might need to implement it in the future releases.
I don't have much time to work on this, unfortunately, as my attention switched to other projects for now, but as mentioned in some other tickets, I warmly welcome anyone who wants to give a hand. I can point out in which code section the relevant information lies, and advise on further improvements.

I think the readme mislead you a little on the ARM32 aspect : in facts this generator is able to detect the device you're targeting using custom device deduction. It essentially relies on some naming conventions, as the information is scattered alternatively in some defines (like ATMEGA328P) defines, compiler options for some of them (-mmcu=atmega328pb) and so on.

So this fork has a full support for device deduction (at least to my knowledge) and this is tested under the testAS7DeviceResolver file, using the AS7DeviceResolver.h/cpp implementations.

However, there is still a big chunk of work ahead in order to really support ARM32. Fortunately, the foundation of code is now there so we can get inspiration from the existing architecture in order to lay out the future one for ARM32.
This also extends to other devices such as AVR32 and other cores, with support for ASM, C and C++.

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

No branches or pull requests

2 participants