diff options
| author | supperthomas <[email protected]> | 2021-04-11 12:24:47 +0800 |
|---|---|---|
| committer | supperthomas <[email protected]> | 2021-04-11 12:24:47 +0800 |
| commit | b1dbe51d850d210b452f831bb3fbc852f8a862fd (patch) | |
| tree | 2a3c0cd0dafd8bb1fe5d0b5b5f4635fe243fe310 /bsp/nrf5x/libraries/templates/nrfx/board/SConscript | |
| parent | 1298a38dec27e85fd82f1d7bdf0f80a0c3fbe17b (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/SConscript | 11 |
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') |
