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

Error: Platform e arduino esp32 #43

Closed
Murilotrevisan opened this issue Apr 29, 2022 · 2 comments
Closed

Error: Platform e arduino esp32 #43

Murilotrevisan opened this issue Apr 29, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Murilotrevisan
Copy link
Member

Platform não funciona com esp32 no arduino IDE
Conflito de nomes da platform com a HAL da ESP32

@Murilotrevisan Murilotrevisan added the bug Something isn't working label Apr 29, 2022
@github-actions
Copy link

Hey, thank you for opening your first Issue ! 🚀 Feel free to add assignees and tags. Also don't forget to read our README.md for contribution guidelines!
We'll address this issue soon ;)

@leocelente
Copy link
Member

Em resumo a Espressif utilizou identificadores para as principais typedef struct dos protcolos, I2C, SPI, UART etc como i2c_t, sem muitas qualificações. Como o objetivo da platform é simplificar o código e ser a ultima (top most) camada de abstração também escolhemos esses nomes. Esse conflito de nomes impede a compilação. Como solução "temporária" foram adicionadas macros para renomear nossos typedefs para diferenciá-los dentro dos arquivos do projeto (main.c etc) e dentro do platform.h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants