ARMmbed / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
4.67k stars 2.98k forks source link

Realtek Ameba does not implement FlashIAP #4461

Closed JanneKiiskila closed 7 years ago

JanneKiiskila commented 7 years ago

Description


Bug

Target RealTek Ameba - mbed compile -m REALTEK_RTL8195AM

Toolchain: N/A

Toolchain version: N/A

mbed-cli version: (mbed --version) 1.1

meed-os sha: (git log -n1 --oneline) mbed-os-5.5-rc1 commit 92fbf2a9b3988d430482fc25a6077f2462e2a634 (HEAD -> mbed-os-5.5, tag: mbed-os-5.5.0-rc1, origin/mbed-os-5.5)

DAPLink version: N/A

Expected behavior

FlashIAP is implemented.

Actual behavior

FlashIAP is not implemented, therefore cloud client can't compile on Realtek Ameba.

Steps to reproduce

Try to compile the mbed-cloud-client-example using mbed OS 5.5. RC1 and current tip of mbed-client-pal.

Or create minimal program that tries to use FlashIAP flash;

JanneKiiskila commented 7 years ago

@MarceloSalazar @avolinski @marcuschangarm @0xc0170 - please note.

0xc0170 commented 7 years ago

cc @Archcady - I could not locate the flash IAP on the branch, was it implemented?

screamerbg commented 7 years ago

@JanneKiiskila is this still relevant? Seems FLASH HAL is implemented https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_Realtek/TARGET_AMEBA/flash_api.c. Please close if completed.

JanneKiiskila commented 7 years ago

Yes, this can be closed. We haven't tested it though, because the linker issue is still unresolved (https://github.com/ARMmbed/mbed-os/issues/4462).