David Lechner
73677349c9
tool: consistently use raw strings for regular expressions
...
Newer versions of Python raise a SyntaxWarning when a regular expression
contains a backslash that is not part of an escape sequence. To prevent
this warning and future exceptions, use raw strings for all regular
expressions. Even strings without escape sequences are converted for
consistency. Some IDEs will apply special syntax highlighting to raw
strings, which can make it easier to decipher regular expressions.
2025-01-22 08:40:56 +01:00
Matthias Ringwald
a9d074b9db
tool/update_btstack_config: support adding more than one define
2022-04-04 12:41:41 +02:00
Milanka Ringwald
077fecbb6e
ports: add link to documentation in btstack_config.h
2021-12-09 16:42:48 +01:00
Milanka Ringwald
03b8223bf9
tool: update copyright script
2021-11-01 11:20:13 +01:00
Matthias Ringwald
924c007898
tool/misc: replace sprintf with snprintf and zero last byte using coccinelle
2021-03-30 15:51:40 +02:00
Milanka Ringwald
5b2fa894af
tools: prepare script to update Copyright text
2020-11-24 11:18:28 +01:00
Milanka Ringwald
41e404d30d
tools: update btstack_root
2020-11-06 14:20:22 +01:00
Milanka Ringwald
da3afb49ed
config: tool for updating port configurations
2020-11-06 13:42:47 +01:00
Matthias Ringwald
4ea43905e8
MISRAC2012-Rule-10.4_a: append 'u' to constant literals when used in unsigned expressions or comparisons
2020-07-23 12:36:33 +02:00
Matthias Ringwald
19d4ba9182
tool/misc: add tool to convert signed to unsigned literals when used in unsigned expressions
2020-07-22 13:53:20 +02:00
Matthias Ringwald
6c87a5c39f
tool/misc: new append_u_to_constants.cocci
2020-07-20 23:37:06 +02:00
Matthias Ringwald
5c54401929
tool: update python scripts to python3
2020-07-09 16:24:31 +02:00
Matthias Ringwald
9f4d1a7b89
tool/misc: cocci script for if (ptr) operations, (void) memcpy
2019-12-03 12:23:19 +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
Matthias Ringwald
070c8da6de
misc: collect misc scripts
2016-04-10 21:53:56 +02:00