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


predefined macro __TIME__ doesn't update

Hello,

I am trying to use TIME to get complied time, however, sometimes, I found TIME doesn’t update even current time is changed when I compile the project. Anybody know how to fix it?

Thanks

France

Hi,

TIME is only “updated” if the containing source file is recompiled, which is only the case if the source file was modified (or at least its timestamp was updated). The project build mechanism will only recomipile changed files, not all files.

Bernard (Ac6)


dautrevaux thanks a lot for your answer, you helped me a lot!