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

@@ -9,3 +9,15 @@
#define BLE_CFG_SVC_MAX_NBR_CB 0
#define BLE_CFG_CLT_MAX_NBR_CB 0
/* Various defines for compatibility with -Wundef - thanks, ST */
#define BLE_CFG_BLS_INTERMEDIATE_CUFF_PRESSURE 0
#define BLE_CFG_BLS_TIME_STAMP_FLAG 0
#define BLE_CFG_BLS_PULSE_RATE_FLAG 0
#define BLE_CFG_BLS_USER_ID_FLAG 0
#define BLE_CFG_BLS_MEASUREMENT_STATUS_FLAG 0
#define BLE_CFG_HRS_ENERGY_EXPENDED_INFO_FLAG 0
#define BLE_CFG_HRS_ENERGY_RR_INTERVAL_FLAG 0
#define BLE_CFG_HTS_MEASUREMENT_INTERVAL 0
#define BLE_CFG_HTS_TIME_STAMP_FLAG 0
#define BLE_CFG_HTS_TEMPERATURE_TYPE_VALUE_STATIC 0