From be177abbc1a8a4e3063ef22ed6e404bdaf95509d Mon Sep 17 00:00:00 2001 From: Richard Eoin Meadows Date: Sun, 27 Jul 2014 12:58:53 +0100 Subject: [PATCH 1/5] Fixed typo in GDB commands script --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e735633..b110c15 100644 --- a/Makefile +++ b/Makefile @@ -214,7 +214,7 @@ gdbscript: Makefile config.mk @$(ECHO) "file $(TARGET).elf" >> gdbscript ifdef BLACKMAGIC_PATH @$(ECHO) "# Connect to a specified blackmagic" >> gdbscript - @$(ECHO) "target external-remote $(BLACKMAGIC_PATH)" >> gdbscript + @$(ECHO) "target extended-remote $(BLACKMAGIC_PATH)" >> gdbscript endif # Prints a list of symlinks to a device From 2a5072c3cd15c16022bf9a03a214cdcde3440aaf Mon Sep 17 00:00:00 2001 From: Richard Eoin Meadows Date: Wed, 30 Jul 2014 20:21:19 +0100 Subject: [PATCH 2/5] Added linker variable needed by c libraries --- chip/sections.ld | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chip/sections.ld b/chip/sections.ld index 8dcdb7d..8318102 100644 --- a/chip/sections.ld +++ b/chip/sections.ld @@ -44,7 +44,9 @@ * __data_start * __data_end * __bss_start + * __bss_start__ * __bss_end + * __bss_end__ * __end__ * end * __heap_start @@ -134,10 +136,12 @@ SECTIONS { . = ALIGN(4); __bss_start = .; + __bss_start__ = __bss_start; *(.bss .bss.*) *(COMMON) . = ALIGN(4); __bss_end = .; + __bss_end__ = __bss_end; } > RAM .heap (COPY): From 400cf3324f547305d156f5bf9b4c44d31b4f945f Mon Sep 17 00:00:00 2001 From: Richard Eoin Meadows Date: Sun, 3 Aug 2014 09:55:37 +0100 Subject: [PATCH 3/5] Updated header --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b110c15..12b92f4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Compiles firmware written in C and assembler for the nRF51 +# Compiles firmware written in C and assembler for the Atmel SAM D20 # Copyright (C) 2014 # # Permission is hereby granted, free of charge, to any person obtaining @@ -248,4 +248,4 @@ emacs: clean: $(RM) $(OUTPUT_PATH)* $(RM) gdbscript - $(RM) TAGS \ No newline at end of file + $(RM) TAGS From e84afcb465dec1f2da82d404b3c9b181ec512481 Mon Sep 17 00:00:00 2001 From: Richard Eoin Meadows Date: Sun, 21 Sep 2014 13:55:09 +0100 Subject: [PATCH 4/5] Added note about arm-none-eabi on Ubuntu 14.04 + --- README-samd20-gcc-blackmagic.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README-samd20-gcc-blackmagic.md b/README-samd20-gcc-blackmagic.md index 04ef995..81594fb 100644 --- a/README-samd20-gcc-blackmagic.md +++ b/README-samd20-gcc-blackmagic.md @@ -20,6 +20,22 @@ sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded sudo apt-get update && sudo apt-get install gcc-arm-none-eabi ``` +###### Note about gcc-arm-embedded on Ubuntu 14.04 and later + +If you are using Ubuntu 14.04 and later, please be careful because +there are packages with same name but produced by Debian and inherited +by Ubuntu. Simply follow the above 3 steps, you may end up with +gcc-arm-none-eabi from Ubuntu. So to install gcc-arm-none-eabi from +ARM, steps are: + +``` +1). sudo apt-get remove binutils-arm-none-eabi gcc-arm-none-eabi +2). sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded +3). sudo apt-get update +4). sudo apt-get install gcc-arm-none-eabi=4-8-2014q2-0trusty10 +``` +Meanwhile we are working with Debian to consolidate and unify this toolchain. + ## Usage ## ### Project Options ### From fcdf9404a12b391adf6bc24d581a77368ae66762 Mon Sep 17 00:00:00 2001 From: Richard Eoin Meadows Date: Thu, 2 Oct 2014 16:26:00 +0100 Subject: [PATCH 5/5] Fixed typo --- LICENSE-samd20-gcc-blackmagic.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE-samd20-gcc-blackmagic.md b/LICENSE-samd20-gcc-blackmagic.md index 31ec518..e12c7a8 100644 --- a/LICENSE-samd20-gcc-blackmagic.md +++ b/LICENSE-samd20-gcc-blackmagic.md @@ -1,5 +1,5 @@ Much of the source code in this project is licensed by ARM or Atmel -wuth a modified 3-clause BSD license. See file headers for more details. +with a modified 3-clause BSD license. See file headers for more details. Everything else is under a [MIT License](http://opensource.org/licenses/MIT) as follows: