itisnt

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • itisnt
    Participant

    First of all thanks for the quick answer, but please, could you go a little more into the deep 🙂

    I’v added the following in the “Makefile”:

    $(BINARYDIR)/%.o : %.c $(all_make_files) |$(BINARYDIR)
    $(CC) $(CFLAGS) -c $< -o $@ -MD -MF $(@:.o=.dep) -Wa -adhlns=$(@:.o=.lst)

    and got the following back:

    1>  C:\Users\a239368\Privat\Mikrokontroller\VisualStudio\GCC_4_9_2015q2/bin/arm-none-eabi-gcc.exe -ggdb -ffunction-sections -O0 -mcpu=cortex-m4 -mthumb -ffunction-sections -mapcs-frame -ffunction-sections -fdata-sections -Wextra -Wcast-align -Wpointer-arith -Wredundant-decls -Wshadow -Wcast-qual -Wcast-align -std=gnu99   -mfloat-abi=soft -I. -IC:/Users/a239368/Privat/Mikrokontroller/Rekolas/VisualGDB_workspace/RLS-15/RLS-15/Daenus_STM32F4xx_StdPeriph_151/cmis -IC:/Users/a239368/Privat/Mikrokontroller/Rekolas/VisualGDB_workspace/RLS-15/RLS-15/Daenus_STM32F4xx_StdPeriph_151/cmsis_boot -IC:/Users/a239368/Privat/Mikrokontroller/Rekolas/VisualGDB_workspace/RLS-15/RLS-15/Daenus_STM32F4xx_StdPeriph_151/cmsis_lib/inc -IC:/Users/a239368/Privat/Mikrokontroller/Rekolas/VisualGDB_workspace/RLS-15/RLS-15/src -IC:/Users/a239368/Privat/Mikrokontroller/Rekolas/VisualGDB_workspace/RLS-15/RLS-15/ub_lib -IC:/Users/a239368/Privat/Mikrokontroller/Rekolas/VisualGDB_workspace/RLS-15/RLS-15/stdio -DDEBUG -DARM_MATH_CM4 -Dstm32_flash_layout -DSTM32F407ZG -DSTM32F40_41xxx -DUSE_STDPERIPH_DRIVER -DUSE_FULL_ASSERT -DUSE_OLIMEX_H407 -DMOD_MTHOMAS_STMLIB  -c main.c -o Debug/main.o -MD -MF Debug/main.dep -Wa -adhlns=Debug/main.lst
    1>arm-none-eabi-gcc.exe : error : unrecognized command line option ‘-Wa’
    1>arm-none-eabi-gcc.exe : error : unrecognized command line option ‘-adhlns=Debug/main.lst’
    1>  make: *** [Debug/main.o] Error 1

    Sorry, but i’m not a Makefile crack 🙁

     

     

Viewing 1 post (of 1 total)