Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Thanks a lot for your links but I already found them on the net and I tried to adapt it to gnu gas ARM assembler but it did not work . Maybe that's because of my Makefile, maybe because of what I tried to adapt? I can't tell , that's why I wanted a real working gnu gas working assembly project. And don't worry, that's only for study purpose with very small projects . Btw, I already managed to get a C project working on the stellaris .
  2. Hello, I'm currently trying to make a simple blinky project in asm because I want something working for my base asm project. So far I made this Makefile: SRC= blink.s OBJS= $(SRC:.s=.o) NAME= blink.bin AS= arm-eabi-as LD= arm-eabi-ld OBJCPY= arm-eabi-objcopy INC= $(STELLARISWARE) LIBS= -L$(LIB_DIR_STELLARIS)/ -ldriver-cm4f CFLAGS= -I$(INC) -g -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -Wall $(NAME): $(OBJS) $(LD) -T ldStart.ld -o a.out $(OBJS) --gc-sections $(OBJCPY) -O binary a.out $(NAME) clean: rm -vf $(OBJS) $(NA
  3. It's working like a charm and was very useful for me. Thanks a lot
  4. Here is a simple project with Makefile which is actually working for me: File: Makefile SRC= startup_gcc.c \ blink.c OBJS= $(SRC:.c=.o) NAME= blink.bin CC= arm-none-eabi-gcc LD= arm-none-eabi-ld OBJCPY= arm-none-eabi-objcopy INC= $(STELLARISWARE) CFLAGS= -I$(INC) -g -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -Os -ffunction-section\ s -fdata-sections -MD -std=c99 -Wall -pedantic -DPART_LM4F120H5QR -c -DTARGET_IS_BLIZZARD_RA1 $(NAME): $(OBJS) $(LD) -T ldStart.ld --entry ResetISR -o a.out $(OBJS) --gc-sections $(OBJCPY) -O bin
  5. Sometimes there is a bug with eclipse associated to its .metadata folder inside your working directory (I don't know why nor how but I also already faced issues like you). Try to set your working directory somewhere else and redo the eclipse configuration or erase your .metadata folder inside your current working directory (be careful that will erase your eclipse's Stellaris configuration as well).
  • Create New...