From 4ac92daac980513daded2cc6faee5ae060a9c9a4 Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Wed, 17 Aug 2016 14:39:31 -0500 Subject: [PATCH] Use common template as fallback --- tools/export/gcc_arm_arch_max.tmpl | 1 - tools/export/gcc_arm_arch_pro.tmpl | 1 - tools/export/gcc_arm_arm_beetle_soc.tmpl | 1 - tools/export/gcc_arm_b96b_f446ve.tmpl | 1 - tools/export/gcc_arm_bluepill_f103c8.tmpl | 1 - tools/export/gcc_arm_disco_f051r8.tmpl | 1 - tools/export/gcc_arm_disco_f100rb.tmpl | 1 - tools/export/gcc_arm_disco_f303vc.tmpl | 1 - tools/export/gcc_arm_disco_f334c8.tmpl | 1 - tools/export/gcc_arm_disco_f401vc.tmpl | 1 - tools/export/gcc_arm_disco_f407vg.tmpl | 1 - tools/export/gcc_arm_disco_f429zi.tmpl | 1 - tools/export/gcc_arm_disco_f469ni.tmpl | 1 - tools/export/gcc_arm_disco_f746ng.tmpl | 1 - tools/export/gcc_arm_disco_f769ni.tmpl | 1 - tools/export/gcc_arm_disco_l053c8.tmpl | 1 - tools/export/gcc_arm_disco_l476vg.tmpl | 1 - tools/export/gcc_arm_elmo_f411re.tmpl | 1 - tools/export/gcc_arm_k22f.tmpl | 1 - tools/export/gcc_arm_k64f.tmpl | 1 - tools/export/gcc_arm_kl05z.tmpl | 1 - tools/export/gcc_arm_kl25z.tmpl | 1 - tools/export/gcc_arm_kl43z.tmpl | 1 - tools/export/gcc_arm_kl46z.tmpl | 1 - tools/export/gcc_arm_lpc2368.tmpl | 1 - tools/export/gcc_arm_lpc2460.tmpl | 1 - tools/export/gcc_arm_max32600mbed.tmpl | 1 - tools/export/gcc_arm_maxwsnenv.tmpl | 1 - tools/export/gcc_arm_mote_l152rc.tmpl | 1 - tools/export/gcc_arm_mts_gambit.tmpl | 1 - tools/export/gcc_arm_mts_mdot_f405rg.tmpl | 1 - tools/export/gcc_arm_mts_mdot_f411re.tmpl | 1 - tools/export/gcc_arm_nucleo_f030r8.tmpl | 1 - tools/export/gcc_arm_nucleo_f031k6.tmpl | 1 - tools/export/gcc_arm_nucleo_f042k6.tmpl | 1 - tools/export/gcc_arm_nucleo_f070rb.tmpl | 1 - tools/export/gcc_arm_nucleo_f072rb.tmpl | 1 - tools/export/gcc_arm_nucleo_f091rc.tmpl | 1 - tools/export/gcc_arm_nucleo_f103rb.tmpl | 1 - tools/export/gcc_arm_nucleo_f302r8.tmpl | 1 - tools/export/gcc_arm_nucleo_f303k8.tmpl | 1 - tools/export/gcc_arm_nucleo_f303ke.tmpl | 1 - tools/export/gcc_arm_nucleo_f303re.tmpl | 1 - tools/export/gcc_arm_nucleo_f334r8.tmpl | 1 - tools/export/gcc_arm_nucleo_f401re.tmpl | 1 - tools/export/gcc_arm_nucleo_f410rb.tmpl | 1 - tools/export/gcc_arm_nucleo_f411re.tmpl | 1 - tools/export/gcc_arm_nucleo_f429zi.tmpl | 1 - tools/export/gcc_arm_nucleo_f446re.tmpl | 1 - tools/export/gcc_arm_nucleo_f446ze.tmpl | 1 - tools/export/gcc_arm_nucleo_f746zg.tmpl | 1 - tools/export/gcc_arm_nucleo_f767zi.tmpl | 1 - tools/export/gcc_arm_nucleo_l031k6.tmpl | 1 - tools/export/gcc_arm_nucleo_l053r8.tmpl | 1 - tools/export/gcc_arm_nucleo_l073rz.tmpl | 1 - tools/export/gcc_arm_nucleo_l152re.tmpl | 1 - tools/export/gcc_arm_nucleo_l476rg.tmpl | 1 - tools/export/gcc_arm_nz32_sc151.tmpl | 1 - tools/export/gcc_arm_stm32f407.tmpl | 1 - tools/export/gcc_arm_ublox_c027.tmpl | 1 - tools/export/gccarm.py | 9 +++++++-- 61 files changed, 7 insertions(+), 62 deletions(-) delete mode 100644 tools/export/gcc_arm_arch_max.tmpl delete mode 100644 tools/export/gcc_arm_arch_pro.tmpl delete mode 100644 tools/export/gcc_arm_arm_beetle_soc.tmpl delete mode 100644 tools/export/gcc_arm_b96b_f446ve.tmpl delete mode 100644 tools/export/gcc_arm_bluepill_f103c8.tmpl delete mode 100644 tools/export/gcc_arm_disco_f051r8.tmpl delete mode 100644 tools/export/gcc_arm_disco_f100rb.tmpl delete mode 100644 tools/export/gcc_arm_disco_f303vc.tmpl delete mode 100644 tools/export/gcc_arm_disco_f334c8.tmpl delete mode 100644 tools/export/gcc_arm_disco_f401vc.tmpl delete mode 100644 tools/export/gcc_arm_disco_f407vg.tmpl delete mode 100644 tools/export/gcc_arm_disco_f429zi.tmpl delete mode 100644 tools/export/gcc_arm_disco_f469ni.tmpl delete mode 100644 tools/export/gcc_arm_disco_f746ng.tmpl delete mode 100644 tools/export/gcc_arm_disco_f769ni.tmpl delete mode 100644 tools/export/gcc_arm_disco_l053c8.tmpl delete mode 100644 tools/export/gcc_arm_disco_l476vg.tmpl delete mode 100644 tools/export/gcc_arm_elmo_f411re.tmpl delete mode 100644 tools/export/gcc_arm_k22f.tmpl delete mode 100644 tools/export/gcc_arm_k64f.tmpl delete mode 100644 tools/export/gcc_arm_kl05z.tmpl delete mode 100644 tools/export/gcc_arm_kl25z.tmpl delete mode 100644 tools/export/gcc_arm_kl43z.tmpl delete mode 100644 tools/export/gcc_arm_kl46z.tmpl delete mode 100644 tools/export/gcc_arm_lpc2368.tmpl delete mode 100644 tools/export/gcc_arm_lpc2460.tmpl delete mode 100644 tools/export/gcc_arm_max32600mbed.tmpl delete mode 100644 tools/export/gcc_arm_maxwsnenv.tmpl delete mode 100644 tools/export/gcc_arm_mote_l152rc.tmpl delete mode 100644 tools/export/gcc_arm_mts_gambit.tmpl delete mode 100644 tools/export/gcc_arm_mts_mdot_f405rg.tmpl delete mode 100644 tools/export/gcc_arm_mts_mdot_f411re.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f030r8.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f031k6.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f042k6.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f070rb.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f072rb.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f091rc.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f103rb.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f302r8.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f303k8.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f303ke.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f303re.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f334r8.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f401re.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f410rb.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f411re.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f429zi.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f446re.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f446ze.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f746zg.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_f767zi.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_l031k6.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_l053r8.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_l073rz.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_l152re.tmpl delete mode 100644 tools/export/gcc_arm_nucleo_l476rg.tmpl delete mode 100644 tools/export/gcc_arm_nz32_sc151.tmpl delete mode 100644 tools/export/gcc_arm_stm32f407.tmpl delete mode 100644 tools/export/gcc_arm_ublox_c027.tmpl diff --git a/tools/export/gcc_arm_arch_max.tmpl b/tools/export/gcc_arm_arch_max.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_arch_max.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_arch_pro.tmpl b/tools/export/gcc_arm_arch_pro.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_arch_pro.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_arm_beetle_soc.tmpl b/tools/export/gcc_arm_arm_beetle_soc.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_arm_beetle_soc.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_b96b_f446ve.tmpl b/tools/export/gcc_arm_b96b_f446ve.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_b96b_f446ve.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_bluepill_f103c8.tmpl b/tools/export/gcc_arm_bluepill_f103c8.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_bluepill_f103c8.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_f051r8.tmpl b/tools/export/gcc_arm_disco_f051r8.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_f051r8.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_f100rb.tmpl b/tools/export/gcc_arm_disco_f100rb.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_f100rb.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_f303vc.tmpl b/tools/export/gcc_arm_disco_f303vc.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_f303vc.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_f334c8.tmpl b/tools/export/gcc_arm_disco_f334c8.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_f334c8.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_f401vc.tmpl b/tools/export/gcc_arm_disco_f401vc.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_f401vc.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_f407vg.tmpl b/tools/export/gcc_arm_disco_f407vg.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_f407vg.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_f429zi.tmpl b/tools/export/gcc_arm_disco_f429zi.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_f429zi.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_f469ni.tmpl b/tools/export/gcc_arm_disco_f469ni.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_f469ni.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_f746ng.tmpl b/tools/export/gcc_arm_disco_f746ng.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_f746ng.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_f769ni.tmpl b/tools/export/gcc_arm_disco_f769ni.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_f769ni.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_l053c8.tmpl b/tools/export/gcc_arm_disco_l053c8.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_l053c8.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_disco_l476vg.tmpl b/tools/export/gcc_arm_disco_l476vg.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_disco_l476vg.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_elmo_f411re.tmpl b/tools/export/gcc_arm_elmo_f411re.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_elmo_f411re.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_k22f.tmpl b/tools/export/gcc_arm_k22f.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_k22f.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_k64f.tmpl b/tools/export/gcc_arm_k64f.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_k64f.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_kl05z.tmpl b/tools/export/gcc_arm_kl05z.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_kl05z.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_kl25z.tmpl b/tools/export/gcc_arm_kl25z.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_kl25z.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_kl43z.tmpl b/tools/export/gcc_arm_kl43z.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_kl43z.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_kl46z.tmpl b/tools/export/gcc_arm_kl46z.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_kl46z.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_lpc2368.tmpl b/tools/export/gcc_arm_lpc2368.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_lpc2368.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_lpc2460.tmpl b/tools/export/gcc_arm_lpc2460.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_lpc2460.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_max32600mbed.tmpl b/tools/export/gcc_arm_max32600mbed.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_max32600mbed.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_maxwsnenv.tmpl b/tools/export/gcc_arm_maxwsnenv.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_maxwsnenv.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_mote_l152rc.tmpl b/tools/export/gcc_arm_mote_l152rc.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_mote_l152rc.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_mts_gambit.tmpl b/tools/export/gcc_arm_mts_gambit.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_mts_gambit.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_mts_mdot_f405rg.tmpl b/tools/export/gcc_arm_mts_mdot_f405rg.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_mts_mdot_f405rg.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_mts_mdot_f411re.tmpl b/tools/export/gcc_arm_mts_mdot_f411re.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_mts_mdot_f411re.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f030r8.tmpl b/tools/export/gcc_arm_nucleo_f030r8.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f030r8.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f031k6.tmpl b/tools/export/gcc_arm_nucleo_f031k6.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f031k6.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f042k6.tmpl b/tools/export/gcc_arm_nucleo_f042k6.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f042k6.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f070rb.tmpl b/tools/export/gcc_arm_nucleo_f070rb.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f070rb.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f072rb.tmpl b/tools/export/gcc_arm_nucleo_f072rb.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f072rb.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f091rc.tmpl b/tools/export/gcc_arm_nucleo_f091rc.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f091rc.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f103rb.tmpl b/tools/export/gcc_arm_nucleo_f103rb.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f103rb.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f302r8.tmpl b/tools/export/gcc_arm_nucleo_f302r8.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f302r8.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f303k8.tmpl b/tools/export/gcc_arm_nucleo_f303k8.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f303k8.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f303ke.tmpl b/tools/export/gcc_arm_nucleo_f303ke.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f303ke.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f303re.tmpl b/tools/export/gcc_arm_nucleo_f303re.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f303re.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f334r8.tmpl b/tools/export/gcc_arm_nucleo_f334r8.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f334r8.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f401re.tmpl b/tools/export/gcc_arm_nucleo_f401re.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f401re.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f410rb.tmpl b/tools/export/gcc_arm_nucleo_f410rb.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f410rb.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f411re.tmpl b/tools/export/gcc_arm_nucleo_f411re.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f411re.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f429zi.tmpl b/tools/export/gcc_arm_nucleo_f429zi.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f429zi.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f446re.tmpl b/tools/export/gcc_arm_nucleo_f446re.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f446re.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f446ze.tmpl b/tools/export/gcc_arm_nucleo_f446ze.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f446ze.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f746zg.tmpl b/tools/export/gcc_arm_nucleo_f746zg.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f746zg.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_f767zi.tmpl b/tools/export/gcc_arm_nucleo_f767zi.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_f767zi.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_l031k6.tmpl b/tools/export/gcc_arm_nucleo_l031k6.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_l031k6.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_l053r8.tmpl b/tools/export/gcc_arm_nucleo_l053r8.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_l053r8.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_l073rz.tmpl b/tools/export/gcc_arm_nucleo_l073rz.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_l073rz.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_l152re.tmpl b/tools/export/gcc_arm_nucleo_l152re.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_l152re.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nucleo_l476rg.tmpl b/tools/export/gcc_arm_nucleo_l476rg.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nucleo_l476rg.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_nz32_sc151.tmpl b/tools/export/gcc_arm_nz32_sc151.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_nz32_sc151.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_stm32f407.tmpl b/tools/export/gcc_arm_stm32f407.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_stm32f407.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gcc_arm_ublox_c027.tmpl b/tools/export/gcc_arm_ublox_c027.tmpl deleted file mode 100644 index 6e616cc884..0000000000 --- a/tools/export/gcc_arm_ublox_c027.tmpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "gcc_arm_common.tmpl" %} diff --git a/tools/export/gccarm.py b/tools/export/gccarm.py index 148fdd04e1..129a897182 100644 --- a/tools/export/gccarm.py +++ b/tools/export/gccarm.py @@ -14,9 +14,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ -from os.path import splitext, basename, relpath, join, abspath, dirname +from os.path import splitext, basename, relpath, join, abspath, dirname,\ + exists from os import curdir, getcwd from tools.export.exporters import Exporter +from jinja2.exceptions import TemplateNotFound class GccArm(Exporter): @@ -177,4 +179,7 @@ class GccArm(Exporter): if "../." not in ctx["include_paths"]: ctx["include_paths"] += ['../.'] ctx.update(self.flags) - self.gen_file('gcc_arm_%s.tmpl' % self.target.lower(), ctx, 'Makefile') + try: + self.gen_file('gcc_arm_%s.tmpl' % self.target.lower(), ctx, 'Makefile') + except TemplateNotFound: + self.gen_file('gcc_arm_common.tmpl', ctx, 'Makefile')