Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Trying to make a simple UART usage project, with interrupts

France

Hi,

As, in C, the name of an array is in fact a pointer to its first element, in your code, the second parameter to HAL_UART_Receive/Transmit (which should be a pointer to a uint8_t) is a pointer to an array of uint8_t, which is in fact a pointer to a (litteral) pointer to an uint_t, so the error (which is quite informative, as it says that it can’t index the address of an array).

Here you should just pass box (and not &box).

Bernard (Ac6)