I'm facing a little trouble trying to build CircuitPython by myself for a Pi Pico with a spécific module support (canio).
Of course I know RP2040 has no CAN chip but I've wired a VP230 (MCMCU-230) chip to my pico.
I've set up the build directory, and all the required stuff, and CircuitPython is building correctly !
However, when I try to add to /ports/raspberrypi/boards/raspberry_pi_pico/mpconfigboard.mk the following line (last one)
Code: Select all
USB_VID = 0x239A
USB_PID = 0x80F4
USB_PRODUCT = "Pico"
USB_MANUFACTURER = "Raspberry Pi"
CHIP_VARIANT = RP2040
CHIP_FAMILY = rp2
EXTERNAL_FLASH_DEVICES = "W25Q16JVxQ"
CIRCUITPY__EVE = 1
CIRCUITPY_CANIO = 1
make: *** No rules to build target « common-hal/canio/CAN.c », needed for « build-raspberry_pi_pico/genhdr/qstr.split ». Stop
Am I doing something wrong ?