mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
assorted nit picks
This commit is contained in:
1 parent
75c11436ff
commit
fa841916c1
4 files changed
+40
-4
No files matched your search
@@ -45,6 +45,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MG_TLS
|
||||
#define MG_TLS MG_TLS_BUILTIN
|
||||
#endif
|
||||
|
||||
#if !defined(MG_OTA) && defined(STM32F1) || defined(STM32F2) || defined(STM32F4) || defined(STM32F7)
|
||||
#define MG_OTA MG_OTA_STM32F
|
||||
#elif !defined(MG_OTA) && defined(STM32H5)
|
||||
@@ -52,6 +56,8 @@
|
||||
#elif !defined(MG_OTA) && defined(STM32H7)
|
||||
#define MG_OTA MG_OTA_STM32H7
|
||||
#endif
|
||||
// use HAL-defined execute-in-ram section
|
||||
#define MG_IRAM __attribute__((section(".RamFunc")))
|
||||
|
||||
#ifndef STM32H5
|
||||
#define HAL_ICACHE_IsEnabled() 0
|
||||
|
||||
Reference in new issue
Block a user