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


Default Clock Configuration after creating a new Project

Hi!

I work with SW4STM32 for some time now, and I like this tool verry much! After some time working with this tool, i get stuck in a verry basic question:

How do I get the default Timing/Clock configuration of a new project?
If I create a new Project in System Workbench Eclipse, then I do not see any call to a function like SystemClock_Config();
I think there must be some point in the startup, in which the RCC is configured.

Creating new Projekt with: File->New->C Project or File->New->C++ Project
Project Type: Executable->Ac6 STM32 MCU Project
Board Configuration: STM32F072B-DISCO
Firmware: HAL

After this the main loop is empty, but some of the clock configuration is already done: For example, the SysTick works without any further configuration.

Because I don’t need the STM32F072B-Discovery routines, i removed the stm32f072b_discovery.c/stm32f072b_discovery.h. Probably this is not the nice way to create a new empty project for a custom board.

I also did some projects with keil or imported CubeMX projects, then one of the first points in the main is the function call to RCC_Config (or something similar). But in SW4STM32 i did not get the entry point to check my RCC Config.

If anyone is experienced with the system startup, i realy would appreciate a little list, in which the steps bevore entry in the main() are explained.

best regards
Matthias

 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs