xref: /btstack/port/posix-h4-atwilc3000/README.md (revision 42c38c4a96fd85e492d88a270a531df6e0065894)
1ccebdf93SMatthias Ringwald# POSIX H4 Port for Atmel ATWILC3000
2ccebdf93SMatthias Ringwald
37d82eb50SMatthias 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).
4ccebdf93SMatthias Ringwald
5*42c38c4aSMilanka Ringwald## Compilation
6ccebdf93SMatthias Ringwald
77d82eb50SMatthias Ringwald$ make
8ccebdf93SMatthias Ringwald
97d82eb50SMatthias RingwaldThe Makefile downloads the wilc3000_bt_firmware.bin firmware from the [GitHub atwilc3000/firmware](https://github.com/atwilc3000/firmware) repo.
107d82eb50SMatthias Ringwald
11*42c38c4aSMilanka Ringwald## Usage
127d82eb50SMatthias Ringwald
137d82eb50SMatthias RingwaldJust run any of the provided examples, e.g.
147d82eb50SMatthias Ringwald
157d82eb50SMatthias Ringwald$ ./le_counter
167d82eb50SMatthias Ringwald
177d82eb50SMatthias RingwaldAt start, the firmware file is first uploaded to the ATWILC3000, before BTstack start up.
187d82eb50SMatthias Ringwald
197d82eb50SMatthias 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.
207d82eb50SMatthias Ringwald
217d82eb50SMatthias RingwaldTested with the official [ATWILC3000 SHIELD](http://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=ATWILC3000-SHLD) on OS X.
227d82eb50SMatthias Ringwald
237d82eb50SMatthias Ringwald![ATWILC3000 Test Setup](ATWILC3000-Breakout.jpg)
24