HI All,
I’m hoping to get through to some folks who know a lot more than me.
I am working on a project for a big client (not to mention the name). We have a new board with an RP2040 chip (Cortex-M0+) and so far, with some help from the core team, I’ve gotten it kind of working.
But to do some operations using GPIO I had to jump through hoops:
- Use the Edge Connector extension for Micro:bit to expose “pins” blocks in Arcade (even though this board is clearly NOT a micro:bit)
- Add some manual typescript into the project to pins..setPull(0) to give the switch inputs a pulldown (due to board designer’s choice of button wiring)
Questions: I’m trying to create my own “extension” to add support for this board but to do so with configuration plus pins support, is not at all clear. Yes, I’m reading the documentation but the documentation for creating your own extension is more geared towards generic software and not very clearly connected with the custom hardware documentation. Can someone at least bullet point the list of essential items needed? Creating and cloning a repo is all done and documented okay… it’s just, for a custom board, exactly what is needed in terms of .ts, .h and .json files for defining the board just enough to make projects in arcarde after adding the extension… including the pins.
That’d be awesome!
Another slightly more esoteric question: Does CODAL support the multiple cores in the RP2040? It is a dual-core microcontroller, and it’d be nice if we know that CODAL is allocating processes to both for better performance. (I suspect it is not supported out of the box… in which case what might be needed to make use of the dual ARM cores from PXT or PXT-ARCADE?)
Many thanks.
-Ben.