mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-24 22:43:35 +00:00
port: skip '*demo_util*' in create example scripts
This commit is contained in:
parent
80ad99287e
commit
b4d037a24c
@ -58,7 +58,9 @@ def create_examples(script_path, suffix):
|
||||
for file in os.listdir(examples_embedded):
|
||||
if not file.endswith(".c"):
|
||||
continue
|
||||
if file in ['panu_demo.c', 'sco_demo_util.c', 'ant_test.c']:
|
||||
if file in ['panu_demo.c', 'ant_test.c']:
|
||||
continue
|
||||
if 'demo_util' in file:
|
||||
continue
|
||||
|
||||
example = file[:-2]
|
||||
|
@ -60,7 +60,9 @@ def create_examples(port_folder, suffix):
|
||||
for file in example_files:
|
||||
if not file.endswith(".c"):
|
||||
continue
|
||||
if file in ['panu_demo.c', 'sco_demo_util.c', 'ant_test.c', 'audio_duplex.c', 'mod_player.c']:
|
||||
if file in ['panu_demo.c', 'ant_test.c', 'audio_duplex.c', 'mod_player.c']:
|
||||
continue
|
||||
if 'demo_util' in file:
|
||||
continue
|
||||
if file in ['a2dp_sink_demo.c', 'a2dp_source_demo.c', 'hfp_hf_demo.c', 'hfp_ag_demo.c', 'hsp_hs_demo.c', 'hsp_ag_demo.c']:
|
||||
continue
|
||||
|
@ -104,8 +104,11 @@ print("\nCreating examples in apps/btstack:")
|
||||
for file in os.listdir(examples_embedded):
|
||||
if not file.endswith(".c"):
|
||||
continue
|
||||
if file in ['panu_demo.c', 'sco_demo_util.c', 'ant_test.c', 'pan_lwip_http_server.c']:
|
||||
if file in ['panu_demo.c', 'ant_test.c', 'pan_lwip_http_server.c']:
|
||||
continue
|
||||
if 'demo_util' in file:
|
||||
continue
|
||||
|
||||
example = file[:-2]
|
||||
|
||||
# create folder
|
||||
|
Loading…
x
Reference in New Issue
Block a user