Skip to content

Commit 4259533

Browse files
committed
Made the efm32 targets use the common makefile template
The prior implementation of the efm32 makefile templates used a custom version of the bin diretory creation. My version has a few advantages: 1. the targets are always forced into bin. this is different from the old style, where any custom rules might polute the project root directory 2. smaller templates 3. fewer total templates
1 parent 284810b commit 4259533

7 files changed

+48
-121
lines changed

workspace_tools/export/gcc_arm_efm32_common.tmpl

Lines changed: 0 additions & 115 deletions
This file was deleted.
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
{% extends "gcc_arm_efm32_common.tmpl" %}
1+
{% extends "gcc_arm_common.tmpl" %}
2+
3+
{% block target_project_elf %} {{ super() }} @echo ""
4+
@echo "*****"
5+
@echo "***** You must modify vector checksum value in *.bin and *.hex files."
6+
@echo "*****"
7+
@echo ""
8+
{%- endblock %}
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
{% extends "gcc_arm_efm32_common.tmpl" %}
1+
{% extends "gcc_arm_common.tmpl" %}
2+
3+
{% block target_project_elf %} {{ super() }} @echo ""
4+
@echo "*****"
5+
@echo "***** You must modify vector checksum value in *.bin and *.hex files."
6+
@echo "*****"
7+
@echo ""
8+
{%- endblock %}
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
{% extends "gcc_arm_efm32_common.tmpl" %}
1+
{% extends "gcc_arm_common.tmpl" %}
2+
3+
{% block target_project_elf %} {{ super() }} @echo ""
4+
@echo "*****"
5+
@echo "***** You must modify vector checksum value in *.bin and *.hex files."
6+
@echo "*****"
7+
@echo ""
8+
{%- endblock %}
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
{% extends "gcc_arm_efm32_common.tmpl" %}
1+
{% extends "gcc_arm_common.tmpl" %}
2+
3+
{% block target_project_elf %} {{ super() }} @echo ""
4+
@echo "*****"
5+
@echo "***** You must modify vector checksum value in *.bin and *.hex files."
6+
@echo "*****"
7+
@echo ""
8+
{%- endblock %}
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
{% extends "gcc_arm_efm32_common.tmpl" %}
1+
{% extends "gcc_arm_common.tmpl" %}
2+
3+
{% block target_project_elf %} {{ super() }} @echo ""
4+
@echo "*****"
5+
@echo "***** You must modify vector checksum value in *.bin and *.hex files."
6+
@echo "*****"
7+
@echo ""
8+
{%- endblock %}
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
{% extends "gcc_arm_efm32_common.tmpl" %}
1+
{% extends "gcc_arm_common.tmpl" %}
2+
3+
{% block target_project_elf %} {{ super() }} @echo ""
4+
@echo "*****"
5+
@echo "***** You must modify vector checksum value in *.bin and *.hex files."
6+
@echo "*****"
7+
@echo ""
8+
{%- endblock %}

0 commit comments

Comments
 (0)