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

Compile Error for STM32 Core for Arduino #1

Closed
momonator25 opened this issue Mar 22, 2021 · 4 comments
Closed

Compile Error for STM32 Core for Arduino #1

momonator25 opened this issue Mar 22, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@momonator25
Copy link

Hello I know this libary is not supposed to work with STM32 but it does with a little fix.
Right now there is a conflict in naming:
statesNaming.h:20:13: error: 'SUCCESS' conflicts with a previous declaration 20 | SUCCESS = 1,
with
stm32f1xx.h:166:3: note: previous declaration 'ErrorStatus SUCCESS' 166 | SUCCESS = 0U,

The compile error can be avoided if SUCCESS gets renamed.

@xreef
Copy link
Owner

xreef commented Mar 23, 2021

Hi momonator25,
thanks for the alert, I'm going to fix as soon as possible (but I need some time).
Thanks again Renzo

@momonator25
Copy link
Author

Hi momonator25,
thanks for the alert, I'm going to fix as soon as possible (but I need some time).
Thanks again Renzo

No Problem and thanks for your fast reply! Don't hurry! Best regards

@xreef xreef added the enhancement New feature or request label Mar 30, 2021
@xreef
Copy link
Owner

xreef commented May 24, 2021

Hi momonator25,
I test e22 with STM32 ad arduino IDE and I haven't that problem, I had another problem with softwareserial and I'm going to fix It.
Witch platform do you use?
Bye Renzo

@xreef xreef closed this as completed May 30, 2021
@lejibxl
Copy link

lejibxl commented Feb 15, 2022

Dear xreef,
I encountered the same problem with a Nucleo-32 G031K8 card.
I renamed in file "statesNaming.h" "SUCCESS" term to "SUCCESS_E22" and it works again
Thanx for your excellent library!

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

3 participants