git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@602 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
49fe48fd7a
commit
791d101af5
|
@ -120,7 +120,7 @@
|
|||
* provide the \p __heap_base__ and \p __heap_end__ symbols.
|
||||
* @note requires \p CH_USE_HEAP.
|
||||
*/
|
||||
#define CH_HEAP_SIZE 16384
|
||||
#define CH_HEAP_SIZE 0x20000
|
||||
|
||||
/** Configuration option: enforces the use of the C-runtime \p malloc() and
|
||||
* \p free() functions as backend for the system heap allocator.*/
|
||||
|
|
|
@ -159,9 +159,10 @@ typedef struct {
|
|||
#define sys_enable_from_isr()
|
||||
|
||||
/**
|
||||
* Does nothing in this simulator.
|
||||
* In the simulator this does a polling pass on the simulated interrupt
|
||||
* sources.
|
||||
*/
|
||||
#define sys_wait_for_interrupt()
|
||||
#define sys_wait_for_interrupt() ChkIntSources()
|
||||
|
||||
/**
|
||||
* IRQ handler function modifier.
|
||||
|
@ -174,6 +175,8 @@ extern "C" {
|
|||
__attribute__((fastcall)) void sys_puts(char *msg);
|
||||
__attribute__((fastcall)) void sys_switch(Thread *otp, Thread *ntp);
|
||||
__attribute__((fastcall)) void sys_halt(void);
|
||||
void InitCore(void);
|
||||
void ChkIntSources(void);
|
||||
void threadexit(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -34,7 +34,6 @@ static msg_t ConsoleThread(void *arg);
|
|||
|
||||
msg_t TestThread(void *p);
|
||||
|
||||
void InitCore(void);
|
||||
extern FullDuplexDriver COM1, COM2;
|
||||
|
||||
#define cprint(msg) chMsgSend(cdtp, (msg_t)msg)
|
||||
|
|
Loading…
Reference in New Issue