Command used to build ``` mbed test --compile -m REALTEK_RTL8195AM -t IAR -DMBED_HEAP_STATS_ENABLED=1 -DMBED_STACK_STATS_ENABLED=1 -DMBED_TRAP_ERRORS_ENABLED=1 --clean ``` ### Description - Type: Bug - Priority: Major --------------------------------------------------------------- ## Bug **Target** REALTEK_RTL8195AM **Host** Windows **Toolchain:** IAR **mbed-cli version:** (`mbed --version`) **mbed-os sha:** c60194f Merge pull request #5208 from jeromecoutant/PR_F7_RTC **Expected behavior** Build time should be 2-5 mins **Actual behavior** Build time is around ~35 mins **Steps to reproduce** mbed test --compile -m REALTEK_RTL8195AM -t IAR -DMBED_HEAP_STATS_ENABLED=1 -DMBED_STACK_STATS_ENABLED=1 -DMBED_TRAP_ERRORS_ENABLED=1 --clean