You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2020/03/23 19:39:51 UTC
[mynewt-core] branch master updated: bsp/native: Don't use
deprecated BASELIBC_ASSERT_FILE_LINE
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 3fe8044 bsp/native: Don't use deprecated BASELIBC_ASSERT_FILE_LINE
3fe8044 is described below
commit 3fe80442ee72f95dd17e0423bd8e6ef2d356d7ec
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Mon Mar 23 10:11:19 2020 +0100
bsp/native: Don't use deprecated BASELIBC_ASSERT_FILE_LINE
Use OS_CRASH_FILE_LINE instead to avoid following message:
Override of defunct settings detected:
BASELIBC_ASSERT_FILE_LINE: Use OS_CRASH_FILE_LINE instead
Setting history (newest -> oldest):
BASELIBC_ASSERT_FILE_LINE: [@apache-mynewt-core/hw/bsp/native:1,
@apache-mynewt-core/libc/baselibc:0]
---
hw/bsp/native-armv7/syscfg.yml | 2 +-
hw/bsp/native-mips/syscfg.yml | 2 +-
hw/bsp/native/syscfg.yml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/bsp/native-armv7/syscfg.yml b/hw/bsp/native-armv7/syscfg.yml
index 22ec8c9..5e92bf4 100644
--- a/hw/bsp/native-armv7/syscfg.yml
+++ b/hw/bsp/native-armv7/syscfg.yml
@@ -25,7 +25,7 @@ syscfg.defs:
syscfg.vals:
# Sim isn't flash constrained, so include filename, line number, and
# message in asserts and sysinit panic messages.
- BASELIBC_ASSERT_FILE_LINE: 1
+ OS_CRASH_FILE_LINE: 1
SYSINIT_PANIC_FILE_LINE: 1
SYSINIT_PANIC_MESSAGE: 1
diff --git a/hw/bsp/native-mips/syscfg.yml b/hw/bsp/native-mips/syscfg.yml
index 5223283..8d7c9b8 100644
--- a/hw/bsp/native-mips/syscfg.yml
+++ b/hw/bsp/native-mips/syscfg.yml
@@ -26,7 +26,7 @@ syscfg.vals:
OS_IDLE_TICKLESS_MS_MIN: 1
# Sim isn't flash constrained, so include filename, line number, and
# message in asserts and sysinit panic messages.
- BASELIBC_ASSERT_FILE_LINE: 1
+ OS_CRASH_FILE_LINE: 1
SYSINIT_PANIC_FILE_LINE: 1
SYSINIT_PANIC_MESSAGE: 1
diff --git a/hw/bsp/native/syscfg.yml b/hw/bsp/native/syscfg.yml
index 5223283..8d7c9b8 100644
--- a/hw/bsp/native/syscfg.yml
+++ b/hw/bsp/native/syscfg.yml
@@ -26,7 +26,7 @@ syscfg.vals:
OS_IDLE_TICKLESS_MS_MIN: 1
# Sim isn't flash constrained, so include filename, line number, and
# message in asserts and sysinit panic messages.
- BASELIBC_ASSERT_FILE_LINE: 1
+ OS_CRASH_FILE_LINE: 1
SYSINIT_PANIC_FILE_LINE: 1
SYSINIT_PANIC_MESSAGE: 1