mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 04:41:26 +04:00
* furi: update heap4 to latest * debug: heap under/overflow testing app * fix formatting * silence pvs warnings * Linker: symbols without type * Infrared: fix crash in universal remotes on long back press * Infrared: properly fix incorrect input handling behavior and crash in universal remote. Fix same issue in hid_app. * FreeRTOSConfig: explicit cast to uint in configTOTAL_HEAP_SIZE * Format sources * C and C++ compatible version of stm32wb55_linker.h Co-authored-by: あく <alleteam@gmail.com>
38 lines
979 B
C
38 lines
979 B
C
/**
|
|
* @file stm32wb55_linker.h
|
|
*
|
|
* Linker defined symbols. Used in various part of firmware to understand
|
|
* hardware boundaries.
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
typedef const char linker_symbol_t;
|
|
#else
|
|
typedef const void linker_symbol_t;
|
|
#endif
|
|
|
|
extern linker_symbol_t _stack_end; /**< end of stack */
|
|
extern linker_symbol_t _stack_size; /**< stack size */
|
|
|
|
extern linker_symbol_t _sidata; /**< data initial value start */
|
|
extern linker_symbol_t _sdata; /**< data start */
|
|
extern linker_symbol_t _edata; /**< data end */
|
|
|
|
extern linker_symbol_t _sbss; /**< bss start */
|
|
extern linker_symbol_t _ebss; /**< bss end */
|
|
|
|
extern linker_symbol_t _sMB_MEM2; /**< RAM2a start */
|
|
extern linker_symbol_t _eMB_MEM2; /**< RAM2a end */
|
|
|
|
extern linker_symbol_t __heap_start__; /**< RAM1 Heap start */
|
|
extern linker_symbol_t __heap_end__; /**< RAM1 Heap end */
|
|
|
|
extern linker_symbol_t __free_flash_start__; /**< Free Flash space start */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|