# CORTEX A9 Cyclone V SOC DK

**URL:** <https://forums.freertos.org/t/cortex-a9-cyclone-v-soc-dk/16041>\
**Category:** Kernel\
**Created:** [October 20, 2022, 7:39pm UTC](https://forums.freertos.org/t/cortex-a9-cyclone-v-soc-dk/16041 "2022-10-20T19:39:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhavin1968](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@bhavin1968](https://forums.freertos.org/u/bhavin1968)\
**Post date:** [October 20, 2022, 7:39pm UTC](https://forums.freertos.org/t/cortex-a9-cyclone-v-soc-dk/16041/1 "2022-10-20T19:39:15Z")

</div>

I am trying to build demo for CORTEX A9 Cyclone V SOC DK and got linker error for \_\_CS3\_interrupt\_vector. I see the definition in cycloneV-dk-ram.ld file but do not know how to link this file in my project. I am using Arm Development Studio Ide which support Arm Compiler 6.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [October 20, 2022, 10:14pm UTC](https://forums.freertos.org/t/cortex-a9-cyclone-v-soc-dk/16041/2 "2022-10-20T22:14:50Z")

</div>

The demo is quite old so there may be tools issues in opening the project file itself, although the kernel’s port file is shared among different projects so that is good. The demo was originally created with GCC, rather than Arm Compiler 6. The GCC Cortex-M port compiles with Arm Compiler 6 (i.e. the LLVM compiler happily builds the GCC code) - but I’m not sure if I’ve tried the same with Cortex-A. Can you please post the compiler output.

---

<div class="post-metadata">

**Author:** ![bhavin1968](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@bhavin1968](https://forums.freertos.org/u/bhavin1968)\
**Post date:** [October 24, 2022, 12:00pm UTC](https://forums.freertos.org/t/cortex-a9-cyclone-v-soc-dk/16041/3 "2022-10-24T12:00:48Z")

</div>

I was able to compile the demo with some help from this community posts. I have one undefined symbol during the linking. The symbol is \_\_cs3\_interuupt\_vector. The symbol is in cycloneV-dk-ram.ld file came with demo but i do not know how to include this file is Arm development studio environment. Do you still need compiler output?

---

<div class="post-metadata">

**Author:** ![DavidGC-FreeRTOS](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@DavidGC-FreeRTOS](https://forums.freertos.org/u/DavidGC-FreeRTOS)\
**Post date:** [October 25, 2022, 8:56pm UTC](https://forums.freertos.org/t/cortex-a9-cyclone-v-soc-dk/16041/4 "2022-10-25T20:56:53Z")

</div>

Hi @bhavin1968

To confirm, compilation is fine but linking is still failing? Which version of Arm Development Studio are you using so I can try out the same configuration? There should be a place to edit the linker options, typically in project settings, wherein you should configure linkage of `cycloneV-dk-ram.ld`.

The symbol should be defined and linked from somewhere, if it’s needed for the demo, though some times project settings can change when using an IDE version different than what the demo targeted. The project may need updating to work with latest IDE.

---

<div class="post-metadata">

**Author:** ![bhavin1968](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@bhavin1968](https://forums.freertos.org/u/bhavin1968)\
**Post date:** [October 25, 2022, 9:21pm UTC](https://forums.freertos.org/t/cortex-a9-cyclone-v-soc-dk/16041/5 "2022-10-25T21:21:36Z")

</div>

Yes, Compilation is file. Linking has one undefined symbol “cs3\_interrupt\_vector”. This variable is defined in cycloneV-dk-ram.ld. I am just looking for help how to include this file during linking in ide environment. I am using Arm development studio for intel 2022. I also had used arm ds-5.29 version but could not find place to specify link file.

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [October 27, 2022, 6:13am UTC](https://forums.freertos.org/t/cortex-a9-cyclone-v-soc-dk/16041/6 "2022-10-27T06:13:28Z")

</div>

I am not sure you can use the same `.ld` file. But you should be able to export the same from scatter file. This section provides all the relevant details - [Documentation – Arm Developer](https://developer.arm.com/documentation/100070/0612/accessing-and-managing-symbols-with-armlink/linker-defined-symbols?lang=en)
