Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

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