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


Transfering example project (STM discovery wifi) from Kyle uVision to System Workbench for STM32

Hello Friends!

I have a problem with transferring a project from Kyle uVision to System Workbench for STM32.
The project is a software example delivered for “Discovery Wi-Fi” Board based on chip SN8200 from Murata.

What I already done is following:
- I’ve copied all files which were included in Kyle uVision IDE to SW4STM32;

Hereunder are the photos of the file structures in according IDEs;
http://s33.postimg.org/nl72y9srj/wlan_kyle.pngQuestion
http://s33.postimg.org/kptzreorj/wlan_sw4stm32.pngQuestion

- I’ve assured that global preprocessor defines are the same in both IDEs;

So the situation is following:
In fact SW4STM32 performs compilation and on first view everything goes ok, but the program doesn’t work well . Program don’t work in SW4STM32 the same way as in Kyle.

Maybe I should mention that I also have to add manually file rtl.h to SW4STM32? Maybe here was made sth wrong?

Can You suggest me, where should I look for a potential problem? - I would be very thankful.

Tunisia

Hello Adam,

Based on attached snapshots, we cannot detect the problem behind. Unless you attach the compilation log since there is warning icon for main.c, sn8200_api.c and sn8200_core.c

PS: juste a note for your project architecture : the .h files in src folder should be in inc folder

Regards,
Tarek


Hi Thanks for Your response.

Here is my compilation log:
https://drive.google.com/file/d/0B0ujDJyITOgxN3B1RUtEME1kMmM/view?usp=sharingQuestion

Here is the warning list shown in SW4STM32:
http://s33.postimg.org/qjj2klfan/warning_list.pngQuestion

Maybe I should mention that for whole project it was needed to add rtl.h here is the content of it - maybe this causes problems?

https://drive.google.com/file/d/0B0ujDJyITOgxbnI2eXdwcXdSbEE/view?usp=sharingQuestion

Have You got any suggestions :-) ?


Tunisia

Your compilation log is fine.

I think that this problem is due to RL-ARM libraries because as I know they are available only for linking with Keil, correct me if I am wrong.

If I am not, you would need the RL-ARM library sources for that. Do you have them?
You should probably also check your licence terms regarding this. Maybe you will need to contact Keil support.


Hi thanks for Your help!

During my investigations in the code I found following code lines:

  • #ifdef GNUC
  • /* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf
  • set to ‘Yes’) calls __io_putchar() */
  • #define PUTCHAR_PROTOTYPE int __io_putchar(int ch)
  • #else
  • #define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f)
  • #endif /* GNUC */


Can You help how to set this option “LD Linker->Libraries->Small printf
set to ‘Yes”?

Maybe this will solve my problem?

PS: “GNUC” where should be defined - there where other symbols?
Project -> properties -> C/C++ General -> Paths and Symbols -> Symbols?


Hello, I seem to have a similar problem with transferring the Keil µVision Wi-Fi Demo project into SW4STM32. Is there a solution or documention out there yet?
Unfortunately I haven’t found time to find right solution for it cry

 

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