In that folder, create a new C file called bb_gpio_test.cppįor the content, I used Derek Molloy's C makeLED example: Beaglebone: Controlling the on-board LEDs using C | derekmolloy.ie | derekmolloy.ieĬopy the source and paste it in the cpp file you just created. ![]() Now add a src folder in the root of your project. Path: the bin folder of the location where you extracted the toolchain (in my case: D:\users\jancu\Documents\elektronica\arm\linaro\gcc-linaro-5.3-2016.02-i686-mingw32_arm-linux-gnueabihf\bin) Press Next until you are asked for the toolchain details. Select an Empty project, with Cross GCC as toolchain. Start Code Composer Studio and start a New -> Project ![]() Download this archive if you want to use the same setup as me: gcc-linaro-5.3-2016.02-i686-mingw32_Īttention: run your extract program (e.g.: 7-Zip) as Administrator when you extract the toolchain tar or you will not get a working toolchain. I could not get newer version 7.x to work. I used version 9 but earlier versions will very likely work too. I did it to have everything in a single IDE. Things are not that different, and it's no surprise that I could get the CCS flavour working.įunctionally, there's no gain with this exercise if you are already happily developing with DS-5. I've blogged before on how to set up a BeagleBone C/C environment with the ARM DS-5 suite.īoth DS-5 and CCS are Eclipse based. Because he uses CCS as development environment, it makes sense to also use CCS for Linux native C and C development. ![]() The great PRU blog from Fred27 inspired me to pick up the BeagleBone Green again. No hardware debugger needed - all runs over TCP/IP How to develop a Linux binary for the BeagleBone (any colour) on Windows in CCS, auto-deploy it to the BB and remotely debug.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |