• OK,

    I have serial IO going and working with the terminal through COM port. The way I do this is implementing non blocking UART on nRF52 and going through an interface MCU on dev board that is seen as USB CDC by computer.

    But now I need to integrate this into Espruino and not sure how to do that. Would I initialize UART in jshInit()? Im confused about how to get the bytes I read from terminal to Espruino and how to have Espruino write to terminal. Where does this happen?

    Also is jshardware.c and main.c and BOARD.py the only files I need to create? Then just add all libraries i need in targetlibs/target/lib and then modify makefile? What other files/documentation should I be looking at for reference?

    Last Im alittle confused about the Devices. Im guessing just specify UART as a device in BOARD.py and select default console as EV_Serial1? And then I wouldnt need to do any USB defines in the Makefile.

    Thanks!

About

Avatar for mjdietz @mjdietz started