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


How to use c ++ in stm32?

Hi. We are currently in the process of verification to develop the stm32H753XI product.

stm32H753XI The array calculation algorithm is being tested.
But I wanted to measure the execution time of the algorithm before purchasing the chip, so I downloaded the trial version of IAR EWARM and tested it in simulation mode.

I have a few questions.


1. Can “simulator” be used to run and test as if it is running on an actual MCU?
 - I was able to do it through some data search ... I am wondering if there is an error when I use the communication part and it is actually possible to test it.

2. What is the code execution time measurement method in “simulator” mode ?!
 - I am currently working on the way it is shown on the internet, but it seems strange that the execution time measurement is questionable.
 - There is a lot of time difference between actual measured value and output.

3. Can I use the Vector function in C ++?
 - I am using the vector function on the current algorithm, but an error occurs during push_back.
 - I use STM product and only developed in C, so I do not know about C ++.

  • PS: I am currently using the IAR EWARM trial version. And the project is using the GPIO example file. The GPIO example file is C-based, so the language of the compiler in the project option is changed to Auto only and the main file is changed from .c to .cpp.

And in the main file, I wrote the code in c ++.

We need a lot of help from you. Help me ~~