compile-gatt.py -> compile_gatt.py

This commit is contained in:
Matthias Ringwald 2016-04-10 21:58:19 +02:00
parent 070c8da6de
commit b3fcedb9c9
11 changed files with 16 additions and 16 deletions

View File

@ -99,15 +99,15 @@ default_target: all
# compile .gatt descriptions
profile.h: profile.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
ancs_client_demo.h: ancs_client_demo.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
spp_and_le_counter.h: spp_and_le_counter.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
le_counter.h: le_counter.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
le_streamer.h: le_streamer.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
# examples
sdp_rfcomm_query: ${CORE_OBJ} ${COMMON_OBJ} ${PAN_OBJ} ${SDP_CLIENT} sdp_rfcomm_query.c

View File

@ -106,7 +106,7 @@ include ${BTSTACK_ROOT}/chipset/cc256x/Makefile.inc
# compile GATT database
%.h: %.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
led_counter.out: ${CORE_OBJ} ${COMMON_OBJ} ${CC2560B} led_counter.o

View File

@ -111,7 +111,7 @@ include ${BTSTACK_ROOT}/chipset/cc256x/Makefile.inc
# compile GATT database
%.h: %.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
led_counter.out: ${CORE_OBJ} ${COMMON_OBJ} ${CC2560B} led_counter.o

View File

@ -109,7 +109,7 @@ include ${BTSTACK_ROOT}/chipset/cc256x/Makefile.inc
# compile GATT database
%.h: %.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
led_counter.out: ${CORE_OBJ} ${COMMON_OBJ} ${CC2560B} led_counter.o

View File

@ -26,7 +26,7 @@ gatt_update_template = '''#!/bin/sh
DIR=`dirname $0`
BTSTACK_ROOT=$DIR/../../../libraries/btstack
echo "Creating EXAMPLE.h from EXAMPLE.gatt"
$BTSTACK_ROOT/tool/compile-gatt.py $BTSTACK_ROOT/example/EXAMPLE.gatt $DIR/EXAMPLE.h
$BTSTACK_ROOT/tool/compile_gatt.py $BTSTACK_ROOT/example/EXAMPLE.gatt $DIR/EXAMPLE.h
'''
# get script path

View File

@ -79,5 +79,5 @@ libopencm3/lib/libopencm3_stm32f1.a:
# compile GATT database
spp_and_le_counter.h: spp_and_le_counter.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@

View File

@ -26,7 +26,7 @@ gatt_update_template = '''#!/bin/sh
DIR=`dirname $0`
BTSTACK_ROOT=$DIR/../../../libraries/btstack
echo "Creating EXAMPLE.h from EXAMPLE.gatt"
$BTSTACK_ROOT/tool/compile-gatt.py $BTSTACK_ROOT/example/EXAMPLE.gatt $DIR/EXAMPLE.h
$BTSTACK_ROOT/tool/compile_gatt.py $BTSTACK_ROOT/example/EXAMPLE.gatt $DIR/EXAMPLE.h
'''
# get script path

View File

@ -32,7 +32,7 @@ all: gatt_client_test le_central
# compile .ble description
profile.h: profile.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
gatt_client_test: profile.h ${CORE_OBJ} ${COMMON_OBJ} gatt_client_test.o expected_results.h
${CC} ${CORE_OBJ} ${COMMON_OBJ} gatt_client_test.o ${CFLAGS} ${LDFLAGS} -o $@

View File

@ -35,9 +35,9 @@ all: ${EXAMPLES}
# compile .gatt descriptions
ble_peripheral_test.h: ble_peripheral_test.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
ble_central_test.h: ble_central_test.gatt
python ${BTSTACK_ROOT}/tool/compile-gatt.py $< $@
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
ble_peripheral_test: ble_peripheral_test.h ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} ${SM_REAL_OBJ} ble_peripheral_test.o
${CC} $(filter-out ble_peripheral_test.h,$^) ${CFLAGS} ${LDFLAGS} -o $@

View File

@ -25,7 +25,7 @@ const uint8_t profile_data[] =
'''
usage = '''
Usage: ./compile-gatt.py profile.gatt profile.h
Usage: ./compile_gatt.py profile.gatt profile.h
'''
import re

View File

@ -107,7 +107,7 @@ s/pan_create_nap_service/pan_create_nap_sdp_record/g
# Folder structure
s|/example/embedded|/example|g
s|/ble/compile-gatt.py|/tool/compile-gatt.py|g
s|/ble/compile-gatt.py|/tool/compile_gatt.py|g
# type renames
s/le_service_t/gatt_client_service_t/g