Skip to content

Commit 04289ec

Browse files
aescolarkoffes
authored andcommitted
[nrf fromtree] native_simulator: Get latest from upstream
Align with native_simulator's upstream main 51b27b67addd0073dc86e3d83f492c5cac5c3361 Which includes: * 51b27b nsi_utils: Add macro for weak declarations Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 6ffbb8c)
1 parent 06d4ca0 commit 04289ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/native_simulator/common/src/include/nsi_utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#define NSI_CODE_UNREACHABLE __builtin_unreachable()
2929

3030
#define NSI_FUNC_NORETURN __attribute__((__noreturn__))
31+
#define NSI_WEAK __attribute__((__weak__))
3132

3233
#if defined(__clang__)
3334
/* The address sanitizer in llvm adds padding (redzones) after data

0 commit comments

Comments
 (0)