Altera_Forum
Honored Contributor
11 years agoWhere can find "Bare metal C++ example project for Cyclone V SoC Dev Kit" ?
hi,
Does anybody know how to create a "bare-metal hello world C++ project" that can running on Cyclone V SoC Dev Kit ? I have create a new C++ project from DS-5 IDE, after modify some project properties can build successfully. But after using DS-5 debugger, it will cause system reset.... I don't know how to solve this. Can someone help ? Many thanks in advance. ====================================================================== Create C++ project flow: 1. (SoCEDS 14.1)Embedded command shell 2. open ds-5 (@ eclipse &) 3. File->New Project-> Hello World C++ Project, ToolChain = GCC for ARM bare-metal. Named project as "gccbm" 4. Right-click on project "gccbm", select "Properties" 5. Expend "C/C++ Build", In "Tool settings" sheet - GCC C++ Compiler\ = arm-altera-eabi-g++ \Target = cortex-a9 - GCC C++ Linker \ = arm-altera-eabi-g++ \Image : set Link Script = C:\altera\14.1\embedded\host_tools\mentor\gnu\arm\baremetal\arm-altera-eabi\lib\cycloneV-dk-ram-hosted.ld