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 18
18
#define MYNEWT_VAL (x ) MYNEWT_VAL_ ## x
19
19
#define MYNEWT_VAL_CHOICE (_name , _val ) MYNEWT_VAL_ ## _name ## __ ## _val
20
20
21
- #ifndef IRAM_ATTR_64MCPU
22
- #define IRAM_ATTR_64MCPU IRAM_ATTR
23
- #endif
24
-
25
-
26
21
#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3
27
22
#define NIMBLE_CFG_CONTROLLER 0
28
23
#else
Original file line number Diff line number Diff line change 11
11
#include "nimconfig.h"
12
12
#include "../include/esp_nimble_mem.h"
13
13
14
- IRAM_ATTR void * nimble_platform_mem_malloc (size_t size )
14
+ void * nimble_platform_mem_malloc (size_t size )
15
15
{
16
16
#ifdef CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_INTERNAL
17
17
return heap_caps_malloc (size , MALLOC_CAP_INTERNAL |MALLOC_CAP_8BIT );
24
24
#endif
25
25
}
26
26
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 )
28
28
{
29
29
#ifdef CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_INTERNAL
30
30
return heap_caps_calloc (n , size , MALLOC_CAP_INTERNAL |MALLOC_CAP_8BIT );
37
37
#endif
38
38
}
39
39
40
- IRAM_ATTR void nimble_platform_mem_free (void * ptr )
40
+ void nimble_platform_mem_free (void * ptr )
41
41
{
42
42
heap_caps_free (ptr );
43
43
}
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ nimble_port_stop(void)
312
312
}
313
313
314
314
void
315
- IRAM_ATTR nimble_port_run (void )
315
+ nimble_port_run (void )
316
316
{
317
317
struct ble_npl_event * ev ;
318
318
@@ -328,7 +328,7 @@ IRAM_ATTR nimble_port_run(void)
328
328
}
329
329
330
330
struct ble_npl_eventq *
331
- IRAM_ATTR nimble_port_get_dflt_eventq (void )
331
+ nimble_port_get_dflt_eventq (void )
332
332
{
333
333
return & g_eventq_dflt ;
334
334
}
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ static struct os_sanity_check os_msys_sc;
98
98
* @return The msys pool's minimum safe buffer count.
99
99
*/
100
100
static int
101
- IRAM_ATTR os_msys_sanity_min_count (int idx )
101
+ os_msys_sanity_min_count (int idx )
102
102
{
103
103
switch (idx ) {
104
104
case 0 :
@@ -114,7 +114,7 @@ IRAM_ATTR os_msys_sanity_min_count(int idx)
114
114
}
115
115
116
116
static 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 )
118
118
{
119
119
const struct os_mbuf_pool * omp ;
120
120
int min_count ;
You can’t perform that action at this time.
0 commit comments