xref: /btstack/port/posix-h4-atwilc3000/README.md (revision 34fd36da1820bede7fdeb1f09f53c180688c8c25)
1*34fd36daSMatthias Ringwald# BTstack Port for POSIX Systems with Atmel ATWILC3000 Controller
27d82eb50SMatthias RingwaldThis port allows to use the ATWILC3000 connected via UART with BTstack running on a POSIX host system, see test setup below (which lacks a proper RESET button).
3ccebdf93SMatthias Ringwald
442c38c4aSMilanka Ringwald## Compilation
5ccebdf93SMatthias Ringwald
67d82eb50SMatthias Ringwald$ make
7ccebdf93SMatthias Ringwald
87d82eb50SMatthias RingwaldThe Makefile downloads the wilc3000_bt_firmware.bin firmware from the [GitHub atwilc3000/firmware](https://github.com/atwilc3000/firmware) repo.
97d82eb50SMatthias Ringwald
1042c38c4aSMilanka Ringwald## Usage
117d82eb50SMatthias Ringwald
127d82eb50SMatthias RingwaldJust run any of the provided examples, e.g.
137d82eb50SMatthias Ringwald
147d82eb50SMatthias Ringwald$ ./le_counter
157d82eb50SMatthias Ringwald
167d82eb50SMatthias RingwaldAt start, the firmware file is first uploaded to the ATWILC3000, before BTstack start up.
177d82eb50SMatthias Ringwald
187d82eb50SMatthias RingwaldPlease note that it configures the ATWILC3000 for a higher baud rate it does not detect if the firmware has already been downloaded, so you need to reset the ATWILC3000 before starting an example.
197d82eb50SMatthias Ringwald
207d82eb50SMatthias RingwaldTested with the official [ATWILC3000 SHIELD](http://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=ATWILC3000-SHLD) on OS X.
217d82eb50SMatthias Ringwald
227d82eb50SMatthias Ringwald![ATWILC3000 Test Setup](ATWILC3000-Breakout.jpg)
23