Linking H8s/2144 assembly code using HEW

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
I need to call a C++ function from assembly code using the Renesas HEW
development system.

The C++ function is "void flash_start(void)".
In assembly I define it as .GLOBAL  _flash_start

The linker error message is  - Undefined external symbol

I also tried it without the leading underscore. Name mangling problem


Re: Linking H8s/2144 assembly code using HEW
Quoted text here. Click to load it

Yes. Just declare it as:

 extern "C" void flash_start(void)

Site Timeline