Req to remove Artnet legacy library from the compiled binary
Context
The Artnet library included in
Teensyduino 1.56 executable (Atleast in macOS) uses, what I believe is the legacy release,
version 1.0 from 2014, of the
Artnet library from
Nathanaël Lécaudé
Issue:
Doesn't compile for Teensy 4.1 (which uses NativeEthernet).
Quick Debug(so far):
The zip version of the Artnet library (v1.0), also, when placed manually in the Arduino's library directory throws error.
Since that library has been
updated in it's repository to support Teensy4.1 but not yet have been updated in the Arduino's Library registry; so when installed through library manager, I guess it also uses the older .zip version and thus doesn't work (doesn't compile)
Current mitigation methods
On my macOS(V 12.2.1), I un-packed the
Teensyduino 1.56 and muted (made it invisible) that legacy artnet library from the path:
Code:
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Artnet
by using:
Code:
mv /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Artnet /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/.Artnet_old
Then I git cloned the latest artnet library in the Arduino's contributed library directory (
on mac that is: /Users/<machine_name>/Documents/Arduino/libraries/)
Code:
git clone https://github.com/natcl/Artnet.git
And now it compiles!
Suggestion:
May be do not include it in the compiled version of the Teensyduino.
Also it seems the library's maintainer has been inactive since 2020.
.
May be someone should fork it and make it accessible through Arduino's Library manager and PIO's library manager.