summaryrefslogtreecommitdiff
path: root/bsp/nrf5x/libraries/templates/nrfx/board/SConscript
diff options
context:
space:
mode:
authorsupperthomas <[email protected]>2021-04-11 12:24:47 +0800
committersupperthomas <[email protected]>2021-04-11 12:24:47 +0800
commitb1dbe51d850d210b452f831bb3fbc852f8a862fd (patch)
tree2a3c0cd0dafd8bb1fe5d0b5b5f4635fe243fe310 /bsp/nrf5x/libraries/templates/nrfx/board/SConscript
parent1298a38dec27e85fd82f1d7bdf0f80a0c3fbe17b (diff)
add the templete of nrfx
Diffstat (limited to 'bsp/nrf5x/libraries/templates/nrfx/board/SConscript')
-rw-r--r--bsp/nrf5x/libraries/templates/nrfx/board/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/bsp/nrf5x/libraries/templates/nrfx/board/SConscript b/bsp/nrf5x/libraries/templates/nrfx/board/SConscript
new file mode 100644
index 0000000000..27bcddd310
--- /dev/null
+++ b/bsp/nrf5x/libraries/templates/nrfx/board/SConscript
@@ -0,0 +1,11 @@
+Import('RTT_ROOT')
+Import('rtconfig')
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd]
+define = ['USE_APP_CONFIG']
+
+group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH,CPPDEFINES = define)
+Return('group')