diff options
| author | supperthomas <[email protected]> | 2021-04-11 12:53:34 +0800 |
|---|---|---|
| committer | supperthomas <[email protected]> | 2021-04-11 12:53:34 +0800 |
| commit | 9d034b78217eca2c81855442e7a0e834fc3c3e40 (patch) | |
| tree | 2612ad8058d71efd42801047093f2a790692dfd8 | |
| parent | 66195afe24db42017860184064e2844bbb9bff8d (diff) | |
add the ld file
| -rw-r--r-- | bsp/nrf5x/nrf51822/.config | 25 | ||||
| -rw-r--r-- | bsp/nrf5x/nrf51822/board/linker_scripts/link.lds | 5 | ||||
| -rw-r--r-- | bsp/nrf5x/nrf51822/board/linker_scripts/link.sct | 6 | ||||
| -rw-r--r-- | bsp/nrf5x/nrf51822/project.uvoptx | 240 | ||||
| -rw-r--r-- | bsp/nrf5x/nrf51822/project.uvprojx | 230 | ||||
| -rw-r--r-- | bsp/nrf5x/nrf51822/rtconfig.h | 5 |
6 files changed, 267 insertions, 244 deletions
diff --git a/bsp/nrf5x/nrf51822/.config b/bsp/nrf5x/nrf51822/.config index 2723e76943..73a95686b2 100644 --- a/bsp/nrf5x/nrf51822/.config +++ b/bsp/nrf5x/nrf51822/.config @@ -23,7 +23,12 @@ CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_RT_USING_TIMER_SOFT=y CONFIG_RT_TIMER_THREAD_PRIO=4 CONFIG_RT_TIMER_THREAD_STACK_SIZE=512 + +# +# kservice optimization +# # CONFIG_RT_KSERVICE_USING_STDLIB is not set +# CONFIG_RT_KSERVICE_USING_TINY_SIZE is not set CONFIG_RT_DEBUG=y # CONFIG_RT_DEBUG_COLOR is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set @@ -274,6 +279,10 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_WAYZ_IOTKIT is not set # CONFIG_PKG_USING_MAVLINK is not set # CONFIG_PKG_USING_RAPIDJSON is not set +# CONFIG_PKG_USING_BSAL is not set +# CONFIG_PKG_USING_AGILE_MODBUS is not set +# CONFIG_PKG_USING_AGILE_FTP is not set +# CONFIG_PKG_USING_EMBEDDEDPROTO is not set # # security packages @@ -338,6 +347,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_ANV_MEMLEAK is not set # CONFIG_PKG_USING_ANV_TESTSUIT is not set # CONFIG_PKG_USING_ANV_BENCH is not set +# CONFIG_PKG_USING_DEVMEM is not set # # system packages @@ -345,7 +355,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_GUIENGINE is not set # CONFIG_PKG_USING_CAIRO is not set # CONFIG_PKG_USING_PIXMAN is not set -# CONFIG_PKG_USING_LWEXT4 is not set # CONFIG_PKG_USING_PARTITION is not set # CONFIG_PKG_USING_FAL is not set # CONFIG_PKG_USING_FLASHDB is not set @@ -355,6 +364,9 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set +# CONFIG_PKG_USING_DFS_JFFS2 is not set +# CONFIG_PKG_USING_DFS_UFFS is not set +# CONFIG_PKG_USING_LWEXT4 is not set # CONFIG_PKG_USING_THREAD_POOL is not set # CONFIG_PKG_USING_ROBOTS is not set # CONFIG_PKG_USING_EV is not set @@ -382,6 +394,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QFPLIB_M0_TINY is not set # CONFIG_PKG_USING_QFPLIB_M3 is not set # CONFIG_PKG_USING_LPM is not set +# CONFIG_PKG_USING_TLSF is not set # # peripheral libraries and drivers @@ -448,7 +461,11 @@ CONFIG_PKG_NRFX_VER="latest" # CONFIG_PKG_USING_VIRTUAL_SENSOR is not set # CONFIG_PKG_USING_VDEVICE is not set # CONFIG_PKG_USING_SGM706 is not set +# CONFIG_PKG_USING_STM32WB55_SDK is not set # CONFIG_PKG_USING_RDA58XX is not set +# CONFIG_PKG_USING_LIBNFC is not set +# CONFIG_PKG_USING_MFOC is not set +# CONFIG_PKG_USING_TMC51XX is not set # # AI packages @@ -460,6 +477,8 @@ CONFIG_PKG_NRFX_VER="latest" # CONFIG_PKG_USING_TENSORFLOWLITEMICRO is not set # CONFIG_PKG_USING_ELAPACK is not set # CONFIG_PKG_USING_ULAPACK is not set +# CONFIG_PKG_USING_QUEST is not set +# CONFIG_PKG_USING_NAXOS is not set # # miscellaneous packages @@ -497,12 +516,14 @@ CONFIG_PKG_NRFX_VER="latest" # CONFIG_PKG_USING_CRCLIB is not set # -# games: games run on RT-Thread console +# entertainment: terminal games and other interesting software packages # # CONFIG_PKG_USING_THREES is not set # CONFIG_PKG_USING_2048 is not set # CONFIG_PKG_USING_SNAKE is not set # CONFIG_PKG_USING_TETRIS is not set +# CONFIG_PKG_USING_DONUT is not set +# CONFIG_PKG_USING_ACLOCK is not set # CONFIG_PKG_USING_LWGPS is not set # CONFIG_PKG_USING_STATE_MACHINE is not set # CONFIG_PKG_USING_MCURSES is not set diff --git a/bsp/nrf5x/nrf51822/board/linker_scripts/link.lds b/bsp/nrf5x/nrf51822/board/linker_scripts/link.lds index 9a9609eed7..47f823186e 100644 --- a/bsp/nrf5x/nrf51822/board/linker_scripts/link.lds +++ b/bsp/nrf5x/nrf51822/board/linker_scripts/link.lds @@ -5,9 +5,8 @@ GROUP(-lgcc -lc -lnosys) MEMORY { - FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x100000 - RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x40000 - CODE_RAM (rwx) : ORIGIN = 0x800000, LENGTH = 0x10000 + FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x40000 + RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x4000 } INCLUDE "packages/nrfx-v2.1.0/mdk/nrf_common.ld" diff --git a/bsp/nrf5x/nrf51822/board/linker_scripts/link.sct b/bsp/nrf5x/nrf51822/board/linker_scripts/link.sct index a2f8ebd922..e4a89512f2 100644 --- a/bsp/nrf5x/nrf51822/board/linker_scripts/link.sct +++ b/bsp/nrf5x/nrf51822/board/linker_scripts/link.sct @@ -2,13 +2,13 @@ ; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
-LR_IROM1 0x00000000 0x100000 { ; load region size_region
- ER_IROM1 0x00000000 0x100000 { ; load address = execution address
+LR_IROM1 0x00000000 0x40000 { ; load region size_region
+ ER_IROM1 0x00000000 0x40000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
- RW_IRAM1 0x20000000 0x40000 { ; RW data
+ RW_IRAM1 0x20000000 0x4000 { ; RW data
.ANY (+RW +ZI)
}
}
diff --git a/bsp/nrf5x/nrf51822/project.uvoptx b/bsp/nrf5x/nrf51822/project.uvoptx index 18eba3bf25..0b8ce213d7 100644 --- a/bsp/nrf5x/nrf51822/project.uvoptx +++ b/bsp/nrf5x/nrf51822/project.uvoptx @@ -214,8 +214,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\libcpu\arm\common\showmem.c</PathWithFileName> - <FilenameWithoutPath>showmem.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\libcpu\arm\common\backtrace.c</PathWithFileName> + <FilenameWithoutPath>backtrace.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -226,8 +226,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\libcpu\arm\common\div0.c</PathWithFileName> - <FilenameWithoutPath>div0.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\libcpu\arm\common\showmem.c</PathWithFileName> + <FilenameWithoutPath>showmem.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -238,32 +238,32 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\libcpu\arm\common\backtrace.c</PathWithFileName> - <FilenameWithoutPath>backtrace.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\libcpu\arm\common\div0.c</PathWithFileName> + <FilenameWithoutPath>div0.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> <File> <GroupNumber>2</GroupNumber> <FileNumber>5</FileNumber> - <FileType>1</FileType> + <FileType>2</FileType> <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\libcpu\arm\cortex-m0\cpuport.c</PathWithFileName> - <FilenameWithoutPath>cpuport.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\libcpu\arm\cortex-m0\context_rvds.S</PathWithFileName> + <FilenameWithoutPath>context_rvds.S</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> <File> <GroupNumber>2</GroupNumber> <FileNumber>6</FileNumber> - <FileType>2</FileType> + <FileType>1</FileType> <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\libcpu\arm\cortex-m0\context_rvds.S</PathWithFileName> - <FilenameWithoutPath>context_rvds.S</FilenameWithoutPath> + <PathWithFileName>..\..\..\libcpu\arm\cortex-m0\cpuport.c</PathWithFileName> + <FilenameWithoutPath>cpuport.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -306,8 +306,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\components\drivers\src\completion.c</PathWithFileName> - <FilenameWithoutPath>completion.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\components\drivers\src\waitqueue.c</PathWithFileName> + <FilenameWithoutPath>waitqueue.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -318,8 +318,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\components\drivers\src\waitqueue.c</PathWithFileName> - <FilenameWithoutPath>waitqueue.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\components\drivers\src\workqueue.c</PathWithFileName> + <FilenameWithoutPath>workqueue.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -354,8 +354,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\components\drivers\src\ringblk_buf.c</PathWithFileName> - <FilenameWithoutPath>ringblk_buf.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\components\drivers\src\pipe.c</PathWithFileName> + <FilenameWithoutPath>pipe.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -366,8 +366,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\components\drivers\src\pipe.c</PathWithFileName> - <FilenameWithoutPath>pipe.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\components\drivers\src\ringblk_buf.c</PathWithFileName> + <FilenameWithoutPath>ringblk_buf.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -378,8 +378,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\components\drivers\src\workqueue.c</PathWithFileName> - <FilenameWithoutPath>workqueue.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\components\drivers\src\completion.c</PathWithFileName> + <FilenameWithoutPath>completion.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -474,8 +474,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\mem.c</PathWithFileName> - <FilenameWithoutPath>mem.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\thread.c</PathWithFileName> + <FilenameWithoutPath>thread.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -486,8 +486,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\clock.c</PathWithFileName> - <FilenameWithoutPath>clock.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\scheduler.c</PathWithFileName> + <FilenameWithoutPath>scheduler.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -498,8 +498,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\kservice.c</PathWithFileName> - <FilenameWithoutPath>kservice.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\mem.c</PathWithFileName> + <FilenameWithoutPath>mem.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -510,8 +510,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\idle.c</PathWithFileName> - <FilenameWithoutPath>idle.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\mempool.c</PathWithFileName> + <FilenameWithoutPath>mempool.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -522,8 +522,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\thread.c</PathWithFileName> - <FilenameWithoutPath>thread.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\clock.c</PathWithFileName> + <FilenameWithoutPath>clock.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -534,8 +534,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\mempool.c</PathWithFileName> - <FilenameWithoutPath>mempool.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\timer.c</PathWithFileName> + <FilenameWithoutPath>timer.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -546,8 +546,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\scheduler.c</PathWithFileName> - <FilenameWithoutPath>scheduler.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\idle.c</PathWithFileName> + <FilenameWithoutPath>idle.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -558,8 +558,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\ipc.c</PathWithFileName> - <FilenameWithoutPath>ipc.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\kservice.c</PathWithFileName> + <FilenameWithoutPath>kservice.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -570,8 +570,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\device.c</PathWithFileName> - <FilenameWithoutPath>device.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\components.c</PathWithFileName> + <FilenameWithoutPath>components.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -582,8 +582,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\object.c</PathWithFileName> - <FilenameWithoutPath>object.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\irq.c</PathWithFileName> + <FilenameWithoutPath>irq.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -594,8 +594,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\components.c</PathWithFileName> - <FilenameWithoutPath>components.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\device.c</PathWithFileName> + <FilenameWithoutPath>device.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -606,8 +606,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\timer.c</PathWithFileName> - <FilenameWithoutPath>timer.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\object.c</PathWithFileName> + <FilenameWithoutPath>object.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -618,8 +618,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>..\..\..\src\irq.c</PathWithFileName> - <FilenameWithoutPath>irq.c</FilenameWithoutPath> + <PathWithFileName>..\..\..\src\ipc.c</PathWithFileName> + <FilenameWithoutPath>ipc.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -638,8 +638,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_lpcomp.c</PathWithFileName> - <FilenameWithoutPath>nrfx_lpcomp.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_timer.c</PathWithFileName> + <FilenameWithoutPath>nrfx_timer.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -650,8 +650,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_temp.c</PathWithFileName> - <FilenameWithoutPath>nrfx_temp.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_nfct.c</PathWithFileName> + <FilenameWithoutPath>nrfx_nfct.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -662,8 +662,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_comp.c</PathWithFileName> - <FilenameWithoutPath>nrfx_comp.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_systick.c</PathWithFileName> + <FilenameWithoutPath>nrfx_systick.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -674,8 +674,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_spis.c</PathWithFileName> - <FilenameWithoutPath>nrfx_spis.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_wdt.c</PathWithFileName> + <FilenameWithoutPath>nrfx_wdt.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -686,8 +686,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_twi_twim.c</PathWithFileName> - <FilenameWithoutPath>nrfx_twi_twim.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_gpiote.c</PathWithFileName> + <FilenameWithoutPath>nrfx_gpiote.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -698,8 +698,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_pdm.c</PathWithFileName> - <FilenameWithoutPath>nrfx_pdm.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_spis.c</PathWithFileName> + <FilenameWithoutPath>nrfx_spis.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -710,8 +710,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_wdt.c</PathWithFileName> - <FilenameWithoutPath>nrfx_wdt.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_ipc.c</PathWithFileName> + <FilenameWithoutPath>nrfx_ipc.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -722,8 +722,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_spim.c</PathWithFileName> - <FilenameWithoutPath>nrfx_spim.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_rng.c</PathWithFileName> + <FilenameWithoutPath>nrfx_rng.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -734,8 +734,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_nvmc.c</PathWithFileName> - <FilenameWithoutPath>nrfx_nvmc.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_qspi.c</PathWithFileName> + <FilenameWithoutPath>nrfx_qspi.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -746,8 +746,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_power.c</PathWithFileName> - <FilenameWithoutPath>nrfx_power.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_spi.c</PathWithFileName> + <FilenameWithoutPath>nrfx_spi.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -758,8 +758,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_twim.c</PathWithFileName> - <FilenameWithoutPath>nrfx_twim.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_rtc.c</PathWithFileName> + <FilenameWithoutPath>nrfx_rtc.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -770,8 +770,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_rng.c</PathWithFileName> - <FilenameWithoutPath>nrfx_rng.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\mdk\system_nrf51.c</PathWithFileName> + <FilenameWithoutPath>system_nrf51.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -782,8 +782,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_i2s.c</PathWithFileName> - <FilenameWithoutPath>nrfx_i2s.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_qdec.c</PathWithFileName> + <FilenameWithoutPath>nrfx_qdec.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -794,8 +794,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_saadc.c</PathWithFileName> - <FilenameWithoutPath>nrfx_saadc.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_twim.c</PathWithFileName> + <FilenameWithoutPath>nrfx_twim.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -806,8 +806,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\mdk\system_nrf51.c</PathWithFileName> - <FilenameWithoutPath>system_nrf51.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_clock.c</PathWithFileName> + <FilenameWithoutPath>nrfx_clock.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -818,8 +818,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_nfct.c</PathWithFileName> - <FilenameWithoutPath>nrfx_nfct.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_pdm.c</PathWithFileName> + <FilenameWithoutPath>nrfx_pdm.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -830,8 +830,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_pwm.c</PathWithFileName> - <FilenameWithoutPath>nrfx_pwm.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_uarte.c</PathWithFileName> + <FilenameWithoutPath>nrfx_uarte.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -842,8 +842,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_egu.c</PathWithFileName> - <FilenameWithoutPath>nrfx_egu.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_adc.c</PathWithFileName> + <FilenameWithoutPath>nrfx_adc.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -854,8 +854,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_gpiote.c</PathWithFileName> - <FilenameWithoutPath>nrfx_gpiote.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_ppi.c</PathWithFileName> + <FilenameWithoutPath>nrfx_ppi.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -866,8 +866,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_dppi.c</PathWithFileName> - <FilenameWithoutPath>nrfx_dppi.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_uart.c</PathWithFileName> + <FilenameWithoutPath>nrfx_uart.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -878,8 +878,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_timer.c</PathWithFileName> - <FilenameWithoutPath>nrfx_timer.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_saadc.c</PathWithFileName> + <FilenameWithoutPath>nrfx_saadc.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -890,8 +890,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_spi.c</PathWithFileName> - <FilenameWithoutPath>nrfx_spi.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_usbd.c</PathWithFileName> + <FilenameWithoutPath>nrfx_usbd.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -902,8 +902,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_usbd.c</PathWithFileName> - <FilenameWithoutPath>nrfx_usbd.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_i2s.c</PathWithFileName> + <FilenameWithoutPath>nrfx_i2s.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -926,8 +926,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_qdec.c</PathWithFileName> - <FilenameWithoutPath>nrfx_qdec.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_twis.c</PathWithFileName> + <FilenameWithoutPath>nrfx_twis.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -938,8 +938,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_ppi.c</PathWithFileName> - <FilenameWithoutPath>nrfx_ppi.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_egu.c</PathWithFileName> + <FilenameWithoutPath>nrfx_egu.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -950,8 +950,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_uarte.c</PathWithFileName> - <FilenameWithoutPath>nrfx_uarte.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_lpcomp.c</PathWithFileName> + <FilenameWithoutPath>nrfx_lpcomp.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -962,8 +962,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_qspi.c</PathWithFileName> - <FilenameWithoutPath>nrfx_qspi.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_power.c</PathWithFileName> + <FilenameWithoutPath>nrfx_power.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -974,8 +974,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_rtc.c</PathWithFileName> - <FilenameWithoutPath>nrfx_rtc.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_usbreg.c</PathWithFileName> + <FilenameWithoutPath>nrfx_usbreg.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -986,8 +986,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_usbreg.c</PathWithFileName> - <FilenameWithoutPath>nrfx_usbreg.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_nvmc.c</PathWithFileName> + <FilenameWithoutPath>nrfx_nvmc.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -998,8 +998,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_ipc.c</PathWithFileName> - <FilenameWithoutPath>nrfx_ipc.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_spim.c</PathWithFileName> + <FilenameWithoutPath>nrfx_spim.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -1010,8 +1010,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_twis.c</PathWithFileName> - <FilenameWithoutPath>nrfx_twis.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_twi_twim.c</PathWithFileName> + <FilenameWithoutPath>nrfx_twi_twim.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -1022,8 +1022,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_twi.c</PathWithFileName> - <FilenameWithoutPath>nrfx_twi.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_pwm.c</PathWithFileName> + <FilenameWithoutPath>nrfx_pwm.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -1034,8 +1034,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_clock.c</PathWithFileName> - <FilenameWithoutPath>nrfx_clock.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_twi.c</PathWithFileName> + <FilenameWithoutPath>nrfx_twi.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -1046,8 +1046,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_systick.c</PathWithFileName> - <FilenameWithoutPath>nrfx_systick.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_dppi.c</PathWithFileName> + <FilenameWithoutPath>nrfx_dppi.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -1058,8 +1058,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_uart.c</PathWithFileName> - <FilenameWithoutPath>nrfx_uart.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_comp.c</PathWithFileName> + <FilenameWithoutPath>nrfx_comp.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> @@ -1070,8 +1070,8 @@ <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <bDave2>0</bDave2> - <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_adc.c</PathWithFileName> - <FilenameWithoutPath>nrfx_adc.c</FilenameWithoutPath> + <PathWithFileName>packages\nrfx-latest\drivers\src\nrfx_temp.c</PathWithFileName> + <FilenameWithoutPath>nrfx_temp.c</FilenameWithoutPath> <RteFlg>0</RteFlg> <bShared>0</bShared> </File> diff --git a/bsp/nrf5x/nrf51822/project.uvprojx b/bsp/nrf5x/nrf51822/project.uvprojx index b08d6f3904..ae49ad3fe5 100644 --- a/bsp/nrf5x/nrf51822/project.uvprojx +++ b/bsp/nrf5x/nrf51822/project.uvprojx @@ -393,6 +393,11 @@ <GroupName>CPU</GroupName> <Files> <File> + <FileName>backtrace.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath> + </File> + <File> <FileName>showmem.c</FileName> <FileType>1</FileType> <FilePath>..\..\..\libcpu\arm\common\showmem.c</FilePath> @@ -403,20 +408,15 @@ <FilePath>..\..\..\libcpu\arm\common\div0.c</FilePath> </File> <File> - <FileName>backtrace.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath> + <FileName>context_rvds.S</FileName> + <FileType>2</FileType> + <FilePath>..\..\..\libcpu\arm\cortex-m0\context_rvds.S</FilePath> </File> <File> <FileName>cpuport.c</FileName> <FileType>1</FileType> <FilePath>..\..\..\libcpu\arm\cortex-m0\cpuport.c</FilePath> </File> - <File> - <FileName>context_rvds.S</FileName> - <FileType>2</FileType> - <FilePath>..\..\..\libcpu\arm\cortex-m0\context_rvds.S</FilePath> - </File> </Files> </Group> <Group> @@ -433,14 +433,14 @@ <FilePath>..\..\..\components\drivers\serial\serial.c</FilePath> </File> <File> - <FileName>completion.c</FileName> + <FileName>waitqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\completion.c</FilePath> + <FilePath>..\..\..\components\drivers\src\waitqueue.c</FilePath> </File> <File> - <FileName>waitqueue.c</FileName> + <FileName>workqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\waitqueue.c</FilePath> + <FilePath>..\..\..\components\drivers\src\workqueue.c</FilePath> </File> <File> <FileName>ringbuffer.c</FileName> @@ -453,19 +453,19 @@ <FilePath>..\..\..\components\drivers\src\dataqueue.c</FilePath> </File> <File> - <FileName>ringblk_buf.c</FileName> + <FileName>pipe.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\ringblk_buf.c</FilePath> + <FilePath>..\..\..\components\drivers\src\pipe.c</FilePath> </File> <File> - <FileName>pipe.c</FileName> + <FileName>ringblk_buf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\pipe.c</FilePath> + <FilePath>..\..\..\components\drivers\src\ringblk_buf.c</FilePath> </File> <File> - <FileName>workqueue.c</FileName> + <FileName>completion.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\workqueue.c</FilePath> + <FilePath>..\..\..\components\drivers\src\completion.c</FilePath> </File> </Files> </Group> @@ -508,19 +508,34 @@ <GroupName>Kernel</GroupName> <Files> <File> + <FileName>thread.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\..\src\thread.c</FilePath> + </File> + <File> + <FileName>scheduler.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\..\src\scheduler.c</FilePath> + </File> + <File> <FileName>mem.c</FileName> <FileType>1</FileType> <FilePath>..\..\..\src\mem.c</FilePath> </File> <File> + <FileName>mempool.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\..\src\mempool.c</FilePath> + </File> + <File> <FileName>clock.c</FileName> <FileType>1</FileType> <FilePath>..\..\..\src\clock.c</FilePath> </File> <File> - <FileName>kservice.c</FileName> + <FileName>timer.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\kservice.c</FilePath> + <FilePath>..\..\..\src\timer.c</FilePath> </File> <File> <FileName>idle.c</FileName> @@ -528,24 +543,19 @@ <FilePath>..\..\..\src\idle.c</FilePath> </File> <File> - <FileName>thread.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\..\src\thread.c</FilePath> - </File> - <File> - <FileName>mempool.c</FileName> + <FileName>kservice.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\mempool.c</FilePath> + <FilePath>..\..\..\src\kservice.c</FilePath> </File> <File> - <FileName>scheduler.c</FileName> + <FileName>components.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\scheduler.c</FilePath> + <FilePath>..\..\..\src\components.c</FilePath> </File> <File> - <FileName>ipc.c</FileName> + <FileName>irq.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\ipc.c</FilePath> + <FilePath>..\..\..\src\irq.c</FilePath> </File> <File> <FileName>device.c</FileName> @@ -558,19 +568,9 @@ <FilePath>..\..\..\src\object.c</FilePath> </File> <File> - <FileName>components.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\..\src\components.c</FilePath> - </File> - <File> - <FileName>timer.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\..\src\timer.c</FilePath> - </File> - <File> - <FileName>irq.c</FileName> + <FileName>ipc.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\irq.c</FilePath> + <FilePath>..\..\..\src\ipc.c</FilePath> </File> </Files> </Group> @@ -578,119 +578,119 @@ <GroupName>nrfx</GroupName> <Files> <File> - <FileName>nrfx_lpcomp.c</FileName> + <FileName>nrfx_timer.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_lpcomp.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_timer.c</FilePath> </File> <File> - <FileName>nrfx_temp.c</FileName> + <FileName>nrfx_nfct.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_temp.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_nfct.c</FilePath> </File> <File> - <FileName>nrfx_comp.c</FileName> + <FileName>nrfx_systick.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_comp.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_systick.c</FilePath> </File> <File> - <FileName>nrfx_spis.c</FileName> + <FileName>nrfx_wdt.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_spis.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_wdt.c</FilePath> </File> <File> - <FileName>nrfx_twi_twim.c</FileName> + <FileName>nrfx_gpiote.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_twi_twim.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_gpiote.c</FilePath> </File> <File> - <FileName>nrfx_pdm.c</FileName> + <FileName>nrfx_spis.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_pdm.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_spis.c</FilePath> </File> <File> - <FileName>nrfx_wdt.c</FileName> + <FileName>nrfx_ipc.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_wdt.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_ipc.c</FilePath> </File> <File> - <FileName>nrfx_spim.c</FileName> + <FileName>nrfx_rng.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_spim.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_rng.c</FilePath> </File> <File> - <FileName>nrfx_nvmc.c</FileName> + <FileName>nrfx_qspi.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_nvmc.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_qspi.c</FilePath> </File> <File> - <FileName>nrfx_power.c</FileName> + <FileName>nrfx_spi.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_power.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_spi.c</FilePath> </File> <File> - <FileName>nrfx_twim.c</FileName> + <FileName>nrfx_rtc.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_twim.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_rtc.c</FilePath> </File> <File> - <FileName>nrfx_rng.c</FileName> + <FileName>system_nrf51.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_rng.c</FilePath> + <FilePath>packages\nrfx-latest\mdk\system_nrf51.c</FilePath> </File> <File> - <FileName>nrfx_i2s.c</FileName> + <FileName>nrfx_qdec.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_i2s.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_qdec.c</FilePath> </File> <File> - <FileName>nrfx_saadc.c</FileName> + <FileName>nrfx_twim.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_saadc.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_twim.c</FilePath> </File> <File> - <FileName>system_nrf51.c</FileName> + <FileName>nrfx_clock.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\mdk\system_nrf51.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_clock.c</FilePath> </File> <File> - <FileName>nrfx_nfct.c</FileName> + <FileName>nrfx_pdm.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_nfct.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_pdm.c</FilePath> </File> <File> - <FileName>nrfx_pwm.c</FileName> + <FileName>nrfx_uarte.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_pwm.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_uarte.c</FilePath> </File> <File> - <FileName>nrfx_egu.c</FileName> + <FileName>nrfx_adc.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_egu.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_adc.c</FilePath> </File> <File> - <FileName>nrfx_gpiote.c</FileName> + <FileName>nrfx_ppi.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_gpiote.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_ppi.c</FilePath> </File> <File> - <FileName>nrfx_dppi.c</FileName> + <FileName>nrfx_uart.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_dppi.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_uart.c</FilePath> </File> <File> - <FileName>nrfx_timer.c</FileName> + <FileName>nrfx_saadc.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_timer.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_saadc.c</FilePath> </File> <File> - <FileName>nrfx_spi.c</FileName> + <FileName>nrfx_usbd.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_spi.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_usbd.c</FilePath> </File> <File> - <FileName>nrfx_usbd.c</FileName> + <FileName>nrfx_i2s.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_usbd.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_i2s.c</FilePath> </File> <File> <FileName>arm_startup_nrf51.s</FileName> @@ -698,69 +698,69 @@ <FilePath>packages\nrfx-latest\mdk\arm_startup_nrf51.s</FilePath> </File> <File> - <FileName>nrfx_qdec.c</FileName> + <FileName>nrfx_twis.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_qdec.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_twis.c</FilePath> </File> <File> - <FileName>nrfx_ppi.c</FileName> + <FileName>nrfx_egu.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_ppi.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_egu.c</FilePath> </File> <File> - <FileName>nrfx_uarte.c</FileName> + <FileName>nrfx_lpcomp.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_uarte.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_lpcomp.c</FilePath> </File> <File> - <FileName>nrfx_qspi.c</FileName> + <FileName>nrfx_power.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_qspi.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_power.c</FilePath> </File> <File> - <FileName>nrfx_rtc.c</FileName> + <FileName>nrfx_usbreg.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_rtc.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_usbreg.c</FilePath> </File> <File> - <FileName>nrfx_usbreg.c</FileName> + <FileName>nrfx_nvmc.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_usbreg.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_nvmc.c</FilePath> </File> <File> - <FileName>nrfx_ipc.c</FileName> + <FileName>nrfx_spim.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_ipc.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_spim.c</FilePath> </File> <File> - <FileName>nrfx_twis.c</FileName> + <FileName>nrfx_twi_twim.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_twis.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_twi_twim.c</FilePath> </File> <File> - <FileName>nrfx_twi.c</FileName> + <FileName>nrfx_pwm.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_twi.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_pwm.c</FilePath> </File> <File> - <FileName>nrfx_clock.c</FileName> + <FileName>nrfx_twi.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_clock.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_twi.c</FilePath> </File> <File> - <FileName>nrfx_systick.c</FileName> + <FileName>nrfx_dppi.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_systick.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_dppi.c</FilePath> </File> <File> - <FileName>nrfx_uart.c</FileName> + <FileName>nrfx_comp.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_uart.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_comp.c</FilePath> </File> <File> - <FileName>nrfx_adc.c</FileName> + <FileName>nrfx_temp.c</FileName> <FileType>1</FileType> - <FilePath>packages\nrfx-latest\drivers\src\nrfx_adc.c</FilePath> + <FilePath>packages\nrfx-latest\drivers\src\nrfx_temp.c</FilePath> </File> </Files> </Group> diff --git a/bsp/nrf5x/nrf51822/rtconfig.h b/bsp/nrf5x/nrf51822/rtconfig.h index 8d42a13144..a4e1a98a9e 100644 --- a/bsp/nrf5x/nrf51822/rtconfig.h +++ b/bsp/nrf5x/nrf51822/rtconfig.h @@ -19,6 +19,9 @@ #define RT_USING_TIMER_SOFT #define RT_TIMER_THREAD_PRIO 4 #define RT_TIMER_THREAD_STACK_SIZE 512 + +/* kservice optimization */ + #define RT_DEBUG /* Inter-Thread communication */ @@ -154,7 +157,7 @@ /* samples: kernel and components samples */ -/* games: games run on RT-Thread console */ +/* entertainment: terminal games and other interesting software packages */ /* Hardware Drivers Config */ |
