diff --git a/bsp/fm3/mb9bf506r/application.c b/bsp/fm3/mb9bf506r/application.c index a689dff68..d5fa30419 100644 --- a/bsp/fm3/mb9bf506r/application.c +++ b/bsp/fm3/mb9bf506r/application.c @@ -9,7 +9,7 @@ * * Change Logs: * Date Author Notes - * 2011-02-24 Bernard the first version + * 2011-05-24 Bernard the first version */ /** @@ -21,18 +21,49 @@ #include "board.h" #include "led.h" +#ifdef RT_USING_DFS +/* dfs init */ +#include +/* dfs filesystem:ELM filesystem init */ +#include +/* dfs Filesystem APIs */ +#include +#endif + void rt_init_thread_entry(void *parameter) { + /* Filesystem Initialization */ +#ifdef RT_USING_DFS + { + /* init the device filesystem */ + dfs_init(); + +#ifdef RT_USING_DFS_ELMFAT + /* init the elm chan FatFs filesystam*/ + elm_init(); + + /* mount ELM FatFs on NAND flash as root directory */ + if (dfs_mount("nand", "/", "elm", 0, 0) == 0) + { + rt_kprintf("File System initialized!\n"); + } + else + rt_kprintf("File System initialzation failed!\n"); +#endif + } +#endif + /* LED Initialization */ rt_hw_led_init(); } int rt_application_init() { - rt_thread_t init_thread; + rt_thread_t tid; - init_thread = rt_thread_create("init", rt_init_thread_entry, RT_NULL, 1024, 21, 20); - if(init_thread != RT_NULL) - rt_thread_startup(init_thread); + tid = rt_thread_create("init", + rt_init_thread_entry, RT_NULL, + 2048, 8, 20); + if (tid != RT_NULL) rt_thread_startup(tid); return 0; } diff --git a/bsp/fm3/mb9bf506r/board.c b/bsp/fm3/mb9bf506r/board.c index 82c8d4c78..9c95c3c41 100644 --- a/bsp/fm3/mb9bf506r/board.c +++ b/bsp/fm3/mb9bf506r/board.c @@ -17,30 +17,12 @@ #include "board.h" #include "mb9bf506r.h" -#include "core_cm3.h" + +#include "serial.h" +#include "nand.h" extern const uint32_t SystemFrequency; -#define UART0 FM3_MFS0_UART -struct serial_int_rx uart0_int_rx; -struct serial_device uart0 = -{ - UART0, - &uart0_int_rx, - RT_NULL -}; -struct rt_device uart0_device; - -#define UART2 FM3_MFS2_UART -struct serial_int_rx uart2_int_rx; -struct serial_device uart2 = -{ - UART2, - &uart2_int_rx, - RT_NULL -}; -struct rt_device uart2_device; - /** * @addtogroup FM3 */ @@ -62,48 +44,21 @@ void rt_hw_timer_handler(void) rt_interrupt_leave(); } -void rt_hw_uart2_rx_handler(void) -{ -#ifdef RT_USING_UART2 - extern struct rt_device uart2_device; - extern void rt_hw_serial_isr(struct rt_device *device); - - /* enter interrupt */ - rt_interrupt_enter(); - - rt_hw_serial_isr(&uart2_device); - - /* leave interrupt */ - rt_interrupt_leave(); -#endif -} - -/** - * This function will handle init uart - */ -static void rt_hw_uart_init(void) -{ - /* Set Uart Ch2 Port, SIN2_1, SOT2_1 */ - FM3_GPIO->PFR2 = FM3_GPIO->PFR2 | 0x0030; - FM3_GPIO->EPFR07 = FM3_GPIO->EPFR07 | 0x000a0000; - -uart2.uart_device->SMR = SMR_MD_UART | SMR_SOE;; -uart2.uart_device->BGR = (40000000UL + (BPS/2))/BPS - 1; -uart2.uart_device->ESCR = ESCR_DATABITS_8; -uart2.uart_device->SCR = SCR_RXE | SCR_TXE | SCR_RIE; - -UART_ENABLE_IRQ(MFS2RX_IRQn); -UART_ENABLE_IRQ(MFS2TX_IRQn); -} - /** * This function will initial FM3 Easy Kit board. */ void rt_hw_board_init() { /* init systick */ - SysTick_Config(SystemFrequency/RT_TICK_PER_SECOND - 1); - rt_hw_uart_init(); + SysTick_Config(SystemFrequency/RT_TICK_PER_SECOND); + + /* initialize UART device */ + rt_hw_serial_init(); + /* set console as UART device */ + rt_console_set_device("uart2"); + + /* initialize nand flash device */ + rt_hw_nand_init(); } /*@}*/ diff --git a/bsp/fm3/mb9bf506r/fm3_easy_kit.dep b/bsp/fm3/mb9bf506r/fm3_easy_kit.dep index de2931c19..d80e10d1d 100644 --- a/bsp/fm3/mb9bf506r/fm3_easy_kit.dep +++ b/bsp/fm3/mb9bf506r/fm3_easy_kit.dep @@ -2,15 +2,15 @@ 2 - 119363783 + 1449275198 Debug $PROJ_DIR$\..\..\..\include\rtthread.h + $PROJ_DIR$\Debug\Obj\clock.pbi $PROJ_DIR$\Debug\Obj\finsh_ops.o - $PROJ_DIR$\..\CMSIS\system_mb9bf50x.h - $PROJ_DIR$\Debug\Obj\finsh_heap.o - $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\Debug\Obj\object.o + $PROJ_DIR$\..\..\..\src\idle.c $PROJ_DIR$\..\CMSIS\system_mb9bf50x.c $PROJ_DIR$\..\..\..\components\finsh\cmd.c $PROJ_DIR$\..\CMSIS\core_cm3.c @@ -32,35 +32,24 @@ $PROJ_DIR$\..\..\..\libcpu\arm\fm3\start_iar.S $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\kservice.c - $TOOLKIT_DIR$\inc\c\DLib_Threads.h - $TOOLKIT_DIR$\inc\c\xencoding_limits.h - $TOOLKIT_DIR$\inc\c\DLib_Product.h - $TOOLKIT_DIR$\inc\c\yvals.h - $TOOLKIT_DIR$\inc\c\DLib_Defaults.h - $TOOLKIT_DIR$\inc\c\stdint.h - $TOOLKIT_DIR$\inc\c\string.h - $TOOLKIT_DIR$\inc\c\ysizet.h - $PROJ_DIR$\Debug\Obj\board.pbi - $PROJ_DIR$\Debug\Obj\led.pbi + $PROJ_DIR$\Debug\Obj\nand.o + $PROJ_DIR$\Debug\Obj\nand.pbi + $PROJ_DIR$\nand.h $PROJ_DIR$\Debug\Obj\finsh_error.o + $PROJ_DIR$\..\..\..\include\rtdebug.h $PROJ_DIR$\Debug\Obj\cpuport.o $PROJ_DIR$\Debug\Obj\finsh_init.o - $PROJ_DIR$\Debug\Obj\console.o $PROJ_DIR$\Debug\Obj\finsh_var.o $PROJ_DIR$\serial.h $TOOLKIT_DIR$\inc\c\ystdio.h - $TOOLKIT_DIR$\inc\c\assert.h + $PROJ_DIR$\Debug\Obj\finsh_token.pbi $PROJ_DIR$\..\..\..\include\rtm.h $PROJ_DIR$\..\..\..\include\rthw.h $PROJ_DIR$\board.h $TOOLKIT_DIR$\inc\c\stdio.h $PROJ_DIR$\led.h - $PROJ_DIR$\Debug\Obj\finsh_token.pbi $TOOLKIT_DIR$\inc\c\intrinsics.h + $PROJ_DIR$\Debug\Obj\scheduler.pbi $PROJ_DIR$\Debug\Obj\shell.o $PROJ_DIR$\Debug\Obj\finsh_var.pbi $PROJ_DIR$\Debug\Obj\finsh_vm.pbi @@ -72,22 +61,8 @@ $PROJ_DIR$\Debug\Obj\finsh_node.pbi $PROJ_DIR$\Debug\Obj\finsh_ops.pbi $PROJ_DIR$\Debug\Obj\serial.o - $PROJ_DIR$\Debug\Obj\clock.pbi - $PROJ_DIR$\Debug\Obj\scheduler.pbi - $PROJ_DIR$\Debug\Obj\serial.pbi - $PROJ_DIR$\Debug\Obj\console.pbi - $PROJ_DIR$\Debug\Obj\idle.o - $TOOLKIT_DIR$\inc\c\stdlib.h - $PROJ_DIR$\Debug\Obj\irq.o - $PROJ_DIR$\Debug\Obj\clock.o - $PROJ_DIR$\Debug\Obj\device.o - $PROJ_DIR$\Debug\Obj\slab.o - $PROJ_DIR$\Debug\Obj\start_iar.o - $PROJ_DIR$\Debug\Obj\core_cm3.o - $PROJ_DIR$\Debug\Obj\kservice.pbi - $PROJ_DIR$\Debug\Obj\object.o - $PROJ_DIR$\Debug\Obj\system_mb9bf50x.o $PROJ_DIR$\Debug\Obj\module.o + $TOOLKIT_DIR$\inc\c\stdarg.h $PROJ_DIR$\Debug\Obj\application.o $PROJ_DIR$\Debug\Obj\slab.pbi $PROJ_DIR$\Debug\Obj\fault_iar.o @@ -103,7 +78,7 @@ $PROJ_DIR$\..\CMSIS\core_cm3.h $PROJ_DIR$\..\..\..\src\kservice.h $PROJ_DIR$\Debug\Obj\mem.pbi - $TOOLKIT_DIR$\inc\c\ycheck.h + $PROJ_DIR$\..\..\..\components\finsh\finsh.h $PROJ_DIR$\..\CMSIS\core_cmFunc.h $PROJ_DIR$\..\..\..\include\rtdef.h $PROJ_DIR$\..\CMSIS\core_cmInstr.h @@ -116,21 +91,7 @@ $PROJ_DIR$\Debug\Obj\scheduler.o $PROJ_DIR$\rtconfig.h $TOOLKIT_DIR$\inc\c\wchar.h - $PROJ_DIR$\..\..\..\src\mempool.c - $PROJ_DIR$\board.c - $PROJ_DIR$\..\..\..\src\module.c - $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\rtm.c - $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\slab.c - $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\application.c - $PROJ_DIR$\console.c - $PROJ_DIR$\led.c - $PROJ_DIR$\serial.c - $PROJ_DIR$\startup.c - $PROJ_DIR$\..\..\..\components\finsh\finsh.h + $TOOLKIT_DIR$\inc\c\DLib_Product_string.h $PROJ_DIR$\..\..\..\components\finsh\finsh_heap.h $PROJ_DIR$\..\..\..\components\finsh\finsh_error.h $PROJ_DIR$\..\..\..\components\finsh\finsh_ops.h @@ -141,14 +102,45 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_vm.h $PROJ_DIR$\..\..\..\components\finsh\shell.h $PROJ_DIR$\Debug\Obj\board.o - $TOOLKIT_DIR$\inc\c\stdarg.h - $TOOLKIT_DIR$\inc\c\DLib_Product_string.h + $TOOLKIT_DIR$\inc\c\DLib_Threads.h + $PROJ_DIR$\Debug\Obj\device.pbi $PROJ_DIR$\Debug\Obj\timer.pbi $PROJ_DIR$\Debug\Obj\core_cm3.pbi - $PROJ_DIR$\Debug\Obj\device.pbi + $TOOLKIT_DIR$\inc\c\xencoding_limits.h + $PROJ_DIR$\Debug\Obj\finsh_heap.o + $PROJ_DIR$\..\CMSIS\system_mb9bf50x.h + $TOOLKIT_DIR$\inc\c\DLib_Product.h + $TOOLKIT_DIR$\inc\c\yvals.h + $TOOLKIT_DIR$\inc\c\DLib_Defaults.h + $TOOLKIT_DIR$\inc\c\stdint.h + $TOOLKIT_DIR$\inc\c\string.h + $TOOLKIT_DIR$\inc\c\ysizet.h + $TOOLKIT_DIR$\inc\c\assert.h + $PROJ_DIR$\Debug\Obj\led.pbi + $PROJ_DIR$\Debug\Obj\board.pbi + $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\board.c + $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\module.c + $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\rtm.c + $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\slab.c + $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\application.c + $PROJ_DIR$\led.c + $PROJ_DIR$\nand.c + $PROJ_DIR$\serial.c + $PROJ_DIR$\startup.c $PROJ_DIR$\Debug\Exe\fm3_easy_kit.out - $PROJ_DIR$\Debug\Obj\irq.pbi $TOOLKIT_DIR$\inc\c\xtls.h + $TOOLKIT_DIR$\inc\c\ctype.h + $PROJ_DIR$\Debug\Obj\irq.pbi + $TOOLKIT_DIR$\inc\c\xlocale_c.h $PROJ_DIR$\Debug\Obj\system_mb9bf50x.pbi $PROJ_DIR$\Debug\Obj\timer.o $PROJ_DIR$\Debug\Obj\startup.pbi @@ -156,12 +148,11 @@ $PROJ_DIR$\Debug\Obj\fm3_easy_kit.pbd $PROJ_DIR$\Debug\Obj\ipc.o $PROJ_DIR$\Debug\Obj\finsh_vm.o - $TOOLKIT_DIR$\inc\c\ctype.h - $PROJ_DIR$\Debug\Obj\cmd.pbi - $TOOLKIT_DIR$\inc\c\xlocale_c.h $TOOLKIT_DIR$\inc\c\xmtx.h + $PROJ_DIR$\Debug\Obj\cmd.pbi $TOOLKIT_DIR$\inc\c\xlocaleuse.h $TOOLKIT_DIR$\inc\c\xlocale.h + $TOOLKIT_DIR$\inc\c\stdlib.h $PROJ_DIR$\Debug\Obj\cmd.o $PROJ_DIR$\Debug\Obj\thread.pbi $PROJ_DIR$\Debug\Obj\kservice.o @@ -172,23 +163,63 @@ $PROJ_DIR$\Debug\Obj\finsh_compiler.o $PROJ_DIR$\Debug\Obj\symbol.o $PROJ_DIR$\Debug\Obj\finsh_token.o + $PROJ_DIR$\Debug\Obj\serial.pbi + $TOOLKIT_DIR$\inc\c\ycheck.h + $PROJ_DIR$\Debug\Obj\idle.o + $PROJ_DIR$\Debug\Obj\system_mb9bf50x.o + $PROJ_DIR$\Debug\Obj\irq.o + $PROJ_DIR$\Debug\Obj\clock.o + $PROJ_DIR$\Debug\Obj\device.o + $PROJ_DIR$\Debug\Obj\slab.o + $PROJ_DIR$\Debug\Obj\start_iar.o + $PROJ_DIR$\Debug\Obj\core_cm3.o + $PROJ_DIR$\Debug\Obj\kservice.pbi + $PROJ_DIR$\..\..\..\components\dfs\include\dfs_posix.h + $PROJ_DIR$\..\..\..\components\dfs\include\dfs_file.h + $PROJ_DIR$\..\..\..\components\dfs\src\dfs_file.c + $PROJ_DIR$\Debug\Obj\dfs_elm.o + $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\dfs_elm.c + $PROJ_DIR$\Debug\Obj\ff.pbi + $PROJ_DIR$\Debug\Obj\ff.o + $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\ff.c + $PROJ_DIR$\..\..\..\components\dfs\src\dfs_fs.c + $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\ff.h + $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\ffconf.h + $PROJ_DIR$\..\..\..\components\dfs\src\dfs.c + $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\diskio.h + $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\integer.h + $PROJ_DIR$\..\..\..\components\dfs\include\dfs_elm.h + $PROJ_DIR$\..\..\..\components\dfs\src\dfs_posix.c + $PROJ_DIR$\Debug\Obj\dfs_elm.pbi + $PROJ_DIR$\Debug\Obj\dfs_file.o + $PROJ_DIR$\Debug\Obj\dfs_fs.pbi + $PROJ_DIR$\Debug\Obj\dfs.o + $PROJ_DIR$\Debug\Obj\dfs_fs.o + $PROJ_DIR$\Debug\Obj\dfs_posix.o + $PROJ_DIR$\Debug\Obj\dfs_file.pbi + $PROJ_DIR$\Debug\Obj\dfs.pbi + $PROJ_DIR$\..\..\..\components\dfs\include\dfs_fs.h + $PROJ_DIR$\Debug\Obj\dfs_posix.pbi + $PROJ_DIR$\..\..\..\components\dfs\include\dfs_init.h + $PROJ_DIR$\..\..\..\components\dfs\include\dfs_def.h + $PROJ_DIR$\..\..\..\components\dfs\include\dfs.h - $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\..\..\..\src\idle.c - BICOMP - 96 + ICCARM + 159 - ICCARM - 106 + BICOMP + 61 BICOMP - 0 99 108 135 97 33 34 32 31 30 124 150 155 142 153 71 37 154 152 109 36 136 + 38 0 74 83 56 158 104 105 103 100 96 30 70 @@ -196,18 +227,18 @@ $PROJ_DIR$\..\CMSIS\system_mb9bf50x.c - BICOMP - 143 + ICCARM + 160 - ICCARM - 80 + BICOMP + 135 BICOMP - 101 94 35 97 33 34 32 31 30 100 54 98 2 + 76 69 106 158 104 105 103 100 96 75 42 73 102 @@ -215,18 +246,18 @@ $PROJ_DIR$\..\..\..\components\finsh\cmd.c - BICOMP - 151 + ICCARM + 147 - ICCARM - 156 + BICOMP + 143 BICOMP - 0 99 108 135 97 33 34 32 31 30 124 150 155 142 153 71 37 154 152 109 36 136 + 0 74 83 56 158 104 105 103 100 96 30 72 132 145 131 142 146 108 144 134 84 107 85 @@ -234,18 +265,18 @@ $PROJ_DIR$\..\CMSIS\core_cm3.c - BICOMP - 138 + ICCARM + 166 - ICCARM - 77 + BICOMP + 99 BICOMP - 35 97 33 34 32 31 30 + 106 158 104 105 103 100 96 @@ -253,18 +284,18 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_compiler.c - BICOMP - 159 + ICCARM + 154 - ICCARM - 163 + BICOMP + 150 BICOMP - 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 128 126 131 127 132 + 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 89 87 92 88 93 @@ -272,18 +303,18 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_error.c - BICOMP - 90 + ICCARM + 29 - ICCARM - 40 + BICOMP + 65 BICOMP - 126 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 + 87 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 @@ -291,18 +322,18 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_heap.c - BICOMP - 162 + ICCARM + 101 - ICCARM - 3 + BICOMP + 153 BICOMP - 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 131 + 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 92 @@ -310,18 +341,18 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_init.c - BICOMP - 62 + ICCARM + 32 - ICCARM - 42 + BICOMP + 51 BICOMP - 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 128 132 131 129 126 125 + 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 89 93 92 90 87 86 @@ -329,18 +360,18 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_node.c - BICOMP - 63 + ICCARM + 151 - ICCARM - 160 + BICOMP + 52 BICOMP - 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 128 126 131 125 + 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 89 87 92 86 @@ -348,18 +379,18 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_ops.c - BICOMP - 64 + ICCARM + 2 - ICCARM - 1 + BICOMP + 53 BICOMP - 127 132 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 131 + 88 93 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 92 @@ -367,18 +398,18 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_parser.c - BICOMP - 61 + ICCARM + 152 - ICCARM - 161 + BICOMP + 50 BICOMP - 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 130 128 126 129 131 + 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 91 89 87 90 92 @@ -386,18 +417,18 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_token.c - BICOMP - 53 + ICCARM + 156 - ICCARM - 165 + BICOMP + 36 BICOMP - 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 130 126 + 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 91 87 @@ -405,18 +436,18 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_var.c - BICOMP - 56 + ICCARM + 33 - ICCARM - 44 + BICOMP + 45 BICOMP - 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 131 + 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 92 @@ -424,18 +455,18 @@ $PROJ_DIR$\..\..\..\components\finsh\finsh_vm.c - BICOMP - 57 + ICCARM + 141 - ICCARM - 149 + BICOMP + 46 BICOMP - 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 132 131 127 + 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 93 92 88 @@ -443,18 +474,18 @@ $PROJ_DIR$\..\..\..\components\finsh\shell.c - BICOMP - 58 + ICCARM + 44 - ICCARM - 55 + BICOMP + 47 BICOMP - 0 99 108 135 97 33 34 32 31 30 49 124 150 155 142 153 71 37 154 152 109 36 136 133 + 0 74 83 56 158 104 105 103 100 96 30 38 72 132 145 131 142 146 108 144 134 84 107 85 94 168 169 195 196 192 @@ -462,18 +493,18 @@ $PROJ_DIR$\..\..\..\components\finsh\symbol.c - BICOMP - 59 + ICCARM + 155 - ICCARM - 164 + BICOMP + 48 BICOMP - 124 0 99 108 135 97 33 34 32 31 30 150 155 142 153 71 37 154 152 109 36 136 + 72 0 74 83 56 158 104 105 103 100 96 30 132 145 131 142 146 108 144 134 84 107 85 @@ -482,7 +513,7 @@ AARM - 87 + 62 @@ -490,18 +521,18 @@ $PROJ_DIR$\..\..\..\libcpu\arm\fm3\cpuport.c - BICOMP - 92 + ICCARM + 31 - ICCARM - 41 + BICOMP + 67 BICOMP - 49 0 99 108 135 97 33 34 32 31 30 101 94 35 100 54 98 2 + 38 0 74 83 56 158 104 105 103 100 96 30 76 69 106 75 42 73 102 @@ -510,7 +541,7 @@ AARM - 84 + 59 @@ -519,7 +550,7 @@ AARM - 76 + 165 @@ -527,18 +558,18 @@ $PROJ_DIR$\..\..\..\src\clock.c - BICOMP - 66 + ICCARM + 162 - ICCARM - 73 + BICOMP + 1 BICOMP - 0 99 108 135 97 33 34 32 31 30 + 0 74 83 56 158 104 105 103 100 96 30 @@ -546,94 +577,18 @@ $PROJ_DIR$\..\..\..\src\device.c - BICOMP - 139 + ICCARM + 163 - ICCARM - 74 + BICOMP + 97 BICOMP - 0 99 108 135 97 33 34 32 31 30 95 - - - - - $PROJ_DIR$\..\..\..\src\idle.c - - - BICOMP - 86 - - - ICCARM - 70 - - - - - BICOMP - 49 0 99 108 135 97 33 34 32 31 30 95 - - - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - BICOMP - 105 - - - ICCARM - 148 - - - - - BICOMP - 0 99 108 135 97 33 34 32 31 30 49 95 - - - - - $PROJ_DIR$\..\..\..\src\irq.c - - - BICOMP - 141 - - - ICCARM - 72 - - - - - BICOMP - 49 0 99 108 135 97 33 34 32 31 30 - - - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - BICOMP - 78 - - - ICCARM - 158 - - - - - BICOMP - 0 99 108 135 97 33 34 32 31 30 49 + 0 74 83 56 158 104 105 103 100 96 30 70 @@ -642,58 +597,140 @@ ILINK - 140 + 130 - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\ipc.c - BICOMP - 85 + ICCARM + 140 - ICCARM - 91 + BICOMP + 80 BICOMP - 49 0 99 108 135 97 33 34 32 31 30 95 + 0 74 83 56 158 104 105 103 100 96 30 38 70 $PROJ_DIR$\board.c - - BICOMP - 38 - ICCARM - 134 + 95 - - - - $PROJ_DIR$\..\..\..\src\module.c - BICOMP - 104 - - - ICCARM - 81 + 111 BICOMP - 0 99 108 135 97 33 34 32 31 30 48 36 37 136 95 + 38 0 74 83 56 158 104 105 103 100 96 30 39 34 76 69 106 75 42 73 102 28 + + + + + $PROJ_DIR$\..\..\..\src\irq.c + + + ICCARM + 161 + + + BICOMP + 133 + + + + + BICOMP + 38 0 74 83 56 158 104 105 103 100 96 30 + + + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + ICCARM + 149 + + + BICOMP + 167 + + + + + BICOMP + 0 74 83 56 158 104 105 103 100 96 30 38 + + + + + $PROJ_DIR$\..\..\..\src\mem.c + + + ICCARM + 81 + + + BICOMP + 71 + + + + + BICOMP + 38 0 74 83 56 158 104 105 103 100 96 30 72 132 145 131 142 146 108 144 134 84 107 85 + + + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + ICCARM + 66 + + + BICOMP + 60 + + + + + BICOMP + 38 0 74 83 56 158 104 105 103 100 96 30 70 + + + + + $PROJ_DIR$\..\..\..\src\module.c + + + ICCARM + 55 + + + BICOMP + 79 + + + + + BICOMP + 38 0 74 83 56 158 104 105 103 100 96 30 37 107 108 85 70 @@ -701,18 +738,18 @@ $PROJ_DIR$\..\..\..\src\object.c - BICOMP - 102 + ICCARM + 3 - ICCARM - 79 + BICOMP + 77 BICOMP - 0 99 108 135 97 33 34 32 31 30 49 95 + 0 74 83 56 158 104 105 103 100 96 30 38 70 @@ -720,18 +757,18 @@ $PROJ_DIR$\..\..\..\src\rtm.c - BICOMP - 88 + ICCARM + 64 - ICCARM - 89 + BICOMP + 63 BICOMP - 0 99 108 135 97 33 34 32 31 30 47 71 37 36 136 51 46 + 0 74 83 56 158 104 105 103 100 96 30 109 146 108 107 85 40 35 @@ -739,18 +776,18 @@ $PROJ_DIR$\..\..\..\src\scheduler.c - BICOMP - 67 + ICCARM + 82 - ICCARM - 107 + BICOMP + 43 BICOMP - 0 99 108 135 97 33 34 32 31 30 49 95 + 0 74 83 56 158 104 105 103 100 96 30 38 70 @@ -758,18 +795,18 @@ $PROJ_DIR$\..\..\..\src\slab.c - BICOMP - 83 + ICCARM + 164 - ICCARM - 75 + BICOMP + 58 BICOMP - 49 0 99 108 135 97 33 34 32 31 30 95 + 38 0 74 83 56 158 104 105 103 100 96 30 70 @@ -777,18 +814,18 @@ $PROJ_DIR$\..\..\..\src\thread.c - BICOMP - 157 + ICCARM + 49 - ICCARM - 60 + BICOMP + 148 BICOMP - 0 99 108 135 97 33 34 32 31 30 49 95 + 0 74 83 56 158 104 105 103 100 96 30 38 70 @@ -796,18 +833,18 @@ $PROJ_DIR$\..\..\..\src\timer.c - BICOMP - 137 + ICCARM + 136 - ICCARM - 144 + BICOMP + 98 BICOMP - 0 99 108 135 97 33 34 32 31 30 49 95 + 0 74 83 56 158 104 105 103 100 96 30 38 70 @@ -815,72 +852,219 @@ $PROJ_DIR$\application.c - BICOMP - 103 + ICCARM + 57 - ICCARM - 82 + BICOMP + 78 BICOMP - 0 99 108 135 97 33 34 32 31 30 50 45 49 101 94 35 100 54 98 2 52 + 0 74 83 56 158 104 105 103 100 96 30 39 34 38 76 69 106 75 42 73 102 41 194 182 192 195 - - $PROJ_DIR$\console.c - - - BICOMP - 69 - - - ICCARM - 43 - - - $PROJ_DIR$\led.c - BICOMP - 39 + ICCARM + 138 - ICCARM - 146 + BICOMP + 110 + + + BICOMP + 0 74 83 56 158 104 105 103 100 96 30 38 76 69 106 75 42 73 102 41 + + + + + $PROJ_DIR$\nand.c + + + ICCARM + 26 + + + BICOMP + 27 + + + + + BICOMP + 28 0 74 83 56 158 104 105 103 100 96 30 76 69 106 75 42 73 102 + + $PROJ_DIR$\serial.c - BICOMP - 68 + ICCARM + 54 - ICCARM - 65 + BICOMP + 157 + + + BICOMP + 0 74 83 56 158 104 105 103 100 96 30 34 38 76 69 106 75 42 73 102 + + $PROJ_DIR$\startup.c - BICOMP - 145 + ICCARM + 68 - ICCARM - 93 + BICOMP + 137 + + + BICOMP + 38 0 74 83 56 158 104 105 103 100 96 30 39 34 76 69 106 75 42 73 102 72 132 145 131 142 146 108 144 134 84 107 85 + + + + + $PROJ_DIR$\Debug\Obj\fm3_easy_kit.pbd + + + BILINK + 78 111 1 143 99 67 97 191 184 190 186 193 173 150 65 153 51 52 53 50 36 45 46 61 80 133 167 110 71 60 79 27 77 63 43 157 47 58 137 48 135 148 98 + + + + + $PROJ_DIR$\..\..\..\components\dfs\src\dfs_file.c + + + ICCARM + 185 + + + BICOMP + 190 + + + + + BICOMP + 196 107 158 104 105 103 100 96 108 85 169 195 0 74 83 56 30 192 72 132 145 131 142 146 144 134 84 + + + + + $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\dfs_elm.c + + + ICCARM + 171 + + + BICOMP + 184 + + + + + BICOMP + 0 74 83 56 158 104 105 103 100 96 30 178 177 181 192 195 180 + + + + + $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\ff.c + + + ICCARM + 174 + + + BICOMP + 173 + + + + + BICOMP + 177 0 74 83 56 158 104 105 103 100 96 30 181 178 180 + + + + + $PROJ_DIR$\..\..\..\components\dfs\src\dfs_fs.c + + + ICCARM + 188 + + + BICOMP + 186 + + + + + BICOMP + 192 195 0 74 83 56 158 104 105 103 100 96 30 169 196 107 108 85 72 132 145 131 142 146 144 134 84 + + + + + $PROJ_DIR$\..\..\..\components\dfs\src\dfs.c + + + ICCARM + 187 + + + BICOMP + 191 + + + + + BICOMP + 196 107 158 104 105 103 100 96 108 85 192 195 0 74 83 56 30 169 + + + + + $PROJ_DIR$\..\..\..\components\dfs\src\dfs_posix.c + + + ICCARM + 189 + + + BICOMP + 193 + + + + + BICOMP + 196 107 158 104 105 103 100 96 108 85 168 169 195 0 74 83 56 30 192 72 132 145 131 142 146 144 134 84 + + diff --git a/bsp/fm3/mb9bf506r/fm3_easy_kit.ewp b/bsp/fm3/mb9bf506r/fm3_easy_kit.ewp index dbf4ff4f7..06ade83a2 100644 --- a/bsp/fm3/mb9bf506r/fm3_easy_kit.ewp +++ b/bsp/fm3/mb9bf506r/fm3_easy_kit.ewp @@ -289,6 +289,8 @@ $PROJ_DIR$\..\CMSIS $PROJ_DIR$\..\..\..\include $PROJ_DIR$\..\..\..\components\finsh + $PROJ_DIR$\..\..\..\components\dfs\include + $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat