Matheus Garbelini
4783d25609
Fix some python3 related errors during compilation
...
* qt-h4 cmake now uses PROJECT_SOURCE_DIR to correctly point to the project root folder (fixes compilation error when the user build from sub-folder)
* Change from using python to `python3` (previously compilation would fail if user had python as the default python2.7)
2020-06-24 02:33:27 +08:00
Matthias Ringwald
b59454f6f7
tool/metric: add micro-ecc and rijndael sources
...
update location of minimal c-headers
2020-04-10 10:23:10 +02:00
Matthias Ringwald
7490175edc
tool/compile_gatt.py: use random number for GATT Database Hash, if PyCryptodome is not installed
2020-03-02 15:34:49 +01:00
Matthias Ringwald
d78181d6b7
tool/compile_gatt.py: use text-mode for temporary file - fix for windows
2020-02-23 22:32:19 +01:00
Matthias Ringwald
379d3ace42
tool/compile_gatt: revert to working version
2020-01-16 15:15:37 +01:00
Matthias Ringwald
5dde773e0b
tool/metrics: handle metric without deviations
2020-01-13 22:16:04 +01:00
Matthias Ringwald
043f8832f5
tool/compile_gatt:calculated GATT Database Hash
2020-01-12 21:14:32 +01:00
Matthias Ringwald
285653b26b
tool/compile_gatt: support multiple process passes
2020-01-10 23:21:07 +01:00
Matthias Ringwald
9f4d1a7b89
tool/misc: cocci script for if (ptr) operations, (void) memcpy
2019-12-03 12:23:19 +01:00
Matthias Ringwald
d918542bd5
tool: avoid // in comments for header files generated by Bluetooth SIG web scraping
2019-12-02 14:37:32 +01:00
Matthias Ringwald
6360ea131b
tools/metrics: allow to override C_HEADERS location
2019-11-27 16:18:22 +01:00
Matthias Ringwald
227c17e4f1
tools/metrics: create metrics.html
2019-11-27 16:18:22 +01:00
Matthias Ringwald
3ce65d0ff3
tool/metrics: print func count
2019-11-27 16:18:22 +01:00
Matthias Ringwald
a4fcae569e
tool/metrics: fix ccsm build
2019-11-27 16:18:22 +01:00
Matthias Ringwald
5df9dc7819
MISRAC2012-Rule-12.1: add suggested parentheses
2019-11-19 15:10:58 +01:00
Matthias Ringwald
ea1be65587
misc: help fix misra 12.1 based on c-stat warnings
2019-11-18 23:30:08 +01:00
Milanka Ringwald
293fd5fb21
sine_table_generator: update usage
2019-10-22 10:42:37 +02:00
Matthias Ringwald
b08c8c4999
tool: add bluetooth_psm.py to scrape PSM identifiers from SIG
2019-09-26 22:34:50 +02:00
Matthias Ringwald
b1dcf9d89e
btstack_event: use reverse_bytes to avoid cast to bd_addr_t
2019-09-14 21:55:47 +02:00
Matthias Ringwald
b4e354c12f
tool/compile_gatt: fix tool permissions
2019-09-06 15:47:37 +02:00
Matthias Ringwald
78b65b0a93
tool/compile_gatt: normalize paths, use os specific path separators
2019-09-06 14:46:25 +02:00
Matthias Ringwald
d7e6933a33
tool/metric: show metrics in table
2019-08-30 22:28:25 +02:00
Matthias Ringwald
7846277fa5
tool/metric: Makefile to run ccsm and process it, minimal inttypes.h for ccsm
2019-08-29 21:07:09 +02:00
Matthias Ringwald
fda2bcc8f5
tool/metrics: use ccsm
2019-08-29 14:20:52 +02:00
Matthias Ringwald
78e65fa66c
tool/metric: calc average for ccn and param
2019-08-27 16:50:10 +02:00
Matthias Ringwald
38e38f2334
tool/metrics: measure cyclomatic complexity, num params, num functions, num gotos
2019-08-27 16:26:54 +02:00
Matthias Ringwald
a0ecb5f3e0
tool/dump_pklg: detect end of file without error message
2019-08-22 15:02:03 +02:00
Matthias Ringwald
a5a7b6da93
mesh: fix compile
2019-07-20 08:50:34 +02:00
Matthias Ringwald
01122b73ee
mesh: add mesh_subnet_t
2019-07-20 08:50:32 +02:00
Matthias Ringwald
77ba3d3f9f
mesh: move src/ble/mesh to src/mesh
2019-07-20 08:50:31 +02:00
Matthias Ringwald
1f45d60344
mesh: provide mesh_virtual_address structs via memory pool
2019-07-20 08:50:29 +02:00
Matthias Ringwald
01e2bf9489
mesh: provide memory pool for mesh_transport_keys
2019-07-20 08:50:27 +02:00
Matthias Ringwald
50dc57fcb6
mesh: fix memory pool init
2019-07-20 08:50:27 +02:00
Matthias Ringwald
1c4e808439
mesh: extract network key managment from mesh_network into mesh_keys
2019-07-20 08:50:27 +02:00
Matthias Ringwald
df5d954deb
mesh: use mesh_transport_pdu instead of mesh_access_pdu
2019-07-20 08:50:22 +02:00
Matthias Ringwald
898500f031
mesh: add mesh_access_pdu_t and provide memory pool
2019-07-20 08:50:22 +02:00
Matthias Ringwald
44c5d856a0
mesh: add #ENABLE_MESH
2019-07-20 08:50:22 +02:00
Matthias Ringwald
c0a711d937
mesh: define mesh_network_key and add provide memory pool for it
2019-07-20 08:50:22 +02:00
Matthias Ringwald
ebb73e1fb1
mesh: provide mesh_network_pdu memory pool
2019-07-20 08:50:22 +02:00
Matthias Ringwald
b673498b9a
btstack_event: add mesh events
2019-07-20 08:50:21 +02:00
Milanka Ringwald
36d972ad05
tool: add UUIDs for Mesh Characterstics manually
2019-07-20 08:50:21 +02:00
Matthias Ringwald
38d9ec0504
btstack_event: use uint8_t and uint16_t for types 'J' and 'L' (MISRAC2012-Rule-10.3)
2019-05-11 21:05:04 +02:00
Matthias Ringwald
e501bae083
Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1)
2019-05-11 19:31:55 +02:00
Matthias Ringwald
bb2a765662
add missing filename tags
2019-05-11 19:27:14 +02:00
Matthias Ringwald
80e33422a9
Use FILENAME_H as include guard (MISRAC2012-Rule-21.1)
2019-05-11 19:08:52 +02:00
Matthias Ringwald
cccaab8051
bluetooth_sdp: follow changes on Bluetooth SIG site
2019-05-05 16:11:16 +02:00
Matthias Ringwald
0d9cb02c2e
bluetooth_gatt: follow changes on Bluetooth SIG site
2019-05-05 14:33:29 +02:00
Matthias Ringwald
fcf9a26a1e
bluetooth_data_types: follow changes on Bluetooth SIG site
2019-05-05 14:22:35 +02:00
Matthias Ringwald
44dacee23f
bluetooth_company_id: use live data
2019-05-05 14:17:11 +02:00
Matthias Ringwald
ff7cea0b7e
bluetooth_company_id: follow changes on Bluetooth SIG site
2019-05-04 22:52:53 +02:00