i'm trying to get samples/drivers/CAN working with the nrf52
apparantly you need to enable CAN explicitly in menuconfig, which is already confusing because prj.conf has CONFIG_CAN=y , but by default all i get is "CAN: Device driver not found."
after enabling the driver, the device tree overlay doesnt seem to be compiled in
however, the mcp2515-dts.overlay file seems broken, because if i add it via
set(DTC_OVERLAY_FILE "${CMAKE_CURRENT_SOURCE_DIR}/mcp2515-dts.overlay")
in CMakeLists.txt i get:
nrf's are apparantly called gpio0 instead of gpioa, so i changed that, but that just leads to an even more cryptic error
so i edited scripts/dts/edtlib.py and just uncommented that check, which leads me to:
so i after removing the broken property, i finally have a working CAN driver.