Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ We recommend to read their licenses, as their terms may differ from the terms de
| ThreadX Kernel | 6.4.3 | MIT | ``libs/3rdparty/threadx/LICENSE.md`` |
| ThreadX Cortex M4 Port | 6.4.3 | MIT | ``platforms/s32k1xx/3rdparty/threadx/LICENSE.md`` |
| ThreadX Linux Port | 6.4.3 | MIT | ``platforms/posix/3rdparty/threadx/LICENSE.md`` |
| CMSIS | 6.1.0 | Apache v2 | ``platforms/s32k1xx/bsp/bspMcu/include/3rdparty/cmsis/LICENSE`` |
| CMSIS | 6.1.0 | Apache v2 | ``libs/3rdparty/cmsis/LICENSE`` |
| NXP S32K148 Headers | 1.1a | BSD-3 | ``platforms/s32k1xx/bsp/bspMcu/include/3rdparty/nxp/*.h`` |
| CodeCoverage | | BSD-3 | ``cmake/modules/CodeCoverage.cmake`` |

Expand Down
3 changes: 3 additions & 0 deletions libs/3rdparty/cmsis/module.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
unit_test: false
format_check: false
oss: true
4 changes: 3 additions & 1 deletion platforms/s32k1xx/bsp/bspMcu/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
add_library(bspMcu src/reset/softwareSystemReset.cpp)

target_include_directories(bspMcu PUBLIC include)
target_include_directories(
bspMcu PUBLIC include ${CMAKE_SOURCE_DIR}/libs/3rdparty/cmsis
${CMAKE_SOURCE_DIR}/libs/3rdparty/cmsis/m-profile)

target_link_libraries(bspMcu PUBLIC platform)
2 changes: 1 addition & 1 deletion platforms/s32k1xx/bsp/bspMcu/include/mcu/mcu.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// NXP has their own MPU, so we must not use the cmsis one.
#undef __MPU_PRESENT
#define INCLUDE_CORE_CM4_IN_MCU_H
#include "3rdparty/cmsis/core_cm4.h"
#include "core_cm4.h"
#undef INCLUDE_CORE_CM4_IN_MCU_H
#define __MPU_PRESENT 1
#else
Expand Down
2 changes: 0 additions & 2 deletions platforms/s32k1xx/bsp/bspMcu/module.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ maturity: raw
unit_test: false
format_check_exclude:
- "include/3rdparty/nxp/*.h"
- "include/3rdparty/cmsis/**/*.h"
sca_exclude:
'*':
- 'include/3rdparty/nxp/*.h'
- 'include/3rdparty/cmsis/**/*.h'
oss: true
Loading