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

Externs for Ethernet Shield / WIFI #8

Open
datee opened this issue Feb 3, 2020 · 6 comments
Open

Externs for Ethernet Shield / WIFI #8

datee opened this issue Feb 3, 2020 · 6 comments

Comments

@datee
Copy link

datee commented Feb 3, 2020

It would be great to have externs for Ethernet Shield and Wifi! :) Have looked into setting it up myself, but not successful yet :)

@ianharrigan
Copy link
Owner

The problem there is i dont have either of those for my arduino, i could probably walk you through creating the externs though, if memory serves, they are pretty straight forward. Do you have links to the C libs?

@datee
Copy link
Author

datee commented Feb 3, 2020

Well, i guess it would be these:
https://www.arduino.cc/en/Reference/Ethernet
https://www.arduino.cc/en/Reference/WiFi

I have an Arduino with a Shield attached im using for testing :)

@ianharrigan
Copy link
Owner

OK, the sources are in: "C:\Program Files (x86)\Arduino\libraries" and then lib name, what i can do, a little later, is write the externs blindly, by which i mean that the a test app will compile, and no run (since i dont have these components), then you can use this externs as a base and add / test them... sound good? :)

Cheers,
Ian

@datee
Copy link
Author

datee commented Feb 3, 2020

That would be absolutely fabulous! 👍 :)

@datee
Copy link
Author

datee commented Feb 7, 2020

In order to use the libs they need to include SPI.h / SPI.cpp and w5100.h / w5100.cpp .. how can they be included automaticly in the build process?

@ianharrigan
Copy link
Owner

Hey... you can have multiple @:includes in externs, but its not going to help (that much), ive been working on some changes to the generator to make this work nicer, but i havent had alot of time recently to do much. Ive penciled in some time this weekend though, so hopefully ill make some progress then

Cheers,
Ian

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

No branches or pull requests

2 participants