- Tue Jan 28, 2020 8:40 am
#211654
Hi,
i am using the AMbiqSDK and apollo3 BSPs git from sparkfun (updated), and i copied the files from the folder ../boards/apollo3_evb/examples/ble_freertos_amdtps into the ../AMbiqSuiteSDK/boards_sfe/artemis_thing_plus_examples/ble_freertos_amdtps folder. I updated the Makefile file and, using the asb_linker script, the following error appears when executing make:
Thanks
i am using the AMbiqSDK and apollo3 BSPs git from sparkfun (updated), and i copied the files from the folder ../boards/apollo3_evb/examples/ble_freertos_amdtps into the ../AMbiqSuiteSDK/boards_sfe/artemis_thing_plus_examples/ble_freertos_amdtps folder. I updated the Makefile file and, using the asb_linker script, the following error appears when executing make:
Code: Select all
The lines from the Makefile related to the asb_linker are the following:...
Compiling gcc startup_gcc.c
Linking gcc bin/ble_freertos_amdtps_asb.axf with script ../../../../common/tools_sfe/templates/asb_linker.ld
c:/program files (x86)/gnu tools arm embedded/9 2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: bin/ble_freertos_amdtps_asb.axf section `.stack' will not fit in region `sram'
c:/program files (x86)/gnu tools arm embedded/9 2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: region `sram' overflowed by 11000 bytes
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:319: bin/ble_freertos_amdtps_asb.axf] Error 1
Code: Select all
However, in case I comment the line $(CONFIG)/$(TARGET)_asb.axf: LINKER_FILE = ../../../../common/tools_sfe/templates/asb_linker.ld
$(CONFIG)/$(TARGET)_asb.axf: $(OBJS) $(LIBS)
@echo " Linking $(COMPILERNAME) $@ with script $(LINKER_FILE)";\
$(CC) -Wl,-T,$(LINKER_FILE) -o $@ $(OBJS) $(LFLAGS)
Code: Select all
it makes successfully ... so what's the problem in orde to execute the ble_freertos_amdtps in my artemis thing plus board?.$(CONFIG)/$(TARGET)_asb.axf: LINKER_FILE = ../../../../common/tools_sfe/templates/asb_linker.ld
Thanks
You do not have the required permissions to view the files attached to this post.
Last edited by fbtobajas on Tue Jan 28, 2020 9:09 am, edited 2 times in total.