p3p / pio-nxplpc-arduino-lpc176x

Apache License 2.0
4 stars 13 forks source link

[FR] CANbus supoort #13

Open sl1pkn07 opened 1 month ago

sl1pkn07 commented 1 month ago

Hi

is possible add support for CANbus to this framework? boards like ReARM with lpc1768, have native support in certain pins, like the exposes in the RAMPs shield in the i2c port.

greetings

p3p commented 1 month ago

There is no restriction on what features of the LPC176x you can use with this platform, the lpc176x Arduino framework library uses CMSIS, and the CMSIS CAN driver is available (https://github.com/p3p/pio-framework-arduino-lpc176x/blob/master/system/CMSIS/include/lpc17xx_can.h#L819).

Do you want a specific Arduino library to be ported? that's not really in the scope of the platform.