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:
Espressif Systems
2015-07-14 11:06:53 +08:00
parent 169a436ce1
commit 76a22b42c6
32 changed files with 108 additions and 678 deletions

View File

@@ -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

View File

@@ -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, \

View File

@@ -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
}