MapleMini as OpenTestJig
Use the LeafLabs MapleMini as a lightweight testjig controller. USB-connected MapleMini can be controlled via a command line interface on the USB-serial port
- read and write GPIO pins
- read and write UART port
- read PWM statistics
- set PWM frequency
- read temperature- and humidity-sensors on i2c bus (ADT7410 and SI7021-A20)
- read ADC pins
ChibiOS stable 16.1.x is used as RTOS. The firmware is originally based on the MapleMini example of ChibiOS. It should be flashed via DFU using the original MapleMini bootloader. See below.
You will need the following dependencies:
- GNU Make
Then just go into the firmware/ subdirectory and call
To flash the firmware to the maplemini, an additional Make target has been
added. It requies dfu-util. While the MapleMini is connected via USB and
still in bootloader mode (first few seconds after pressing the reset-button),
make flash_usb .