Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


STM32F767ZI nucleo board printf to console

Hello. I have read through the website that you have suggested, unfortunately still cannot fully understand how printing to console works and differs from printing to any other serial console.

I am able to print to serial console ( see image4 in the attachments).

I have tried replacing the _write with whatever has been suggested in that website:
```
int _write(int file, char *data, int len)
{
if ((file != STDOUT_FILENO) && (file != STDERR_FILENO))
{
errno = EBADF;
return -1;
}

// arbitrary timeout 1000
HAL_StatusTypeDef status =
HAL_UART_Transmit(&huart3, (uint8_t*)data, len, 1000);

// return # of bytes written - as best we can tell
return (status == HAL_OK ? len : 0);
}
```
However, still no text appearing in cubeIDE console window. How can it work in serial terminal but not the cubeIDE console?