From bb2a765662869faf511878e59058b10a23eb8650 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sat, 11 May 2019 19:27:14 +0200 Subject: [PATCH] add missing filename tags --- chipset/da14581/btstack_chipset_da14581.c | 2 ++ chipset/da14581/hci_581_active_uart.c | 2 ++ chipset/da14581/hci_585.c | 2 ++ chipset/em9301/0000000_META_hci_patches_v7.c | 2 ++ example/ant_test.c | 2 ++ example/audio_duplex.c | 2 ++ example/le_data_channel_server.c | 2 +- example/mod_player.c | 2 ++ example/nordic_spp_le_counter.c | 2 +- example/sine_player.c | 2 ++ example/spp_and_le_streamer.c | 2 ++ example/ublox_spp_le_counter.c | 2 +- src/btstack_audio.c | 2 ++ src/btstack_base64_decoder.c | 2 ++ src/btstack_memory.c | 2 ++ src/btstack_resample.c | 2 ++ src/classic/btstack_sbc_encoder_bluedroid.c | 2 +- tool/update_filename.py | 2 +- 18 files changed, 31 insertions(+), 5 deletions(-) diff --git a/chipset/da14581/btstack_chipset_da14581.c b/chipset/da14581/btstack_chipset_da14581.c index bc6d35722..c6f14b319 100644 --- a/chipset/da14581/btstack_chipset_da14581.c +++ b/chipset/da14581/btstack_chipset_da14581.c @@ -35,6 +35,8 @@ * */ +#define __BTSTACK_FILE__ "btstack_chipset_da14581.c" + /* * btstack_chipset_da14581.c * diff --git a/chipset/da14581/hci_581_active_uart.c b/chipset/da14581/hci_581_active_uart.c index ea0ce8d55..d7b8c4d78 100644 --- a/chipset/da14581/hci_581_active_uart.c +++ b/chipset/da14581/hci_581_active_uart.c @@ -3,6 +3,8 @@ * hci_581_active_uart.c converted from hci_581_active_uart.hex */ +#define __BTSTACK_FILE__ "hci_581_active_uart.c" + #include "hci_581_active_uart.h" const char * da14581_fw_name = "hci_581_active_uart"; diff --git a/chipset/da14581/hci_585.c b/chipset/da14581/hci_585.c index 712b6e0bd..7898098b1 100644 --- a/chipset/da14581/hci_585.c +++ b/chipset/da14581/hci_585.c @@ -3,6 +3,8 @@ * hci_585.c converted from hci_585.hex */ +#define __BTSTACK_FILE__ "hci_585.c" + #include "hci_585.h" const char * da14581_fw_name = "hci_585"; diff --git a/chipset/em9301/0000000_META_hci_patches_v7.c b/chipset/em9301/0000000_META_hci_patches_v7.c index 74658fae6..d0e4ac524 100644 --- a/chipset/em9301/0000000_META_hci_patches_v7.c +++ b/chipset/em9301/0000000_META_hci_patches_v7.c @@ -5,6 +5,8 @@ * BTstack: added config for 8 connections + 251 packet len */ +#define __BTSTACK_FILE__ "0000000_META_hci_patches_v7.c" + #include const char * container_blob_name = "0000000_META_hci_patches_v7"; diff --git a/example/ant_test.c b/example/ant_test.c index 9652d3b62..da620c271 100644 --- a/example/ant_test.c +++ b/example/ant_test.c @@ -35,6 +35,8 @@ * */ +#define __BTSTACK_FILE__ "ant_test.c" + // ***************************************************************************** // ANT + SPP Counter demo for TI CC2567 // - it provides a SPP port and and sends a counter every second diff --git a/example/audio_duplex.c b/example/audio_duplex.c index 102c94cc4..ab3f8d529 100644 --- a/example/audio_duplex.c +++ b/example/audio_duplex.c @@ -35,6 +35,8 @@ * */ +#define __BTSTACK_FILE__ "audio_duplex.c" + /* * Audio Duplex: forward audio from BTstack audio source to audio sink - test for audio interface * diff --git a/example/le_data_channel_server.c b/example/le_data_channel_server.c index 46fa89216..d0edb1d13 100644 --- a/example/le_data_channel_server.c +++ b/example/le_data_channel_server.c @@ -35,7 +35,7 @@ * */ -#define __BTSTACK_FILE__ "le_data_channel.c" +#define __BTSTACK_FILE__ "le_data_channel_server.c" // ***************************************************************************** /* EXAMPLE_START(le_data_channel): LE Data Channel Server - Receive data via L2CAP diff --git a/example/mod_player.c b/example/mod_player.c index df289df9e..5cde1bf31 100644 --- a/example/mod_player.c +++ b/example/mod_player.c @@ -35,6 +35,8 @@ * */ +#define __BTSTACK_FILE__ "mod_player.c" + #include "btstack.h" #include "hxcmod.h" #include "mods/mod.h" diff --git a/example/nordic_spp_le_counter.c b/example/nordic_spp_le_counter.c index aeb3800e4..86eaffaa8 100644 --- a/example/nordic_spp_le_counter.c +++ b/example/nordic_spp_le_counter.c @@ -35,7 +35,7 @@ * */ -#define __BTSTACK_FILE__ "nordic_le_counter.c" +#define __BTSTACK_FILE__ "nordic_spp_le_counter.c" // ***************************************************************************** /* EXAMPLE_START(nordic_le_counter): LE Peripheral - Nordic SPP-like profile diff --git a/example/sine_player.c b/example/sine_player.c index 7d2c005df..3a87de7e9 100644 --- a/example/sine_player.c +++ b/example/sine_player.c @@ -35,6 +35,8 @@ * */ +#define __BTSTACK_FILE__ "sine_player.c" + /* * Sine Playback to test and validate audio output with simple wave form * diff --git a/example/spp_and_le_streamer.c b/example/spp_and_le_streamer.c index f17211c6e..b25a527c0 100644 --- a/example/spp_and_le_streamer.c +++ b/example/spp_and_le_streamer.c @@ -35,6 +35,8 @@ * */ +#define __BTSTACK_FILE__ "spp_and_le_streamer.c" + // ***************************************************************************** /* EXAMPLE_START(spp_and_le_streamer): Dual mode example * diff --git a/example/ublox_spp_le_counter.c b/example/ublox_spp_le_counter.c index f97f7442d..0b9aed69c 100644 --- a/example/ublox_spp_le_counter.c +++ b/example/ublox_spp_le_counter.c @@ -35,7 +35,7 @@ * */ -#define __BTSTACK_FILE__ "ublox_le_counter.c" +#define __BTSTACK_FILE__ "ublox_spp_le_counter.c" // ***************************************************************************** /* EXAMPLE_START(ublox_le_counter): LE Peripheral - Nordic SPP-like profile diff --git a/src/btstack_audio.c b/src/btstack_audio.c index 6baf2c3ff..7c570da67 100644 --- a/src/btstack_audio.c +++ b/src/btstack_audio.c @@ -35,6 +35,8 @@ * */ +#define __BTSTACK_FILE__ "btstack_audio.c" + #include "btstack_audio.h" /* diff --git a/src/btstack_base64_decoder.c b/src/btstack_base64_decoder.c index 4572df4ca..909ec5a1f 100644 --- a/src/btstack_base64_decoder.c +++ b/src/btstack_base64_decoder.c @@ -35,6 +35,8 @@ * */ +#define __BTSTACK_FILE__ "btstack_base64_decoder.c" + /* * btstack_base64_decoder.c */ diff --git a/src/btstack_memory.c b/src/btstack_memory.c index 1203e06f4..45eb52ff6 100644 --- a/src/btstack_memory.c +++ b/src/btstack_memory.c @@ -35,6 +35,8 @@ * */ +#define __BTSTACK_FILE__ "btstack_memory.c" + /* * btstack_memory.h diff --git a/src/btstack_resample.c b/src/btstack_resample.c index c3ffd4e47..816356978 100644 --- a/src/btstack_resample.c +++ b/src/btstack_resample.c @@ -35,6 +35,8 @@ * */ +#define __BTSTACK_FILE__ "btstack_resample.c" + #include "btstack_resample.h" void btstack_resample_init(btstack_resample_t * context, int num_channels){ diff --git a/src/classic/btstack_sbc_encoder_bluedroid.c b/src/classic/btstack_sbc_encoder_bluedroid.c index e318c7cd2..58b0426ed 100644 --- a/src/classic/btstack_sbc_encoder_bluedroid.c +++ b/src/classic/btstack_sbc_encoder_bluedroid.c @@ -35,7 +35,7 @@ * */ -#define __BTSTACK_FILE__ "btstack_sbc_bludroid.c" +#define __BTSTACK_FILE__ "btstack_sbc_encoder_bluedroid.c" // ***************************************************************************** // diff --git a/tool/update_filename.py b/tool/update_filename.py index e13d32e36..06ffcd605 100755 --- a/tool/update_filename.py +++ b/tool/update_filename.py @@ -5,7 +5,7 @@ import re filetag = '#define __BTSTACK_FILE__ "%s"\n' filetag_re = '#define __BTSTACK_FILE__ \"(.*)\"' -ignoreFolders = ["3rd-party", "pic32-harmony", "msp430", "cpputest", "test", "msp-exp430f5438-cc2564b", "msp430f5229lp-cc2564b", "ez430-rf2560", "ios", "chipset/cc256x", "docs", "mtk"] +ignoreFolders = ["3rd-party", "pic32-harmony", "msp430", "cpputest", "test", "msp-exp430f5438-cc2564b", "msp430f5229lp-cc2564b", "ez430-rf2560", "ios", "chipset/cc256x", "docs", "mtk", "port"] ignoreFiles = ["ant_cmds.h", "rijndael.c", "btstack_config.h", "btstack_version.h", "profile.h", "bluetoothdrv.h", "ancs_client_demo.h", "spp_and_le_counter.h", "bluetoothdrv-stub.c", "minimal_peripheral.c", "BTstackDaemonRespawn.c"]