This is a plug-in for MPLabX v4.20, which support basic UART reading and injection. The plug-in reads and writes to socket 5556, and allow interaction with the developer's platform of choice for simulating peripherals (Modem, GPS, etc.) The possibilities are endless!
The majority of the code is under src/Uart.java, but if you wish to implement your own SFRObservers, then you'll want to look under src/UartObserver.java
- MPLab X v4.20
- MPLab X SDK
- Netbeans (any recent version should work, submit an issue if it doesn't)
- JDK 1.8
- Clone repo
git clone https://github.com/Zipcar/uart_mplabx_plugin.git
- Modify config in
src/config.yml
to meet your desired values. - Copy
config.yml
from thesrc
directory ofuart_mplabx_plugin
to your MPLab X bin folder.- MacOS:
/Applications/microchip/mplabx/vX.XX/mplab_platform/bin
- Windows:
C:\Program Files (x86)\Microchip\MPLABX\vX.XX\mplab_ide\bin
- Ubuntu 16.04:
/opt/microchip/mplabx/vX.XX/mplab_platform/bin
- MacOS:
- Open Netbeans
File -> Open Project
Open theuart_mplabx_plugin
project folder- Open
uart_mplabx_plugin -> Source Packages -> zipcar.emulator.uart -> Uart.java
from the projects tab - Right click
uart_mplabx_plugin
and clickCreate NBM
- Open MPLab X
Tools -> Plugins -> Downloaded
and clickAdd Plugins...
- Navigate to the
uart_mplabx_plugin/build
folder and openzipcar-emulator-uart.nbm
- Congrats, your plugin has been loaded!