Skip to content

arm semihosting support for ststm32 STM32F746G-DISCO / ST-Link #272

@marcellodum

Description

@marcellodum

I'm trying to get semihosting to work on STM32F746G-DISCO. Current platform.ini configuration file is:

platform = ststm32
board = disco_f746ng
framework = stm32cube
build_flags = -DF7 --specs=rdimon.specs -lrdimon -nostartfiles
; Enable Arm Semihosting in debugger to show logs.
debug_extra_cmds =
monitor arm semihosting enable
set remotetimeout 100000

The initialization code is:

extern void initialise_monitor_handles(void);
initialise_monitor_handles();
printf("Hello World\n");

Can't get any output on the debug console

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions