[
https://issues.apache.org/jira/browse/MYNEWT-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973901#comment-15973901
]
ASF subversion and git services commented on MYNEWT-731:
--------------------------------------------------------
Commit a1a0647f89856a0246ec24182c9ca72139d102aa in incubator-mynewt-core's
branch refs/heads/master from [~vrahane]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=a1a0647
]
MYNEWT-731 Crash in config_init_fcb()
- While specifying the flash layout NRF52840 and NRF52832 need to be
distinguished. Seperate structs are define for each oen now.
> Crash in config_init_fcb(): NRF52840 and NRF52832 flash distinction
> -------------------------------------------------------------------
>
> Key: MYNEWT-731
> URL: https://issues.apache.org/jira/browse/MYNEWT-731
> Project: Mynewt
> Issue Type: Bug
> Reporter: Vipul Rahane
> Assignee: Vipul Rahane
>
> NRF52840 and NRF52832 flash struct in hal_flash.c need to be different as the
> layout is different. This was causing a crash:
> {noformat}
> Program received signal SIGTRAP, Trace/breakpoint trap.
> __assert_func (file=<optimized out>, line=<optimized out>, func=<optimized
> out>, e=<optimized out>) at
> repos/apache-mynewt-core/kernel/os/src/arch/cortex_m4/os_fault.c:137
> 137 asm("bkpt");
> (gdb) bt
> #0 __assert_func (file=<optimized out>, line=<optimized out>,
> func=<optimized out>, e=<optimized out>) at
> repos/apache-mynewt-core/kernel/os/src/arch/cortex_m4/os_fault.c:137
> #1 0x00028c7e in sysinit_dflt_panic_cb (file=<optimized out>,
> line=<optimized out>, func=<optimized out>, expr=<optimized out>, msg=0x0) at
> repos/apache-mynewt-core/sys/sysinit/src/sysinit.c:37
> #2 0x0002de26 in config_init_fcb () at
> repos/apache-mynewt-core/sys/config/src/config_init.c:87
> #3 config_pkg_init () at
> repos/apache-mynewt-core/sys/config/src/config_init.c:105
> #4 0x000298aa in sysinit_app () at
> bin/targets/nrf52-sensors-test/generated/src/nrf52-sensors-test-sysinit-app.c:51
> #5 0x0000c654 in main (argc=<optimized out>, argv=<optimized out>) at
> repos/apache-mynewt-core/apps/sensors_test/src/main.c:701
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)