Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
app.X/ | H | 25-Apr-2025 | - | 2,486 | 1,994 | |
src/ | H | 25-Apr-2025 | - | 643 | 389 | |
README.md | H A D | 25-Apr-2025 | 1.2 KiB | 34 | 19 | |
create_examples.py | H A D | 25-Apr-2025 | 7 KiB | 138 | 103 | |
setup-bluetooth-audio-devkit.jpg | HD | 25-Apr-2025 | 241.2 KiB |
README.md
1# BTstack Port for the Microchip PIC32 Harmony Platform 2 3Status: All examples working, polling UART driver. Tested on Bluetooth Audio Development Kit only. Created with Harmony v1.07, does not compile with new v2.x versions. 4 5## Hardware 6 7The PIC32 Bluetooth Audio Development Kit comes with the CSR8811-based 8BTM805 Bluetooth module. In the port, the UART on the DAC daughter board 9was used for the debug output. Please remove the DAC board and connect a 103.3V USB-2-UART converter to GND and TX to get the debug output. 11 12## Software 13 14Microchip MPLAB X IDE and the MPLAB XC32 compiler needs to be installed. 15 16## Setup 17 18- Place BTstack tree into harmony/framework folder. 19- Run port/pic32-harmony/create_examples.py to create examples in harmony/apps/btstack folder. 20 21## Usage 22 23The examples can be opened and compiled in Microchip MPLAB X IDE or from the command line using the Makefile generated by it. 24 25### Modifications to the GATT Database 26 27After changing the GATT definition in $example.gatt, please run ./update_gatt_db.h to regenerate example.h in the $example folder. 28 29### Compiler Warnings: 30 31The project is set to use -Os optimization which will cause warnings if you 32only have the Free version. It will still compile a working example. 33 34