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

Extend Energia include path #11

Open
SciLor opened this issue Dec 26, 2020 · 3 comments
Open

Extend Energia include path #11

SciLor opened this issue Dec 26, 2020 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@SciLor
Copy link
Contributor

SciLor commented Dec 26, 2020

Currently it is impossible to extend the include path within Energia. This makes it hard to include complex libs such as libopus which don't have relative includes within their files (and this mean you would need change every include within the external lib).

See energia/Energia#1063
and arduino/arduino-cli#501

@SciLor SciLor added the enhancement New feature or request label Dec 26, 2020
@SciLor
Copy link
Contributor Author

SciLor commented Dec 26, 2020

Possible solutions: Set up custom buildchain( see #13 ) or fix Energia itself.

@SciLor SciLor added the help wanted Extra attention is needed label Dec 26, 2020
@vChavezB
Copy link

vChavezB commented May 6, 2022

Well, it seems that this issue will not be solved in the short term. I have developed a script that easily replaces include directives to relative ones. This should reduce the time it takes to port a 3rd party library to the Arduino ecosystem.

Links

Based on this script I easily ported the lwIP TCP/IP stack into Arduino.

@SciLor
Copy link
Contributor Author

SciLor commented May 6, 2022

Hey @vChavezB thank you for sharing.
This would be a great option. If I stick to energia.

Currently I started to replace the compiler with the one from HackieboxNG. I also managed to get the debugger running via vscode.

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

No branches or pull requests

2 participants