diff options
| author | supperthomas <[email protected]> | 2022-08-23 01:44:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-22 13:44:25 -0400 |
| commit | f602d199d37649ee4d9765f49a57019be0bb5dfa (patch) | |
| tree | aae4b86c1aa88eea3926546978a8efe75c4cad66 /bsp/maxim/max32660-evsys/board/SConscript | |
| parent | 955b8d9ae38f15bb5574348854cbaeaba7a4d6f5 (diff) | |
[bsp/maxium/max3660]Update README.md (#6323)
* Update README.md
* rename as max32660-evsys
Co-authored-by: Meco Man <[email protected]>
Diffstat (limited to 'bsp/maxim/max32660-evsys/board/SConscript')
| -rw-r--r-- | bsp/maxim/max32660-evsys/board/SConscript | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bsp/maxim/max32660-evsys/board/SConscript b/bsp/maxim/max32660-evsys/board/SConscript new file mode 100644 index 0000000000..19184e9f51 --- /dev/null +++ b/bsp/maxim/max32660-evsys/board/SConscript @@ -0,0 +1,28 @@ +import os +import rtconfig +from building import * + +Import('SDK_LIB') + +cwd = GetCurrentDir() + +# add general drivers +src = Split(''' +board.c +''') + +path = [cwd] + +startup_path_prefix = SDK_LIB + +if rtconfig.PLATFORM in ['gcc']: + src += [startup_path_prefix + '/MAX32660PeriphDriver/CMSIS/Device/Maxim/MAX32660/Source/GCC/startup_max32660.S'] +elif rtconfig.PLATFORM in ['armcc', 'armclang']: + src += [startup_path_prefix + '/MAX32660PeriphDriver/CMSIS/Device/Maxim/MAX32660/Source/ARM/startup_max32660.s'] +elif rtconfig.PLATFORM in ['iccarm']: + src += [startup_path_prefix + '/MAX32660PeriphDriver/CMSIS/Device/Maxim/MAX32660/Source/ARM/startup_max32660.s'] + + +group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path) + +Return('group') |
