cramredan

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Keil Arm project conversion #32572
    cramredan
    Participant

    Hello. I get a compiling error on this variable, which appears not to be recognized/found by the compiler (after having imported and generated an STM32 KEIL project into GDB). Does anyone have a clue how to solve it… (File attached for a quick view).

    Build log :

    C:/Users/Utilisateur/Desktop/SP100-Final/SP100-Final/mbed-src/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_MICRO/sys.cpp: In function ‘__initial_stackheap __user_setup_stackheap(uint32_t, uint32_t, uint32_t, uint32_t)’:
    C:/Users/Utilisateur/Desktop/SP100-Final/SP100-Final/mbed-src/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_MICRO/sys.cpp:45:25: error: ‘__current_sp‘ was not declared in this scope
    45 | uint32_t sp_limit = __current_sp();

    Attachments:
    You must be logged in to view attached files.
    in reply to: Keil Arm project conversion #32571
    cramredan
    Participant

    SOLVED – I had to replace the deprecated ARM5 keyword ( __value_in_regs) by its ARM6 updated variant <code class=”hljs”>__attribute__((value_in_regs))

Viewing 2 posts - 1 through 2 (of 2 total)