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

ARDUINO_ARCH_STM32 #14

Closed
Adminius opened this issue Jun 7, 2017 · 4 comments
Closed

ARDUINO_ARCH_STM32 #14

Adminius opened this issue Jun 7, 2017 · 4 comments

Comments

@Adminius
Copy link
Contributor

Adminius commented Jun 7, 2017

is it possilble to add general definition for all STM32 boards like ARDUINO_ARCH_STM32?
actualy i have to check for multiple boards: e.g.
#if defined(STM32F4xx) || defined(STM32F0xx) || defined(STM32F3xx) and so on.

EDIT:
which architecture flag (eg. avr, sam, samd...) should i use to mark a libary (in library.properties) compatible with STM32 platform?

@ghost ghost added the Question ❓ label Jun 7, 2017
@ghost
Copy link

ghost commented Jun 7, 2017

@Adminius you can use architectures=stm32.

@fpistm
Copy link
Member

fpistm commented Jun 15, 2017

Is it ok @Adminius?

@Adminius
Copy link
Contributor Author

yes. thx.
#ifdef STM32 works also.
ARDUINO_ARCH_STM32 not needed any more.

@fpistm
Copy link
Member

fpistm commented Jul 31, 2017

STM32 is not defined. (old stuff for firmata)
The good one is ARDUINO_ARCH_STM32

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

No branches or pull requests

2 participants