Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbols unavailable on Mbed CLI2 #14398

Closed
1 of 2 tasks
ccli8 opened this issue Mar 9, 2021 · 6 comments
Closed
1 of 2 tasks

Symbols unavailable on Mbed CLI2 #14398

ccli8 opened this issue Mar 9, 2021 · 6 comments

Comments

@ccli8
Copy link
Contributor

ccli8 commented Mar 9, 2021

Description

On Mbed CLI, the following symbols are generated and passed to compiler, linker, or both:

mbed compile -m NUMAKER_IOT_M487 -t ARM

BUILD/.../.profile.c:

{
    "flags": [
        ......
        "-DMBED_RAM_SIZE=0x28000",
        "-DMBED_RAM_START=0x20000000",
        "-DMBED_ROM_SIZE=0x80000",
        "-DMBED_ROM_START=0x0",
        ......

BUILD/.../.profile.ld:

{
    "flags": [
        ......
        "--predefine=\"-DMBED_BOOT_STACK_SIZE=1024\"",
        "--predefine=\"-DMBED_RAM_SIZE=0x28000\"",
        "--predefine=\"-DMBED_RAM_START=0x20000000\"",
        "--predefine=\"-DMBED_ROM_SIZE=0x80000\"",
        "--predefine=\"-DMBED_ROM_START=0x0\"",
        ......

But on Mbed CLI2, they are unavailable. Find no symbols listed above in cmake_build/NUMAKER_IOT_M487/develop/ARM/mbed_config.cmake or elsewhere.

mbed-tools compile -m NUMAKER_IOT_M487 -t ARM

Issue request type

  • Enhancement
  • Bug

Version

Mbed OS: 6.8.0
Mbed CLI2:: 7.2.1

@ciarmcom
Copy link
Member

ciarmcom commented Mar 9, 2021

@ccli8 This issue has an incomplete or old issue template.For future reference please use an up to date clone of the repository before raising issues. Many thanks.

@ciarmcom
Copy link
Member

ciarmcom commented Mar 9, 2021

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers.
Internal Jira reference: https://jira.arm.com/browse/IOTOSM-3555

@ccli8
Copy link
Contributor Author

ccli8 commented Mar 9, 2021

Updated issue template

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 9, 2021

I can't mention mbed-os-tools team (we will look at why it is not available anymore)

@rwalton-arm Should this be an issue in mbed-tools repository? If yes, I can move it there.

@rwalton-arm
Copy link
Contributor

I can't mention mbed-os-tools team (we will look at why it is not available anymore)

@rwalton-arm Should this be an issue in mbed-tools repository? If yes, I can move it there.

This looks the same as the following issue: ARMmbed/mbed-tools#156

It would be useful to add the comments here to that ticket. Thanks.

@ccli8
Copy link
Contributor Author

ccli8 commented Mar 10, 2021

Re-create on mbed-tools. Close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants