xref: /btstack/port/esp32/README.md (revision a681a241a7fbf8bf3193a0d1d2e25f7b3a7e9f18)
1edbc01eeSMatthias Ringwald# BTstack Port for the Espressif ESP32 Platform
2edbc01eeSMatthias Ringwald
38690631fSMatthias RingwaldStatus: Initial port. Only SPP + LE Throughput example provided.
4edbc01eeSMatthias Ringwald
5edbc01eeSMatthias Ringwald## Setup
6edbc01eeSMatthias Ringwald
7f69d0bf9SMatthias Ringwald- Follow [Espressif IoT Development Framework (IDF) setup](https://github.com/espressif/esp-idf) to install xtensa toolchain.
8d238d4bbSMatthias Ringwald- Checkout our [esp-idf fork](https://github.com/mringwal/esp-idf) make IDF_PATH point to it.
9edbc01eeSMatthias Ringwald- In port/esp32, configure serial port for firmware upload as described before
10edbc01eeSMatthias Ringwald
11edbc01eeSMatthias Ringwald## Usage
12edbc01eeSMatthias Ringwald
13*a681a241SMatthias RingwaldIn port/esp32, run
14*a681a241SMatthias Ringwald
15*a681a241SMatthias Ringwald	./creat_examples.py
16*a681a241SMatthias Ringwald
17*a681a241SMatthias RingwaldNow, it creates project folders for all examples. Inside an example, e.g. in port/esp32/le_counter, run
18edbc01eeSMatthias Ringwald
19edbc01eeSMatthias Ringwald	make
20edbc01eeSMatthias Ringwald
21*a681a241SMatthias Ringwaldto compile the example
22edbc01eeSMatthias Ringwald
23edbc01eeSMatthias RingwaldRun
24edbc01eeSMatthias Ringwald
25edbc01eeSMatthias Ringwald	make flash
26edbc01eeSMatthias Ringwald
27edbc01eeSMatthias Ringwaldto upload it to your device.
28edbc01eeSMatthias Ringwald
292d1ab7bfSMatthias Ringwald### Acknowledgments
30edbc01eeSMatthias Ringwald
316d9d5ca8SMatthias RingwaldFirst HCI Reset was sent to Bluetooth chipset by [@mattkelly](https://github.com/mattkelly)
32