Skip to content

Re-compile fails with ARM Compiler 5 and REALTEK_RTL8195AM #6306

@jamesbeyond

Description

@jamesbeyond

Description

  • Type: Bug
  • Priority: Minor

Bug

Target
REALTEK_RTL8195AM

Toolchain:
ARM

Toolchain version:
ARM Compiler 5 update 3

mbed-cli version:
1.3.0

mbed-os sha:
6ff7203 (mbed-os-5.8.0-rc1)

DAPLink version:

Expected behavior
Re-compile mbed-os-example-wifi example should not throw errors.

Actual behavior
Re-compile mbed-os-example-wifi example on REALTEK_RTL8195AM thrown errors:

Elf2Bin: mbed-os-example-wifi
Error: Q0147E: Failed to create Directory .\BUILD\REALTEK_RTL8195AM\ARM\mbed-os-example-wifi.bin\IMAGE2_TABLE: File exists
Finished: 0 information, 0 warning and 1 error messages.
[ERROR] Error: Q0147E: Failed to create Directory .\BUILD\REALTEK_RTL8195AM\ARM\mbed-os-example-wifi.bin\IMAGE2_TABLE: File exists
Finished: 0 information, 0 warning and 1 error messages.

Steps to reproduce

  1. import example and update to mbed-os 5.8.0-oob
    mbed import mbed-os-example-wifi
    cd mbed-os-example-wifi
    mbed update mbed-os-5.8.0-oob
  2. Compiler the example first time
    mbed compile -t ARM -m REALTEK_RTL8195AM
  3. modify wifi password in mbed_app.json
  4. Re-compile the example again
    mbed compile -t ARM -m REALTEK_RTL8195AM

The problem only happens on Re-compile. if I do a clean first, the compiling would be fine.
Only with REALTEK_RTL8195AM board, other boards are fine.
Only with ARM Compiler 5. Gcc and IAR are fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions