Replace clang-format with uncrustify
LLVM/clang is not used for any compilation due to it not supporting the 8-bit architectures we use (MCS-51, AVR). This means we are effectively installing 250+ MiB of dependencies for a C formatting tool. Replace it with uncrustify, which uses only ~600 KiB of space and has more granular control of formatting (800+ options). Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Tim Crawford
parent
6c3b34ee6e
commit
d3894392d5
@ -7,7 +7,6 @@
|
||||
#define __code
|
||||
#endif
|
||||
|
||||
// clang-format off
|
||||
static const char __code BOARD[] =
|
||||
"76EC_BOARD="
|
||||
xstr(__BOARD__);
|
||||
@ -15,7 +14,6 @@ static const char __code BOARD[] =
|
||||
static const char __code VERSION[] =
|
||||
"76EC_VERSION="
|
||||
xstr(__FIRMWARE_VERSION__);
|
||||
// clang-format on
|
||||
|
||||
const char *board(void) {
|
||||
return &BOARD[11];
|
||||
|
Reference in New Issue
Block a user