[riot-notifications] [RIOT-OS/RIOT] sys/arduino: Using Arduino libraries (#12180)

Gaëtan Harter notifications at github.com
Thu Sep 12 17:24:30 CEST 2019


I do not like the `ifeq (,$(filter arduino_lib,$(USEMODULE)))` because I think one may still want to use the arduino libraries with a sketch written application.

I would prefer to introduce another module to differentiate between "arduino" that gives the headers and pulls the required features and modules, and a module to says use "arduino_sketches".

I can do a change for this, I just do not know what would be preferred between:
*  making the common part be called `arduino` and changing the current usage/api to say "if you use the sketch, you must say `USEMODULE += arduino_sketches`".
* Keep the current api of "say `USEMODULE += arduino` to use the sketches" and the common be called `arduino_common` or `arduino_api` something

That really depends on the usage.

http://doc.riot-os.org/group__sys__arduino.html
http://doc.riot-os.org/group__sys__arduino__api.html



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12180#issuecomment-530877318
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190912/c9128680/attachment.htm>


More information about the notifications mailing list