File tree Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 1818#define MYNEWT_VAL (x ) MYNEWT_VAL_ ## x
1919#define MYNEWT_VAL_CHOICE (_name , _val ) MYNEWT_VAL_ ## _name ## __ ## _val
2020
21- #ifndef IRAM_ATTR_64MCPU
22- #define IRAM_ATTR_64MCPU IRAM_ATTR
23- #endif
24-
25-
2621#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3
2722#define NIMBLE_CFG_CONTROLLER 0
2823#else
Original file line number Diff line number Diff line change 1111 #include "nimconfig.h"
1212 #include "../include/esp_nimble_mem.h"
1313
14- IRAM_ATTR void * nimble_platform_mem_malloc (size_t size )
14+ void * nimble_platform_mem_malloc (size_t size )
1515 {
1616 #ifdef CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_INTERNAL
1717 return heap_caps_malloc (size , MALLOC_CAP_INTERNAL |MALLOC_CAP_8BIT );
2424 #endif
2525 }
2626
27- IRAM_ATTR void * nimble_platform_mem_calloc (size_t n , size_t size )
27+ void * nimble_platform_mem_calloc (size_t n , size_t size )
2828 {
2929 #ifdef CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_INTERNAL
3030 return heap_caps_calloc (n , size , MALLOC_CAP_INTERNAL |MALLOC_CAP_8BIT );
3737 #endif
3838 }
3939
40- IRAM_ATTR void nimble_platform_mem_free (void * ptr )
40+ void nimble_platform_mem_free (void * ptr )
4141 {
4242 heap_caps_free (ptr );
4343 }
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ nimble_port_stop(void)
312312}
313313
314314void
315- IRAM_ATTR nimble_port_run (void )
315+ nimble_port_run (void )
316316{
317317 struct ble_npl_event * ev ;
318318
@@ -328,7 +328,7 @@ IRAM_ATTR nimble_port_run(void)
328328}
329329
330330struct ble_npl_eventq *
331- IRAM_ATTR nimble_port_get_dflt_eventq (void )
331+ nimble_port_get_dflt_eventq (void )
332332{
333333 return & g_eventq_dflt ;
334334}
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ static struct os_sanity_check os_msys_sc;
9898 * @return The msys pool's minimum safe buffer count.
9999 */
100100static int
101- IRAM_ATTR os_msys_sanity_min_count (int idx )
101+ os_msys_sanity_min_count (int idx )
102102{
103103 switch (idx ) {
104104 case 0 :
@@ -114,7 +114,7 @@ IRAM_ATTR os_msys_sanity_min_count(int idx)
114114}
115115
116116static int
117- IRAM_ATTR os_msys_sanity (struct os_sanity_check * sc , void * arg )
117+ os_msys_sanity (struct os_sanity_check * sc , void * arg )
118118{
119119 const struct os_mbuf_pool * omp ;
120120 int min_count ;
You can’t perform that action at this time.
0 commit comments