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


Problem in project building with Nucleo STM32F303K8T6

Hello,
this is my first post here and at first I want to say SORRY FOR MY ENGLISH.
But now -cut to the chase.
Few days ago I boughy Nucleo F303K8T6 board. I wanted to make a simple project on it and I saw that there is no such board in project creation windows. So I have created my own device using STM32F303K8Tx controller with ST-Link2-1/SWD. Project loaded and than I wanted to build it. But there was an error.

“#error “Please select first the target STM32F30X device used in your application (in stm32f30x.h file)””

I saw that in this header file there isn’t my nucleo board:

”/* Old STM32F30X definition, maintained for legacy purpose */

  1. if defined(STM32F30X)

#define STM32F303xC

  1. endif /* STM32F30X */

  1. if !defined (STM32F303xC) && !defined (STM32F334x8) && !defined (STM32F303x8) && !defined (STM32F301x8) && !defined (STM32F302x8) && !defined (STM32F303xE)

/* #define STM32F303xC */ /*!< STM32F303CB, STM32F303CC, STM32F303RB, STM32F303RC, STM32F303VB and STM32F303VC Devices */
/* #define STM32F334x8 */ /*!< STM32F334C4, STM32F334C6, STM32F334C8, STM32F334R4, STM32F334R6 and STM32F334R8 Devices */
/* #define STM32F302x8 */ /*!< STM32F302K4, STM32F302K6, STM32F302K8, STM32F302C4, STM32F302C6, STM32F302C8,
STM32F302R4, STM32F302R6 and STM32F302R8 Devices */
/* #define STM32F303xE */ /*!< STM32F303RE, STM32F303VE, STM32F303ZE Devices */

  1. endif


/* Tip: To avoid modifying this file each time you need to switch between these
devices, you can define the device in your toolchain compiler preprocessor. ”

Has somebody got same problem ? And how to figure it out ????
Please help !!!
Mathew (from Poland)

EDIT 1:
I have found that the SW for stm32 DO SUPPORT Nucleo-F303K8x boards. So what is the sense of writing “Here is the list of the target supported and tested:
- Nucleo-F303K8”
if it doesn’t support that or there are some mistakes in libs ?

Can somebody explain what to do to make it work ? I can’t even build my project.

Hello Vroobee,

If you cannot find the Nucleo-F303K8 in the project creation window board list, you probably don’t have the latest version of SW4STM32 plugins installed. Have you done a “Check for updates” in the “Help” menu in order to download the latest version of the plugins as expalined in the installation manual? There are updates that are not included in the all-in-one installer, which is updated less frequently than the update site.

Best Regards,

Pascale


It worked :-) thanks a lot

I have downloaded the Standard Peripheral Library Driver for my STM32F303.
But I dont know how to integrate it to my project in Atollic True Studio.
Can anyone help me please??

What settings are necessary in the Compiler settings etc... to include Standard Peripheral Library Driver into my Project in Atollic True Studio??

 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs