You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Sheela (JIRA)" <ji...@apache.org> on 2017/06/05 18:22:04 UTC
[jira] [Assigned] (MYNEWT-571) sys/log/stub is incomplete or doesnt
work with deep defines of reboot_log
[ https://issues.apache.org/jira/browse/MYNEWT-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sheela reassigned MYNEWT-571:
-----------------------------
Assignee: Marko Kiiskila
> sys/log/stub is incomplete or doesnt work with deep defines of reboot_log
> -------------------------------------------------------------------------
>
> Key: MYNEWT-571
> URL: https://issues.apache.org/jira/browse/MYNEWT-571
> Project: Mynewt
> Issue Type: Bug
> Security Level: Public(Viewable by anyone)
> Components: OS
> Reporter: Jacob
> Assignee: Marko Kiiskila
>
> Stubbing bleprph for log doesnt compile. I think a few things need to be stubbed out yet.
> REBOOT_LOG_FCB: 0
> LOG_FCB: 0
> SHELL_TASK: 1
> STATS_NEWTMGR: 0
> STATS_NAMES: 0
> CONFIG_NEWTMGR: 0
> LOG_NEWTMGR: 0
> LOG_CLI: 0
> LOG_LEVEL: 255
> Error: repos/apache-mynewt-core/sys/reboot/src/log_reboot.c: In function 'reboot_init_handler':
> repos/apache-mynewt-core/sys/reboot/src/log_reboot.c:109:13: error: 'LOG_STORE_CONSOLE' undeclared (first use in this function)
> case LOG_STORE_CONSOLE:
> ^
> repos/apache-mynewt-core/sys/reboot/src/log_reboot.c:109:13: note: each undeclared identifier is reported only once for each function it appears in
> repos/apache-mynewt-core/sys/reboot/src/log_reboot.c: In function 'log_reboot_pkg_init':
> repos/apache-mynewt-core/sys/reboot/src/log_reboot.c:248:12: error: 'LOG_STORE_CONSOLE' undeclared (first use in this function)
> type = LOG_STORE_CONSOLE;
> ^
> If I add those defines to the stub I run into deeper needs so just reporting for now:
> Linking /Users/jacobrosenthal/Downloads/mynewt-hr-observer/bin/targets/split-nrf51dk/app/apps/blesplit/blesplit_tmp.elf
> Error: /Users/jacobrosenthal/Downloads/mynewt-hr-observer/bin/targets/split-nrf51dk/app/sys/reboot/sys_reboot.a(log_reboot.o): In function `reboot_init_handler':
> /Users/jacobrosenthal/Downloads/mynewt-hr-observer/repos/apache-mynewt-core/sys/reboot/src/log_reboot.c:125: undefined reference to `log_console_handler'
> collect2: error: ld returned 1 exit status
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)