mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-07 16:20:19 +00:00
samv71-xplained-atwilc3000: update build and readme
This commit is contained in:
parent
a15efc8617
commit
895b2d2ae0
@ -16,7 +16,7 @@ In one of the example folders:
|
||||
|
||||
To upload the firmware:
|
||||
|
||||
$ make
|
||||
$ make flash
|
||||
|
||||
You need to connect the the Debug USB to your computer.
|
||||
|
||||
@ -29,8 +29,6 @@ Also, the full packet log can be enabled in the main() function on main.c by unc
|
||||
|
||||
## TODOs
|
||||
- Implement hal_flash_sector.h to persist link keys
|
||||
- Implement hal_audio_dma.h for A2DP Audio Sink and HFP/HSP Demos
|
||||
- Figure out if/how SCO packets can be routed over HCI for HFP wide-band speech
|
||||
|
||||
## Issues
|
||||
- Bluetooth UART driver uses per-byte interrupts and doesn't work reliable at higher baud rates (921600 seems ok, 2 mbps already causes problems).
|
||||
|
@ -28,3 +28,5 @@ spp_counter/
|
||||
spp_flowcontrol/
|
||||
spp_streamer/
|
||||
spp_streamer_client/
|
||||
hog_keyboard_demo
|
||||
hog_mouse_demo
|
||||
|
@ -53,7 +53,6 @@ TARGET_SRAM=le_counter_sram.elf
|
||||
# template main file + firmware file
|
||||
BTSTACK_ROOT_CONFIG = ../../../
|
||||
CSRCS+=${BTSTACK_ROOT_CONFIG}/example/le_counter.c
|
||||
# sCSRCS+=${BTSTACK_ROOT_CONFIG}/port/samv71-xplained-atwilc3000/example/template/wilc3000_bt_firmware.c
|
||||
|
||||
# List of C source files.
|
||||
CSRCS+= \
|
||||
|
@ -107,11 +107,11 @@ for file in example_files:
|
||||
if 'le_counter.h: ${BTSTACK_ROOT}/example/le_counter.gatt' in line:
|
||||
fout.write('%s.h: ${BTSTACK_ROOT}/example/%s.gatt\n' % (example,example))
|
||||
continue
|
||||
if 'all: le_counter.h wilc3000_bt_firmware.c' in line:
|
||||
if 'all: le_counter.h wilc3000_ble_firmware.h' in line:
|
||||
if len(gatt_h):
|
||||
fout.write("all: %s.h wilc3000_bt_firmware.c\n" % example)
|
||||
fout.write("all: %s.h wilc3000_ble_firmware.h\n" % example)
|
||||
else:
|
||||
fout.write("all: wilc3000_bt_firmware.c\n")
|
||||
fout.write("all: le_counter.h wilc3000_ble_firmware.h\n")
|
||||
continue
|
||||
fout.write(line)
|
||||
|
||||
@ -128,9 +128,6 @@ for file in example_files:
|
||||
if 'CSRCS+=${BTSTACK_ROOT_CONFIG}/example/le_counter.c' in line:
|
||||
fout.write('CSRCS+=${BTSTACK_ROOT_CONFIG}/example/%s.c\n' % example)
|
||||
continue
|
||||
if 'CSRCS+=${BTSTACK_ROOT_CONFIG}/port/samv71-xplained-atwilc3000/example/template/wilc3000_bt_firmware.c' in line:
|
||||
fout.write('CSRCS+=${BTSTACK_ROOT_CONFIG}/port/samv71-xplained-atwilc3000/example/%s/wilc3000_bt_firmware.c \\\n' % example)
|
||||
continue
|
||||
if 'INC_PATH += ${BTSTACK_ROOT_CONFIG}/port/samv71-xplained-atwilc3000/example/template' in line:
|
||||
fout.write('INC_PATH += ${BTSTACK_ROOT_CONFIG}/port/samv71-xplained-atwilc3000/example/%s\n' % example)
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user