diff options
Diffstat (limited to 'bsp/lpc176x')
| -rw-r--r-- | bsp/lpc176x/.config | 57 | ||||
| -rw-r--r-- | bsp/lpc176x/project.ewp | 142 | ||||
| -rw-r--r-- | bsp/lpc176x/project.uvproj | 178 | ||||
| -rw-r--r-- | bsp/lpc176x/rtconfig.h | 19 |
4 files changed, 296 insertions, 100 deletions
diff --git a/bsp/lpc176x/.config b/bsp/lpc176x/.config index 9ac994ce2e..b1e3d36651 100644 --- a/bsp/lpc176x/.config +++ b/bsp/lpc176x/.config @@ -9,6 +9,7 @@ CONFIG_RT_NAME_MAX=6 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_SMART is not set +# CONFIG_RT_USING_AMP is not set # CONFIG_RT_USING_SMP is not set CONFIG_RT_ALIGN_SIZE=8 # CONFIG_RT_THREAD_PRIORITY_8 is not set @@ -34,18 +35,10 @@ CONFIG_RT_KSERVICE_USING_STDLIB=y # CONFIG_RT_KSERVICE_USING_TINY_SIZE is not set # CONFIG_RT_USING_TINY_FFS is not set # CONFIG_RT_KPRINTF_USING_LONGLONG is not set -CONFIG_RT_DEBUG=y -CONFIG_RT_DEBUG_COLOR=y -# CONFIG_RT_DEBUG_INIT_CONFIG is not set -# CONFIG_RT_DEBUG_THREAD_CONFIG is not set -# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set -# CONFIG_RT_DEBUG_IPC_CONFIG is not set -# CONFIG_RT_DEBUG_TIMER_CONFIG is not set -# CONFIG_RT_DEBUG_IRQ_CONFIG is not set -# CONFIG_RT_DEBUG_MEM_CONFIG is not set -# CONFIG_RT_DEBUG_SLAB_CONFIG is not set -# CONFIG_RT_DEBUG_MEMHEAP_CONFIG is not set -# CONFIG_RT_DEBUG_MODULE_CONFIG is not set +CONFIG_RT_USING_DEBUG=y +CONFIG_RT_DEBUGING_COLOR=y +CONFIG_RT_DEBUGING_CONTEXT=y +# CONFIG_RT_DEBUGING_INIT is not set # # Inter-Thread communication @@ -55,6 +48,7 @@ CONFIG_RT_USING_MUTEX=y CONFIG_RT_USING_EVENT=y CONFIG_RT_USING_MAILBOX=y CONFIG_RT_USING_MESSAGEQUEUE=y +# CONFIG_RT_USING_MESSAGEQUEUE_PRIORITY is not set # CONFIG_RT_USING_SIGNALS is not set # @@ -85,7 +79,7 @@ CONFIG_RT_USING_DEVICE=y CONFIG_RT_USING_CONSOLE=y CONFIG_RT_CONSOLEBUF_SIZE=128 CONFIG_RT_CONSOLE_DEVICE_NAME="uart0" -CONFIG_RT_VER_NUM=0x50001 +CONFIG_RT_VER_NUM=0x50002 # CONFIG_RT_USING_STDC_ATOMIC is not set # CONFIG_RT_USING_CACHE is not set CONFIG_RT_USING_HW_ATOMIC=y @@ -117,6 +111,7 @@ CONFIG_FINSH_USING_DESCRIPTION=y # CONFIG_FINSH_ECHO_DISABLE_DEFAULT is not set # CONFIG_FINSH_USING_AUTH is not set CONFIG_FINSH_ARG_MAX=10 +CONFIG_FINSH_USING_OPTION_COMPLETION=y # # DFS: device virtual file system @@ -158,6 +153,7 @@ CONFIG_RT_USING_DFS_DEVFS=y # CONFIG_RT_USING_DFS_CROMFS is not set # CONFIG_RT_USING_DFS_RAMFS is not set # CONFIG_RT_USING_DFS_TMPFS is not set +# CONFIG_RT_USING_DFS_MQUEUE is not set # CONFIG_RT_USING_DFS_NFS is not set # CONFIG_RT_USING_FAL is not set @@ -202,6 +198,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_RT_USING_DEV_BUS is not set # CONFIG_RT_USING_WIFI is not set # CONFIG_RT_USING_VIRTIO is not set +# CONFIG_RT_USING_KTIME is not set # # Using USB @@ -213,7 +210,19 @@ CONFIG_RT_USING_PIN=y # # C/C++ and POSIX layer # -CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 + +# +# ISO-ANSI C layer +# + +# +# Timezone and Daylight Saving Time +# +# CONFIG_RT_LIBC_USING_FULL_TZ_DST is not set +CONFIG_RT_LIBC_USING_LIGHT_TZ_DST=y +CONFIG_RT_LIBC_TZ_DEFAULT_HOUR=8 +CONFIG_RT_LIBC_TZ_DEFAULT_MIN=0 +CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # POSIX (Portable Operating System Interface) layer @@ -310,6 +319,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_RT_USING_ULOG is not set # CONFIG_RT_USING_UTEST is not set # CONFIG_RT_USING_VAR_EXPORT is not set +# CONFIG_RT_USING_RESOURCE_ID is not set # CONFIG_RT_USING_ADT is not set # CONFIG_RT_USING_RT_LINK is not set # CONFIG_RT_USING_VBUS is not set @@ -337,7 +347,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_KAWAII_MQTT is not set # CONFIG_PKG_USING_BC28_MQTT is not set # CONFIG_PKG_USING_WEBTERMINAL is not set -# CONFIG_PKG_USING_LIBMODBUS is not set # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set @@ -694,6 +703,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FT5426 is not set # CONFIG_PKG_USING_FT6236 is not set # CONFIG_PKG_USING_XPT2046_TOUCH is not set +# CONFIG_PKG_USING_CST816X is not set # CONFIG_PKG_USING_REALTEK_AMEBA is not set # CONFIG_PKG_USING_STM32_SDIO is not set # CONFIG_PKG_USING_ESP_IDF is not set @@ -772,6 +782,8 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LRF_NV7LIDAR is not set # CONFIG_PKG_USING_AIP650 is not set # CONFIG_PKG_USING_FINGERPRINT is not set +# CONFIG_PKG_USING_BT_ECB02C is not set +# CONFIG_PKG_USING_UAT is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # @@ -791,7 +803,10 @@ CONFIG_RT_LWIP_USING_PING=y # Signal Processing and Control Algorithm Packages # # CONFIG_PKG_USING_FIRE_PID_CURVE is not set +# CONFIG_PKG_USING_QPID is not set # CONFIG_PKG_USING_UKAL is not set +# CONFIG_PKG_USING_DIGITALCTRL is not set +# CONFIG_PKG_USING_KISSFFT is not set # # miscellaneous packages @@ -838,7 +853,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_DSTR is not set # CONFIG_PKG_USING_TINYFRAME is not set # CONFIG_PKG_USING_KENDRYTE_DEMO is not set -# CONFIG_PKG_USING_DIGITALCTRL is not set # CONFIG_PKG_USING_UPACKER is not set # CONFIG_PKG_USING_UPARAM is not set # CONFIG_PKG_USING_HELLO is not set @@ -863,8 +877,9 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_RTDUINO is not set # -# Projects +# Projects and Demos # +# CONFIG_PKG_USING_ARDUINO_MSGQ_C_CPP_DEMO is not set # CONFIG_PKG_USING_ARDUINO_ULTRASOUND_RADAR is not set # CONFIG_PKG_USING_ARDUINO_SENSOR_KIT is not set # CONFIG_PKG_USING_ARDUINO_MATLAB_SUPPORT is not set @@ -1011,15 +1026,19 @@ CONFIG_RT_LWIP_USING_PING=y # # Display # -# CONFIG_PKG_USING_ARDUINO_TFT_ESPI is not set +# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_GFX_LIBRARY is not set # CONFIG_PKG_USING_ARDUINO_U8G2 is not set -# CONFIG_PKG_USING_ARDUINO_U8GLIB_ARDUINO is not set +# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_ST7735 is not set +# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_SSD1306 is not set +# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_ILI9341 is not set # CONFIG_PKG_USING_SEEED_TM1637 is not set # # Timing # # CONFIG_PKG_USING_ARDUINO_MSTIMER2 is not set +# CONFIG_PKG_USING_ARDUINO_TICKER is not set +# CONFIG_PKG_USING_ARDUINO_TASKSCHEDULER is not set # # Data Processing diff --git a/bsp/lpc176x/project.ewp b/bsp/lpc176x/project.ewp index c56730c1b1..e175cc56bf 100644 --- a/bsp/lpc176x/project.ewp +++ b/bsp/lpc176x/project.ewp @@ -159,6 +159,8 @@ <state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
+ <state>_DLIB_FILE_DESCRIPTOR</state>
+ <state>_DLIB_THREAD_SUPPORT</state>
<state>__RTTHREAD__</state>
</option>
<option>
@@ -289,27 +291,31 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include</state>
- <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\netif</state>
- <state>$PROJ_DIR$\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\components\dfs\dfs_v1\include</state>
<state>$PROJ_DIR$\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\posix</state>
+ <state>$PROJ_DIR$\CMSIS\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\components\dfs\dfs_v1\filesystems\devfs</state>
<state>$PROJ_DIR$\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\CMSIS\CM3\DeviceSupport\NXP\LPC17xx</state>
<state>$PROJ_DIR$\drivers</state>
- <state>$PROJ_DIR$\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\components\libc\posix\io\stdio</state>
+ <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\netif</state>
<state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include</state>
<state>$PROJ_DIR$\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\posix</state>
- <state>$PROJ_DIR$\CMSIS\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\components\net\lwip\port</state>
- <state>$PROJ_DIR$\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\components\dfs\dfs_v1\filesystems\elmfat</state>
+ <state>$PROJ_DIR$\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4</state>
+ <state>$PROJ_DIR$\..\..\components\net\lwip\port</state>
+ <state>$PROJ_DIR$\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\components\libc\posix\io\epoll</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1051,6 +1057,8 @@ <state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
+ <state>_DLIB_FILE_DESCRIPTOR</state>
+ <state>_DLIB_THREAD_SUPPORT</state>
<state>__RTTHREAD__</state>
</option>
<option>
@@ -1181,27 +1189,31 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include</state>
- <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\netif</state>
- <state>$PROJ_DIR$\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\components\dfs\dfs_v1\include</state>
<state>$PROJ_DIR$\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\posix</state>
+ <state>$PROJ_DIR$\CMSIS\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\components\dfs\dfs_v1\filesystems\devfs</state>
<state>$PROJ_DIR$\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\CMSIS\CM3\DeviceSupport\NXP\LPC17xx</state>
<state>$PROJ_DIR$\drivers</state>
- <state>$PROJ_DIR$\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\components\libc\posix\io\stdio</state>
+ <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\netif</state>
<state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include</state>
<state>$PROJ_DIR$\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\posix</state>
- <state>$PROJ_DIR$\CMSIS\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\components\net\lwip\port</state>
- <state>$PROJ_DIR$\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\components\dfs\dfs_v1\filesystems\elmfat</state>
+ <state>$PROJ_DIR$\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4</state>
+ <state>$PROJ_DIR$\..\..\components\net\lwip\port</state>
+ <state>$PROJ_DIR$\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\components\libc\posix\io\epoll</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1787,10 +1799,10 @@ <group>
<name>Applications</name>
<file>
- <name>$PROJ_DIR$\applications\startup.c</name>
+ <name>$PROJ_DIR$\applications\platform.c</name>
</file>
<file>
- <name>$PROJ_DIR$\applications\platform.c</name>
+ <name>$PROJ_DIR$\applications\startup.c</name>
</file>
<file>
<name>$PROJ_DIR$\applications\application.c</name>
@@ -1811,9 +1823,6 @@ <name>$PROJ_DIR$\..\..\components\libc\compilers\common\cctype.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\components\libc\compilers\common\cstdio.c</name>
- </file>
- <file>
<name>$PROJ_DIR$\..\..\components\libc\compilers\common\cstdlib.c</name>
</file>
<file>
@@ -1823,6 +1832,9 @@ <name>$PROJ_DIR$\..\..\components\libc\compilers\common\ctime.c</name>
</file>
<file>
+ <name>$PROJ_DIR$\..\..\components\libc\compilers\common\cunistd.c</name>
+ </file>
+ <file>
<name>$PROJ_DIR$\..\..\components\libc\compilers\common\cwchar.c</name>
</file>
<file>
@@ -1856,6 +1868,9 @@ <group>
<name>CPU</name>
<file>
+ <name>$PROJ_DIR$\..\..\libcpu\arm\common\atomic_arm.c</name>
+ </file>
+ <file>
<name>$PROJ_DIR$\..\..\libcpu\arm\common\div0.c</name>
</file>
<file>
@@ -1871,16 +1886,22 @@ <group>
<name>DeviceDrivers</name>
<file>
+ <name>$PROJ_DIR$\..\..\components\drivers\core\device.c</name>
+ </file>
+ <file>
<name>$PROJ_DIR$\..\..\components\drivers\ipc\completion.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\components\drivers\ipc\ringblk_buf.c</name>
+ <name>$PROJ_DIR$\..\..\components\drivers\ipc\dataqueue.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\components\drivers\ipc\ringbuffer.c</name>
+ <name>$PROJ_DIR$\..\..\components\drivers\ipc\pipe.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\components\drivers\ipc\dataqueue.c</name>
+ <name>$PROJ_DIR$\..\..\components\drivers\ipc\ringblk_buf.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\drivers\ipc\ringbuffer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\components\drivers\ipc\waitqueue.c</name>
@@ -1889,28 +1910,61 @@ <name>$PROJ_DIR$\..\..\components\drivers\ipc\workqueue.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\components\drivers\ipc\pipe.c</name>
+ <name>$PROJ_DIR$\..\..\components\drivers\misc\pin.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\drivers\serial\serial.c</name>
</file>
</group>
<group>
<name>Drivers</name>
<file>
- <name>$PROJ_DIR$\drivers\uart.c</name>
+ <name>$PROJ_DIR$\drivers\emac.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\drivers\spi.c</name>
</file>
<file>
<name>$PROJ_DIR$\drivers\led.c</name>
</file>
<file>
- <name>$PROJ_DIR$\drivers\emac.c</name>
+ <name>$PROJ_DIR$\drivers\sd.c</name>
</file>
<file>
- <name>$PROJ_DIR$\drivers\spi.c</name>
+ <name>$PROJ_DIR$\drivers\uart.c</name>
</file>
<file>
<name>$PROJ_DIR$\drivers\board.c</name>
</file>
</group>
<group>
+ <name>Filesystem</name>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\dfs\dfs_v1\filesystems\elmfat\dfs_elm.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\dfs\dfs_v1\filesystems\elmfat\ff.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\dfs\dfs_v1\filesystems\elmfat\ffunicode.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\dfs\dfs_v1\src\dfs.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\dfs\dfs_v1\src\dfs_file.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\dfs\dfs_v1\src\dfs_fs.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\dfs\dfs_v1\src\dfs_posix.c</name>
+ </file>
+ </group>
+ <group>
<name>Finsh</name>
<file>
<name>$PROJ_DIR$\..\..\components\finsh\shell.c</name>
@@ -1921,6 +1975,12 @@ <file>
<name>$PROJ_DIR$\..\..\components\finsh\msh_parse.c</name>
</file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\finsh\cmd.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\components\finsh\msh_file.c</name>
+ </file>
</group>
<group>
<name>Kernel</name>
@@ -1931,9 +1991,6 @@ <name>$PROJ_DIR$\..\..\src\components.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\src\device.c</name>
- </file>
- <file>
<name>$PROJ_DIR$\..\..\src\idle.c</name>
</file>
<file>
@@ -1994,6 +2051,9 @@ <name>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\api\tcpip.c</name>
</file>
<file>
+ <name>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\apps\ping\ping.c</name>
+ </file>
+ <file>
<name>$PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\def.c</name>
</file>
<file>
diff --git a/bsp/lpc176x/project.uvproj b/bsp/lpc176x/project.uvproj index 43bc55778f..a845fc2c55 100644 --- a/bsp/lpc176x/project.uvproj +++ b/bsp/lpc176x/project.uvproj @@ -354,7 +354,7 @@ <MiscControls /> <Define>RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND</Define> <Undefine /> - <IncludePath>..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4;..\..\components\libc\compilers\common\extension\fcntl\octal;applications;drivers;.;..\..\components\net\lwip\port;..\..\components\libc\compilers\common\extension;..\..\libcpu\arm\cortex-m3;..\..\components\libc\posix\io\stdio;..\..\components\libc\posix\io\poll;..\..\components\libc\compilers\common\include;..\..\include;..\..\components\net\lwip\lwip-2.0.3\src\include\posix;..\..\components\drivers\include;..\..\components\libc\posix\ipc;..\..\components\finsh;..\..\libcpu\arm\common;CMSIS\CM3\DeviceSupport\NXP\LPC17xx;CMSIS\CMSIS\Include;..\..\components\net\lwip\lwip-2.0.3\src\include;..\..\components\net\lwip\lwip-2.0.3\src\include\netif</IncludePath> + <IncludePath>..\..\components\net\lwip\lwip-2.0.3\src\include;..\..\components\libc\compilers\common\include;applications;.;..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4;..\..\components\libc\compilers\common\extension;..\..\include;..\..\libcpu\arm\cortex-m3;..\..\components\drivers\include;..\..\components\drivers\include;drivers;CMSIS\CMSIS\Include;CMSIS\CM3\DeviceSupport\NXP\LPC17xx;..\..\components\dfs\dfs_v1\include;..\..\components\net\lwip\port;..\..\components\drivers\include;..\..\components\net\lwip\lwip-2.0.3\src\include\posix;..\..\components\net\lwip\lwip-2.0.3\src\include\netif;..\..\components\libc\posix\ipc;..\..\components\libc\posix\io\eventfd;..\..\components\drivers\include;..\..\components\dfs\dfs_v1\filesystems\elmfat;..\..\libcpu\arm\common;..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\io\epoll;..\..\components\finsh</IncludePath> </VariousControls> </Cads> <Aads> @@ -396,23 +396,23 @@ <GroupName>Applications</GroupName> <Files> <File> - <FileName>application.c</FileName> + <FileName>startup.c</FileName> <FileType>1</FileType> - <FilePath>applications\application.c</FilePath> + <FilePath>applications\startup.c</FilePath> </File> </Files> <Files> <File> - <FileName>platform.c</FileName> + <FileName>application.c</FileName> <FileType>1</FileType> - <FilePath>applications\platform.c</FilePath> + <FilePath>applications\application.c</FilePath> </File> </Files> <Files> <File> - <FileName>startup.c</FileName> + <FileName>platform.c</FileName> <FileType>1</FileType> - <FilePath>applications\startup.c</FilePath> + <FilePath>applications\platform.c</FilePath> </File> </Files> </Group> @@ -458,13 +458,6 @@ </Files> <Files> <File> - <FileName>cstdio.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\common\cstdio.c</FilePath> - </File> - </Files> - <Files> - <File> <FileName>cstdlib.c</FileName> <FileType>1</FileType> <FilePath>..\..\components\libc\compilers\common\cstdlib.c</FilePath> @@ -486,6 +479,13 @@ </Files> <Files> <File> + <FileName>cunistd.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\common\cunistd.c</FilePath> + </File> + </Files> + <Files> + <File> <FileName>cwchar.c</FileName> <FileType>1</FileType> <FilePath>..\..\components\libc\compilers\common\cwchar.c</FilePath> @@ -496,6 +496,13 @@ <GroupName>CPU</GroupName> <Files> <File> + <FileName>atomic_arm.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\libcpu\arm\common\atomic_arm.c</FilePath> + </File> + </Files> + <Files> + <File> <FileName>div0.c</FileName> <FileType>1</FileType> <FilePath>..\..\libcpu\arm\common\div0.c</FilePath> @@ -527,9 +534,23 @@ <GroupName>DeviceDrivers</GroupName> <Files> <File> - <FileName>ringblk_buf.c</FileName> + <FileName>device.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\ipc\ringblk_buf.c</FilePath> + <FilePath>..\..\components\drivers\core\device.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>completion.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\drivers\ipc\completion.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>dataqueue.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\drivers\ipc\dataqueue.c</FilePath> </File> </Files> <Files> @@ -541,6 +562,13 @@ </Files> <Files> <File> + <FileName>ringblk_buf.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\drivers\ipc\ringblk_buf.c</FilePath> + </File> + </Files> + <Files> + <File> <FileName>ringbuffer.c</FileName> <FileType>1</FileType> <FilePath>..\..\components\drivers\ipc\ringbuffer.c</FilePath> @@ -548,9 +576,9 @@ </Files> <Files> <File> - <FileName>completion.c</FileName> + <FileName>waitqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\ipc\completion.c</FilePath> + <FilePath>..\..\components\drivers\ipc\waitqueue.c</FilePath> </File> </Files> <Files> @@ -562,16 +590,16 @@ </Files> <Files> <File> - <FileName>dataqueue.c</FileName> + <FileName>pin.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\ipc\dataqueue.c</FilePath> + <FilePath>..\..\components\drivers\misc\pin.c</FilePath> </File> </Files> <Files> <File> - <FileName>waitqueue.c</FileName> + <FileName>serial.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\ipc\waitqueue.c</FilePath> + <FilePath>..\..\components\drivers\serial\serial.c</FilePath> </File> </Files> </Group> @@ -579,9 +607,16 @@ <GroupName>Drivers</GroupName> <Files> <File> - <FileName>emac.c</FileName> + <FileName>led.c</FileName> <FileType>1</FileType> - <FilePath>drivers\emac.c</FilePath> + <FilePath>drivers\led.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>spi.c</FileName> + <FileType>1</FileType> + <FilePath>drivers\spi.c</FilePath> </File> </Files> <Files> @@ -600,16 +635,75 @@ </Files> <Files> <File> - <FileName>spi.c</FileName> + <FileName>sd.c</FileName> <FileType>1</FileType> - <FilePath>drivers\spi.c</FilePath> + <FilePath>drivers\sd.c</FilePath> </File> </Files> <Files> <File> - <FileName>led.c</FileName> + <FileName>emac.c</FileName> <FileType>1</FileType> - <FilePath>drivers\led.c</FilePath> + <FilePath>drivers\emac.c</FilePath> + </File> + </Files> + </Group> + <Group> + <GroupName>Filesystem</GroupName> + <Files> + <File> + <FileName>devfs.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>dfs_elm.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\dfs\dfs_v1\filesystems\elmfat\dfs_elm.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>ff.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\dfs\dfs_v1\filesystems\elmfat\ff.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>ffunicode.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\dfs\dfs_v1\filesystems\elmfat\ffunicode.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>dfs.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\dfs\dfs_v1\src\dfs.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>dfs_file.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\dfs\dfs_v1\src\dfs_file.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>dfs_fs.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\dfs\dfs_v1\src\dfs_fs.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>dfs_posix.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\dfs\dfs_v1\src\dfs_posix.c</FilePath> </File> </Files> </Group> @@ -636,6 +730,20 @@ <FilePath>..\..\components\finsh\msh_parse.c</FilePath> </File> </Files> + <Files> + <File> + <FileName>cmd.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\finsh\cmd.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>msh_file.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\finsh\msh_file.c</FilePath> + </File> + </Files> </Group> <Group> <GroupName>Kernel</GroupName> @@ -655,13 +763,6 @@ </Files> <Files> <File> - <FileName>device.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\src\device.c</FilePath> - </File> - </Files> - <Files> - <File> <FileName>idle.c</FileName> <FileType>1</FileType> <FilePath>..\..\src\idle.c</FilePath> @@ -798,6 +899,13 @@ </Files> <Files> <File> + <FileName>ping.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\net\lwip\lwip-2.0.3\src\apps\ping\ping.c</FilePath> + </File> + </Files> + <Files> + <File> <FileName>def.c</FileName> <FileType>1</FileType> <FilePath>..\..\components\net\lwip\lwip-2.0.3\src\core\def.c</FilePath> diff --git a/bsp/lpc176x/rtconfig.h b/bsp/lpc176x/rtconfig.h index 8c664bd89a..660633e200 100644 --- a/bsp/lpc176x/rtconfig.h +++ b/bsp/lpc176x/rtconfig.h @@ -24,8 +24,9 @@ /* kservice optimization */ #define RT_KSERVICE_USING_STDLIB -#define RT_DEBUG -#define RT_DEBUG_COLOR +#define RT_USING_DEBUG +#define RT_DEBUGING_COLOR +#define RT_DEBUGING_CONTEXT /* Inter-Thread communication */ @@ -50,7 +51,7 @@ #define RT_USING_CONSOLE #define RT_CONSOLEBUF_SIZE 128 #define RT_CONSOLE_DEVICE_NAME "uart0" -#define RT_VER_NUM 0x50001 +#define RT_VER_NUM 0x50002 #define RT_USING_HW_ATOMIC #define RT_USING_CPU_FFS #define ARCH_ARM @@ -72,6 +73,7 @@ #define MSH_USING_BUILT_IN_COMMANDS #define FINSH_USING_DESCRIPTION #define FINSH_ARG_MAX 10 +#define FINSH_USING_OPTION_COMPLETION /* DFS: device virtual file system */ @@ -114,7 +116,14 @@ /* C/C++ and POSIX layer */ -#define RT_LIBC_DEFAULT_TIMEZONE 8 +/* ISO-ANSI C layer */ + +/* Timezone and Daylight Saving Time */ + +#define RT_LIBC_USING_LIGHT_TZ_DST +#define RT_LIBC_TZ_DEFAULT_HOUR 8 +#define RT_LIBC_TZ_DEFAULT_MIN 0 +#define RT_LIBC_TZ_DEFAULT_SEC 0 /* POSIX (Portable Operating System Interface) layer */ @@ -259,7 +268,7 @@ /* Arduino libraries */ -/* Projects */ +/* Projects and Demos */ /* Sensors */ |
