ARMmbed/mbed-os-example-nfc

[5.14-OOB] mbed-os-example-nfc\NFC_SmartPoster failed when building with ARMC6 compiler

korjaa opened this issue · 5 comments

mbed-os-example-nfc\NFC_EEPROM failed, when the example built with ARMC6 compiler.

Building command:
mbed compile -t ARMC6 -m DISCO_L475VG_IOT01A -f -c

Log output:

SIGRTMEM: Out of heap memory

@paul-szczepanek-arm please take a look at this asap

Does not reproduce with mbed-os-5.14-rc2 NFC_EEPROM project after updating to mbed-os-5.14.0-rc2.

NFC_SmartPoster log output:

++ MbedOS Fault Handler ++

FaultType: HardFault

Context:
R0   : 100017E8
R1   : 00000000
R2   : 08005B31
R3   : 0800525D
R4   : 1000187C
R5   : 100010B0
R6   : 00000000
R7   : 00000000
R8   : 00000000
R9   : 00000000
R10  : 00000000
R11  : 00000000
R12  : 0800FEEF
SP   : 100010A8
LR   : 0800A5DB
PC   : 08005A0A
xPSR : 01000000
PSP  : 10001040
MSP  : 20017FD8
CPUID: 410FC241
HFSR : 40000000
MMFSR: 00000082
BFSR : 00000000
UFSR : 00000000
DFSR : 00000008
AFSR : 00000000
MMFAR: 00000070
Mode : Thread
Priv : Privileged
Stack: PSP

-- MbedOS Fault Handler --



++ MbedOS Error Info ++
Error Status: 0x80FF013D Code: 317 Module: 255
Error Message: Fault exception
Location: 0x800AA37
Error Value: 0x8005A0A
Current Thread: main  Id: 0x2000056C Entry: 0x800AD1D StackSize: 0x1000 StackMem: 0x100008E8 SP: 0x20017F60 
For more info, visit: https://mbed.com/s/error?error=0x80FF013D&tgt=DISCO_L475VG_IOT01A
-- MbedOS Error Info --

= System will be rebooted due to a fatal error =
= Reboot count(=2) reached maximum, system will halt after rebooting

without shield would be a main cause to the initialization hard-fault

The example itself is working fine with the shield correctly connected,
Here is an update on the readme #50