Jump to content
43oh

egfx

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. Hey Guys! Finally, I had a short time to set everything up, and use eclipse to code. I still have a tiny problem, I can flash in terminal, but if I try to flash from eclipse I get this error: fopen: No such file or directory Found ICDI device with serial: 0E1001ED edit: SOLVED: the .bin was generated to the wrong folder
  2. Okay, I guess I'm close to the solution. make all Building target: proba.elf Invoking: Cross GCC Linker arm-none-eabi-gcc -L/home/erbal/DEV/driverlib/gcc-cm4f -Wl,--static,--gc-sections,-T../LM4F.ld -mthumb -mcpu=cortex-m4 -o "proba.elf" ./interrupts.o ./startup_gcc.o -ldriver-cm4f /usr/lib/gcc/arm-none-eabi/4.8.2/../../../../arm-none-eabi/bin/ld: cannot open linker script file ../LM4F.ld: No such file or directory makefile:29: recipe for target 'proba.elf' failed collect2: error: ld returned 1 exit status make: *** [proba.elf] Error 1 Somehow the eclipse doesn't find the LM4F.ld fi
  3. Thank you @@Lyon! Thank you very much! Now, I feel I'm moving forward Well, I guess I experienced too much with a lot of packages. So I reinstalled my OS (no worries, it was fresh install ). I've downloaded this https://launchpad.net/gcc-arm-embedded , unpacked and copied to /usr/local, I've also added this path my paths. I make the tiva package successfully. So, I've downloaded the eclipse cdt version. I set up the eclipse, based on this tutorial: http://kernelhacks.blogspot.hu/2012/11/the-complete-tutorial-for-stellaris_25.html Now, I'm trying to build the blinky example, from tiva
  4. I've downloaded it, but where should I copy the unpacked files to use it globally? I mean like with eclipse. edit: I still got these errors in eclipse: screenshot If I try to compile it in the terminal with this command: arm-none-eabi-gcc main.c startup_gcc.c -g -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -Os -ffunction-sections -fdata-sections -MD -std=c99 -Wall -pedantic -DPART_LM4F120H5QR -c -I/home/erbal/src/stellaris/ -DTARGET_IS_BLIZZARD_RA1 It says: as: unrecognized option '-mcpu=cortex-m4'as: unrecognized option '-mcpu=cortex-m4'
  5. Hello Guys! This is my first post on this forum So, I got a stellaris board to explore the power of arm. I'm using arch linux. I want to setup a toolchain based on eclipse, but if I donwload the SW-LM3S-9453.exe, unzip it, and try to make it I got the following errors: [root@vaio stellaris]# make make[1]: Entering directory '/home/erbal/src/stellaris/driverlib' make[2]: Entering directory '/home/erbal/src/stellaris/driverlib' CC adc.c as: unrecognized option '-mcpu=cortex-m3' ../makedefs:186: recipe for target 'gcc-cm3/adc.o' failed make[2]: *** [gcc-cm3/adc.o] Error 1 make[
×
×
  • Create New...