mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
Merge pull request #296 from Matheus-Garbelini/develop
use python3 for compile_gatt.py, qt4, and some desktop ports
This commit is contained in:
commit
3404c94120
@ -288,7 +288,7 @@ default_target: all
|
||||
|
||||
# compile .gatt descriptions
|
||||
%.h: %.gatt
|
||||
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
|
||||
python3 ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
|
||||
|
||||
# examples
|
||||
ant_test: ${CORE_OBJ} ${COMMON_OBJ} ${CLASSIC_OBJ} ant_test.c
|
||||
|
@ -14,10 +14,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
message("${Qt5_DIR}")
|
||||
|
||||
find_package(Qt5Core)
|
||||
include(FindPythonInterp)
|
||||
find_package(FindPython3)
|
||||
|
||||
# BTstack Root
|
||||
set(BTSTACK_ROOT "../..")
|
||||
set(BTSTACK_ROOT "${PROJECT_SOURCE_DIR}/../..")
|
||||
message("BTSTACK_ROOT: ${BTSTACK_ROOT}")
|
||||
|
||||
# BTstack include
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# BLE GATT configuration generator for use with BTstack
|
||||
# Copyright 2019 BlueKitchen GmbH
|
||||
|
Loading…
x
Reference in New Issue
Block a user