6 years, 3 months ago.

Export projext to Atolic true studio

Hi i'm trying to use an mbed for (disco-f746ng) project with atolic true studio. Like there is no official option to export it for this ide, i use sw4stm32 option. After that i open the project with atolic true studio. The project open. After the first build i need to add #include "mbed_config.h" in Serial.h, RawSerial.h. Next step is to correct the path for the linker script. Then, i change the linker script like this :

/*#if !defined(MBED_APP_START)
  #define MBED_APP_START 0x08000000
#endif

#if !defined(MBED_APP_SIZE)
  #define MBED_APP_SIZE 1024K
#endif
*/
MEMORY
{ 
  FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
  RAM (rwx)  : ORIGIN = 0x200001C8, LENGTH = 320K - 0x1C8
}

But now i have this error that i can't resolve :

/media/uploads/modjo756/s-lection_009.png

If someone can help pàlease !

1 Answer

6 years, 3 months ago.

ST and other tool vendor uses linked resources in all example projects to make sure that their SDKs does not become to eavy to download. Unfortunately it is not very nice for the end-user! https://essaycaptains.com/ As you say "export" only gets you so far, then it is detectives work to find and copy all header files across that are necessary.