8 years, 9 months ago.

Porting mbed SDK for Tiva TM4C SDK building issues???

Hi, I am new to this field and i am stuck in adding a new target to the mbed SDK. since this is new target i do not have any reference to refer and resolve my issues.

I have tried to install all the necessary tool chains required for building mbed SDK and i even tried building for existing target such as LPC1768 which was a piece of cake. but, when i tried to add a new target which is Tiva TM4C1294XL i couldn't be able to proceed for building it. this is where i am stuck. As given in the instructions to add a new target i have proceeded when i try to build it errors are occuring and building failures.

[code] Compile: BusIn.cpp In file included from /home/mistral/Desktop/mbed-master/build/mbed/BusIn.h:19:0, from /home/mistral/Desktop/mbed-master/libraries/mbed/common/BusIn.cpp:16: /home/mistral/Desktop/mbed-master/build/mbed/platform.h:21:20: fatal error: device.h: No such file or directory

  1. include "device.h" ^ compilation terminated. [\code]

for the above errors i just copied and pasted the device.h file which is available in the /mbed-master/libraries/mbed/targets and started building it again, but still it error persist for another header file.

i know it is not a good way of solving errors. but as a beginner i do not know how to handle these errors. So, please help me in resolving these errors.

THANK YOU IN ADVANCE.

Did you have a look at this? https://developer.mbed.org/handbook/mbed-SDK-porting

posted by Sam Grove 28 Jul 2015

Yes i did After following those steps only i am facing errors. and i do not understand the adding CMSIS and hal headers.

and Is Texas Instruments provides CMSIS Core and CMSIS device specific files and hal headers?? which the build system needs.

please guide me in understanding them. THANK You

posted by Sunil Kumar 28 Jul 2015

The hal files you will need to implement, cmsis files might be provided , at least there are for various mcu, not certain about your platform. You need a scatter file, startup file and system file where is the init for clocks often. For example, you can write your own startup file and linker command file for gcc and system file, if you can't locate them anywhere. That's what I did once for a new target, as I was not able to find required files.

posted by Martin Kojtal 28 Jul 2015

Thanks Martin. may i know where did you found those files while you were adding a new target.

posted by Sunil Kumar 28 Jul 2015

Hi, Actually i resolved those previous errors which i was facing and i build the mbed SDK for the new target using Freescale K250 hal and cmsis files.

now i want to know that is it possilble to use this SDK on TM4C1294 launchpad.

THANK YOU

posted by Sunil Kumar 29 Jul 2015

1 Answer

5 years, 7 months ago.

Is there any simple solution on this error?