Skip to content

Commit ee55076

Browse files
committed
newlib-compat: macro conflict between asf4 and std
When upgradeing to newer GCC toolchain and newlib this conflict of macro definitions breaks compilation.
1 parent b22f44a commit ee55076

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

external/asf4-drivers/hal/utils/include/utils_assert.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ extern "C" {
4444
//# define USE_SIMPLE_ASSERT
4545
#endif
4646

47+
// Bitbox modification. `utils_assert.h` is not compatible with std `assert.h`
48+
#undef assert
49+
4750
/**
4851
* \brief Assert macro
4952
*

0 commit comments

Comments
 (0)