chore: sdk compiles almost w/o warnings?

This commit is contained in:
2024-12-17 03:13:08 +06:00
parent 31efbc726f
commit 7c7b36a6b3
55 changed files with 658 additions and 514 deletions

View File

@@ -24,7 +24,7 @@ extern uint32_t SystemCoreClock;
#define configCPU_CLOCK_HZ (SystemCoreClock)
#define configTICK_RATE_HZ ((uint32_t)1000)
// #define configSYSTICK_CLOCK_HZ 32768
#define configSTACK_DEPTH_TYPE size_t
#define configSTACK_DEPTH_TYPE size_t
#define configMINIMAL_STACK_SIZE ((configSTACK_DEPTH_TYPE)512)
#ifdef CONFIG_WIFI_EN
#define configTOTAL_HEAP_SIZE ((size_t)(100 * 1024))
@@ -50,7 +50,7 @@ extern uint32_t SystemCoreClock;
#define configUSE_RECURSIVE_MUTEXES 1
#define configQUEUE_REGISTRY_SIZE 0
#define configGENERATE_RUN_TIME_STATS 0
#if configGENERATE_RUN_TIME_STATS
#ifdef configGENERATE_RUN_TIME_STATS
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() //( ulHighFrequencyTimerTicks
//= 0UL )
#define portGET_RUN_TIME_COUNTER_VALUE() \
@@ -67,8 +67,8 @@ extern uint32_t SystemCoreClock;
#if (__IASMARM__ != 1)
extern void freertos_pre_sleep_processing(unsigned int *expected_idle_time);
extern void freertos_post_sleep_processing(unsigned int *expected_idle_time);
extern void freertos_pre_sleep_processing(uint32_t *expected_idle_time);
extern void freertos_post_sleep_processing(uint32_t *expected_idle_time);
extern int freertos_ready_to_sleep();
/* Enable tickless power saving. */

View File

@@ -139,7 +139,7 @@
#define CONFIG_JOINLINK 0
/*For promisc rx unsupported pkt info */
#define CONFIG_UNSUPPORT_PLCPHDR_RPT 1
#define CONFIG_UNSUPPORT_PLCPHDR_RPT 0
#endif //end of #if CONFIG_WLAN
/*******************************************************************************/