Complete the RL78 demo. main.c still requires documentation in the comments at the top of the file.

This commit is contained in:
Richard Barry 2011-09-09 10:10:01 +00:00
parent 6ac7b7a9da
commit 80341af3f5
3 changed files with 10 additions and 5 deletions

View file

@ -83,8 +83,13 @@ extern "C" {
#define portSHORT short
#define portSTACK_TYPE unsigned short
#define portBASE_TYPE short
#define portPOINTER_SIZE_TYPE unsigned short
#warning pointer size type will depend on data model.
#if __DATA_MODEL__ == __DATA_MODEL_FAR__
#define portPOINTER_SIZE_TYPE unsigned long
#else
#define portPOINTER_SIZE_TYPE unsigned short
#endif
#if (configUSE_16_BIT_TICKS==1)
typedef unsigned int portTickType;