Merge pull request #296 from Matheus-Garbelini/develop

use python3 for compile_gatt.py, qt4, and some desktop ports
This commit is contained in:
Matthias Ringwald 2020-07-09 11:29:11 +02:00 committed by GitHub
commit 3404c94120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# BLE GATT configuration generator for use with BTstack
# Copyright 2019 BlueKitchen GmbH