About USB Host Operation.

mbed-os-> features-> unsupported-> USBHost
By using the function, I apply it to the product and use it well.
However, if the RAM is too small and I want to use a different board, how do I run the NUCLEO_L496ZG and NUCLEO_L4R5ZI models?

  1. Add “macros_add”: [“USBHOST_OTHER”] of the model to target.json.
  2. Add the board to USBHALHost_STM.h

The compilation is fine, but I get the error below. How can this be possible? What’s wrong?
++ MbedOS Fault Handler ++

FaultType: HardFault

Context:
R0: 5006400C
R1: FFFFFFFF
R2: 00030D3F
R3: 00000000
R4: 50000000
R5: 0000000B
R6: 00000000
R7: 00000000
R8: 50000000
R9: 00000000
R10: 00000000
R11: 00000000
R12: 00000000
SP: 20003BE8
LR: 0800592F
PC: 08005940
xPSR: 01000000
PSP: 20003BC8
MSP: 2004FFD0
CPUID: 410FC241
HFSR: 40000000
MMFSR: 00000000
BFSR: 00000004
UFSR: 00000000
DFSR: 00000008
AFSR: 00000000
Mode: Thread
Priv: Privileged
Stack: PSP

-MbedOS Fault Handler-

++ MbedOS Error Info ++
Error Status: 0x80FF013D Code: 317 Module: 255
Error Message: Fault exception
Location: 0x800B697
Error Value: 0x8005940
Current Thread: application_unnamed_thread Id: 0x20001A80 Entry: 0x80083A5 StackSize: 0x1000 StackMem: 0x20002C98 SP: 0x2004FF74
For more info, visit: https://mbed.com/s/error?error=0x80FF013D&tgt=NUCLEO_L496ZG
-MbedOS Error Info-

@aglass0fmilk