mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ESP32: __RAMFUNC__ maps to IRAM_ATTR
dagery_ua found this and reported it in Discord
This commit is contained in:
parent
d5e33a7026
commit
fd8c470120
|
@ -52,6 +52,10 @@
|
||||||
#define __LITTLE_ENDIAN 1234
|
#define __LITTLE_ENDIAN 1234
|
||||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||||
|
|
||||||
|
// ArduPilot uses __RAMFUNC__ to place functions in fast instruction RAM
|
||||||
|
#define __RAMFUNC__ IRAM_ATTR
|
||||||
|
|
||||||
|
|
||||||
// whenver u get ... error: "xxxxxxx" is not defined, evaluates to 0 [-Werror=undef] just define it below as 0
|
// whenver u get ... error: "xxxxxxx" is not defined, evaluates to 0 [-Werror=undef] just define it below as 0
|
||||||
#define CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY 0
|
#define CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY 0
|
||||||
#define XCHAL_ERRATUM_453 0
|
#define XCHAL_ERRATUM_453 0
|
||||||
|
|
Loading…
Reference in New Issue