Merge branch 'feature/esp32c2_optimize_npl_os_freertos_ram' into 'master'

Feature/esp32c2 optimize npl os freertos ram

Closes IDF-6100

See merge request espressif/esp-idf!20775
This commit is contained in:
Island 2022-10-26 16:52:35 +08:00
commit afeb7dbbd8
2 changed files with 9 additions and 9 deletions

View File

@ -198,7 +198,7 @@ extern "C" {
#define RTC_FREQ_N (32000) /* in Hz */
#endif // CONFIG_XTAL_FREQ_26
#define BLE_LL_TX_PWR_DBM_N (0)
#define BLE_LL_TX_PWR_DBM_N (9)
#define RUN_BQB_TEST (0)

View File

@ -198,7 +198,7 @@ IRAM_ATTR npl_freertos_event_reset(struct ble_npl_event *ev)
}
void
IRAM_ATTR npl_freertos_eventq_init(struct ble_npl_eventq *evq)
npl_freertos_eventq_init(struct ble_npl_eventq *evq)
{
struct ble_npl_eventq_freertos *eventq = NULL;
#if OS_MEM_ALLOC
@ -225,7 +225,7 @@ IRAM_ATTR npl_freertos_eventq_init(struct ble_npl_eventq *evq)
}
void
IRAM_ATTR npl_freertos_eventq_deinit(struct ble_npl_eventq *evq)
npl_freertos_eventq_deinit(struct ble_npl_eventq *evq)
{
struct ble_npl_eventq_freertos *eventq = (struct ble_npl_eventq_freertos *)evq->eventq;
@ -380,7 +380,7 @@ IRAM_ATTR npl_freertos_eventq_remove(struct ble_npl_eventq *evq,
}
ble_npl_error_t
IRAM_ATTR npl_freertos_mutex_init(struct ble_npl_mutex *mu)
npl_freertos_mutex_init(struct ble_npl_mutex *mu)
{
struct ble_npl_mutex_freertos *mutex = NULL;
#if OS_MEM_ALLOC
@ -415,7 +415,7 @@ IRAM_ATTR npl_freertos_mutex_init(struct ble_npl_mutex *mu)
}
ble_npl_error_t
IRAM_ATTR npl_freertos_mutex_deinit(struct ble_npl_mutex *mu)
npl_freertos_mutex_deinit(struct ble_npl_mutex *mu)
{
struct ble_npl_mutex_freertos *mutex = (struct ble_npl_mutex_freertos *)mu->mutex;
@ -517,7 +517,7 @@ IRAM_ATTR npl_freertos_mutex_release(struct ble_npl_mutex *mu)
}
ble_npl_error_t
IRAM_ATTR npl_freertos_sem_init(struct ble_npl_sem *sem, uint16_t tokens)
npl_freertos_sem_init(struct ble_npl_sem *sem, uint16_t tokens)
{
struct ble_npl_sem_freertos *semaphor = NULL;
#if OS_MEM_ALLOC
@ -552,7 +552,7 @@ IRAM_ATTR npl_freertos_sem_init(struct ble_npl_sem *sem, uint16_t tokens)
}
ble_npl_error_t
IRAM_ATTR npl_freertos_sem_deinit(struct ble_npl_sem *sem)
npl_freertos_sem_deinit(struct ble_npl_sem *sem)
{
struct ble_npl_sem_freertos *semaphor = (struct ble_npl_sem_freertos *)sem->sem;
@ -677,7 +677,7 @@ IRAM_ATTR os_callout_timer_cb(TimerHandle_t timer)
#endif
void
IRAM_ATTR npl_freertos_callout_init(struct ble_npl_callout *co, struct ble_npl_eventq *evq,
npl_freertos_callout_init(struct ble_npl_callout *co, struct ble_npl_eventq *evq,
ble_npl_event_fn *ev_cb, void *ev_arg)
{
struct ble_npl_callout_freertos *callout = NULL;
@ -750,7 +750,7 @@ IRAM_ATTR npl_freertos_callout_init(struct ble_npl_callout *co, struct ble_npl_e
}
void
IRAM_ATTR npl_freertos_callout_deinit(struct ble_npl_callout *co)
npl_freertos_callout_deinit(struct ble_npl_callout *co)
{
struct ble_npl_callout_freertos *callout = (struct ble_npl_callout_freertos *)co->co;