Added -Wundef to compiler options (#3815)

* fbt: added -Wundef to compiler options; libs: various small fixes for missing defines; desktop: proper access to current RTOS config
* apps: fixes for FURI_DEBUG handling
* rpc: unified definition checks
* Cleanup various defines use
* Cleanup configs and move SVCall ISR priority configuration to furi_hal_interrupts

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
hedger
2024-07-31 19:38:20 +03:00
committed by GitHub
parent afc4e299a1
commit 380ec2ac46
14 changed files with 36 additions and 29 deletions

View File

@@ -3,8 +3,8 @@
#include <stdbool.h>
#include <stdint.h>
#if BITS_BIG_ENDIAN == 1
#error Bit structures defined in this file is not portable to BE
#if defined(BITS_BIG_ENDIAN) && BITS_BIG_ENDIAN == 1
#error Bit structures defined in this file are not portable to BE
#endif
#define BQ25896_ADDRESS 0xD6

View File

@@ -1,7 +1,7 @@
#pragma once
#if BITS_BIG_ENDIAN == 1
#error Bit structures defined in this file is not portable to BE
#if defined(BITS_BIG_ENDIAN) && BITS_BIG_ENDIAN == 1
#error Bit structures defined in this file are not portable to BE
#endif
#define LP5562_ADDRESS 0x60