mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-12-15 10:17:49 +08:00
1. memory optimize;
2. support both libminic and libc; 3. fix some fatal exception bugs; 4. remove udhcp related files; 5. sync third_party files; 6. other minor changes;
This commit is contained in:
@@ -96,6 +96,7 @@
|
||||
|
||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||
#define configUSE_MUTEXES 1
|
||||
#define configUSE_RECURSIVE_MUTEXES 1
|
||||
#define configUSE_TIMERS 1
|
||||
|
||||
#if configUSE_TIMERS
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
|
||||
#define taskSECOND_CHECK_FOR_STACK_OVERFLOW() \
|
||||
{ \
|
||||
static const unsigned char ucExpectedStackBytes[] = { tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, \
|
||||
static const unsigned char ucExpectedStackBytes[] ICACHE_RODATA_ATTR = { tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, \
|
||||
tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, \
|
||||
tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, \
|
||||
tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, tskSTACK_FILL_BYTE, \
|
||||
|
||||
@@ -178,13 +178,15 @@ void _xt_isr_mask (uint32 mask);
|
||||
uint32 _xt_read_ints (void);
|
||||
void _xt_clear_ints(uint32 mask);
|
||||
|
||||
|
||||
/* interrupt related */
|
||||
typedef void (* _xt_isr)(void);
|
||||
|
||||
void _xt_isr_attach (uint8 i, _xt_isr func);
|
||||
typedef void (* _xt_isr)(void *arg);
|
||||
|
||||
void _xt_isr_attach (uint8 i, _xt_isr func, void *arg);
|
||||
|
||||
typedef struct _xt_isr_entry_ {
|
||||
_xt_isr handler;
|
||||
void * arg;
|
||||
} _xt_isr_entry;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user