Mbed-os: For target target=ARM_BEETLE_SOC and toolchain=IAR/console build time is high

Created on 22 Sep 2017  路  9Comments  路  Source: ARMmbed/mbed-os

Description

For target target=ARM_BEETLE_SOC and toolchain=IAR/console build time is high about 28 mins, This is causing a slow down in CI pipeline.

  • Type: Bug
  • Priority: Major

Target
ARM_BEETLE_SOC

Toolchain:
IAR

Reproduce

Build using command :

mbed test --compile -m REALTEK_RTL8195AM -t IAR -DMBED_HEAP_STATS_ENABLED=1 -DMBED_STACK_STATS_ENABLED=1 -DMBED_TRAP_ERRORS_ENABLED=1 --clean

bug

Most helpful comment

I cannot reproduce the issue on my machine, for me the given mbed test command with ARM_BEETLE_SOC and IAR goes through in about ~2 minutes (this is even a minute faster then with ARMCC).
On the other hand in the description the reproduce command does not contain ARM_BEETLE_SOC as target, a Realtek chip is the target there.
I tried this target and this is really slow, this takes about 45-50 minutes with IAR, while with ARMCC the build is only 3-4 minutes.
I've built both targets with both compilers many times, so this is not based on one sample.

Could you please check again whether you really see the issue with Beetle, and if yes, could you give some more details so that I can reproduce?

Thanks

All 9 comments

cc @abhishek-pandit @mmorenobarm

Is it related to flashing time ? IIRC it was taking a lot of time to flash this target.
@c1728p9 Is there any constraints on flashing throughput in the DAP link specification ?

@pan- nope, flashing is limited by the flash erase and write times of the device.

@abhishek-pandit @mmorenobarm

bump

Adding @tkaman to the issue

@studavekar @0xc0170

We will check it out.
Beetle code hasn't changed in a while and the platform is the same, so I am wondering what's changed recently that's caused this problem? Any idea?
Thanks

I will look into this and hope to have an update soon

I cannot reproduce the issue on my machine, for me the given mbed test command with ARM_BEETLE_SOC and IAR goes through in about ~2 minutes (this is even a minute faster then with ARMCC).
On the other hand in the description the reproduce command does not contain ARM_BEETLE_SOC as target, a Realtek chip is the target there.
I tried this target and this is really slow, this takes about 45-50 minutes with IAR, while with ARMCC the build is only 3-4 minutes.
I've built both targets with both compilers many times, so this is not based on one sample.

Could you please check again whether you really see the issue with Beetle, and if yes, could you give some more details so that I can reproduce?

Thanks

@tkaman you're right in above comment, i am closing this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DuyTrandeLion picture DuyTrandeLion  路  3Comments

MarceloSalazar picture MarceloSalazar  路  3Comments

sarahmarshy picture sarahmarshy  路  4Comments

davidantaki picture davidantaki  路  3Comments

toyowata picture toyowata  路  4Comments