2021-06-02 17:20:54 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-06-17 14:51:28 +02:00
|
|
|
BLUETOOTH=${1:-0}
|
2021-06-02 17:20:54 +02:00
|
|
|
rm -rf build
|
2021-06-17 14:51:28 +02:00
|
|
|
west build -b native_posix_64 . -- -DCMAKE_C_FLAGS="-DNATIVE_POSIX -I../../include/tls_config -DDISPLAY -DBLUETOOTH=$BLUETOOTH"
|
2021-06-02 17:20:54 +02:00
|
|
|
echo "Run ./build/zephyr/zephyr.elf --bt-dev=hci0"
|