How to enable Semihosting on ADuCM360 IDE

Hi all,

I'm trying enable Semihosting on ADuCM360 IDE.

I can enable Semihosting by create new project within "Hello world" example.

But, my working project is created by "empty"  option and it not support Semihosting, can you please guide me how to config this feature on ADuCM360 IDE ?

Thanks !

Top Replies

  • Hi

    Yes, you can select the Semihosting option when you create a new project using "Hello World" template. All the options that you select on this step you can find in the project properties…

Parents
  • Hi

    Yes, you can select the Semihosting option when you create a new project using "Hello World" template. All the options that you select on this step you can find in the project properties:

    Project->Properties->C/C++ Build->Settings->Tool Settings-> Cross ARM C++ Compiler (or C Compiler for C project)-> Preprocessor->Defined symbols

    You can add in here new symbols such as "OS_USE_TRACE_SEMIHOSTING_DEBUG" or "OS_USE_TRACE_SEMIHOSTING_STDOUT", depending on your needs.

    Hint: in order to check the correct preprocessor definitions you can create a "Hello World" project with your options (Tool Chain Setup User Guide [Analog Devices Wiki] ), check them under project properties and just add the same in your "Empty" project.

Reply
  • Hi

    Yes, you can select the Semihosting option when you create a new project using "Hello World" template. All the options that you select on this step you can find in the project properties:

    Project->Properties->C/C++ Build->Settings->Tool Settings-> Cross ARM C++ Compiler (or C Compiler for C project)-> Preprocessor->Defined symbols

    You can add in here new symbols such as "OS_USE_TRACE_SEMIHOSTING_DEBUG" or "OS_USE_TRACE_SEMIHOSTING_STDOUT", depending on your needs.

    Hint: in order to check the correct preprocessor definitions you can create a "Hello World" project with your options (Tool Chain Setup User Guide [Analog Devices Wiki] ), check them under project properties and just add the same in your "Empty" project.

Children
No Data