You should be able to add the other 2 UARTs but it will require quite a bit of code. Below is a description of what needs to be modified / added. The MSP432 package is located in: On GNU/Linuxes: ~/.energia15/packages/ energia /hardware/msp432 On Windows: %APPDATA%\Energia15\packages\ energia \hardware\msp432 On MacOSXes: ~/Library/Energia15/packages/ energia /hardware/msp432 Below is a list of files needing modification / adding Directory: cores/msp432/ti/runtime/wiring In HardwareSerial.cpp/h add the 2 the serialEvent, serialEventRun and the Serial instances Directory variants/MSP_EXP432P401R In Board.h add the 2 instances In SerialObjects.cpp add the 2 instances in Board_init.c add the 2 instances under the UART section In the file cores/msp432/ti/runtime/wiring/msp432/linker.cmd comment out the following lines so that the source is linked vs the pre-compiled libraries. 10 /* 11 ti/runtime/wiring/msp432/lib/wiring_msp432.m4fg.lib 12 lib/board.m4fg.lib 13 */ You will see that when reading the files mentioned above, that it is pretty clear where and what to modify/add. Robert
↧