HOS-V4 Advance の開発リポジトリ
Revision | 209ed270ba391f33ed78668724d77601597e2080 (tree) |
---|---|
Zeit | 2011-07-05 00:57:45 |
Autor | ryuz <ryuz@user...> |
Commiter | ryuz |
modify MicroBlaze sample
@@ -30,7 +30,7 @@ | ||
30 | 30 | #define _KERNEL_PROCATR_SPT_MULTINT FALSE /**< %jp{多重割込みに対応しているか?} */ |
31 | 31 | |
32 | 32 | #define _KERNEL_PROCATR_TMIN_INHNO 0 /**< %jp{割込みハンドラ番号の最小値} */ |
33 | -#define _KERNEL_PROCATR_TMAX_INHNO 255 /**< %jp{割込みハンドラ番号の最大値} */ | |
33 | +#define _KERNEL_PROCATR_TMAX_INHNO 0 /**< %jp{割込みハンドラ番号の最大値} */ | |
34 | 34 | |
35 | 35 | #define _KERNEL_PROCATR_TMIN_EXCNO 0 /**< %jp{CPU例外ハンドラ番号の最小値} */ |
36 | 36 | #define _KERNEL_PROCATR_TMAX_EXCNO 0 /**< %jp{CPU例外ハンドラ番号の最大値} */ |
@@ -56,8 +56,8 @@ SRC_DIRS += . .. | ||
56 | 56 | |
57 | 57 | |
58 | 58 | # %jp{オプションフラグ}%en{option flags} |
59 | -AFLAGS = -mcpu=v7.30.a -mbig-endian | |
60 | -CFLAGS = -mcpu=v7.30.a -mbig-endian | |
59 | +AFLAGS = -mcpu=v7.30.a -mbig-endian -mno-xl-soft-mul | |
60 | +CFLAGS = -mcpu=v7.30.a -mbig-endian -mno-xl-soft-mul | |
61 | 61 | LNFLAGS = -mcpu=v7.30.a -mbig-endian -nostartfiles -Wl,-Map,$(TARGET).map,-T$(LINK_SCRIPT) |
62 | 62 | |
63 | 63 |
@@ -11,6 +11,7 @@ | ||
11 | 11 | |
12 | 12 | #include "kernel.h" |
13 | 13 | #include "ostimer.h" |
14 | +#include "uart.h" | |
14 | 15 | |
15 | 16 | |
16 | 17 | #define INHNO_TIMER 0 |
@@ -9,8 +9,8 @@ | ||
9 | 9 | */ |
10 | 10 | |
11 | 11 | |
12 | -#ifndef __ostimer_h__ | |
13 | -#define __ostimer_h__ | |
12 | +#ifndef __uart_h__ | |
13 | +#define __uart_h__ | |
14 | 14 | |
15 | 15 | |
16 | 16 | #ifdef __cplusplus |
@@ -31,7 +31,7 @@ void Uart_PutHexWord(unsigned long w); | ||
31 | 31 | #endif |
32 | 32 | |
33 | 33 | |
34 | -#endif /* __ostimer_h__ */ | |
34 | +#endif /* __uart_h__ */ | |
35 | 35 | |
36 | 36 | |
37 | 37 | /* end of file */ |