Skip to content

Commit bcbfe6a

Browse files
committed
Rename codered to lpcexpresso in code
1 parent 21b91c7 commit bcbfe6a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+37
-37
lines changed

tools/export/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717

18-
from tools.export import codered, ds5_5, iar, makefile
18+
from tools.export import lpcxpresso, ds5_5, iar, makefile
1919
from tools.export import embitz, coide, kds, simplicity, atmelstudio
2020
from tools.export import sw4stm32, e2studio, zip, cmsis, uvision, cdt
2121
from tools.targets import TARGET_NAMES
2222

2323
EXPORTERS = {
2424
'uvision5': uvision.Uvision,
2525
'uvision': uvision.Uvision,
26-
'lpcxpresso': codered.CodeRed,
26+
'lpcxpresso': lpcxpresso.LPCXpresso,
2727
'gcc_arm': makefile.GccArm,
2828
'make_gcc_arm': makefile.GccArm,
2929
'make_armc5': makefile.Armc5,

tools/export/codered/arch_pro_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/cproject_cortexm0_common.tmpl

Lines changed: 0 additions & 3 deletions
This file was deleted.

tools/export/codered/cproject_cortexm3_common.tmpl

Lines changed: 0 additions & 3 deletions
This file was deleted.

tools/export/codered/lpc1114_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpc11u35_401_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpc11u35_501_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpc11u37h_401_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpc11u68_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpc1549_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpc1768_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpc4088_dm_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpc4088_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpc4330_m4_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpc824_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/lpccappuccino_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/ublox_c027_project.tmpl

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/export/codered/__init__.py renamed to tools/export/lpcxpresso/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
from tools.export.exporters import Exporter
2020

21-
class CodeRed(Exporter):
22-
NAME = 'CodeRed'
21+
class LPCXpresso(Exporter):
22+
NAME = 'LPCXpresso'
2323
TOOLCHAIN = 'GCC_CR'
2424

2525
MBED_CONFIG_HEADER_SUPPORTED = True
@@ -56,5 +56,5 @@ def generate(self):
5656
'symbols': self.toolchain.get_symbols()
5757
}
5858
ctx.update(self.flags)
59-
self.gen_file('codered/%s_project.tmpl' % self.target.lower(), ctx, '.project')
60-
self.gen_file('codered/%s_cproject.tmpl' % self.target.lower(), ctx, '.cproject')
59+
self.gen_file('lpcxpresso/%s_project.tmpl' % self.target.lower(), ctx, '.project')
60+
self.gen_file('lpcxpresso/%s_cproject.tmpl' % self.target.lower(), ctx, '.cproject')

tools/export/codered/arch_pro_cproject.tmpl renamed to tools/export/lpcxpresso/arch_pro_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm3_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
22

33
{% block startup_file %}cr_startup_lpc176x.c{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{% extends "lpcxpresso/cproject_common.tmpl" %}
2+
3+
{% block core %}cm0{% endblock %}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{% extends "lpcxpresso/cproject_common.tmpl" %}
2+
3+
{% block core %}cm3{% endblock %}

tools/export/codered/lpc1114_cproject.tmpl renamed to tools/export/lpcxpresso/lpc1114_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm0_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
22

33
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}

tools/export/codered/lpc11u35_401_cproject.tmpl renamed to tools/export/lpcxpresso/lpc11u35_401_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm0_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
22

33
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}

tools/export/codered/lpc11u35_501_cproject.tmpl renamed to tools/export/lpcxpresso/lpc11u35_501_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm0_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
22

33
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}

tools/export/codered/lpc11u37h_401_cproject.tmpl renamed to tools/export/lpcxpresso/lpc11u37h_401_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm0_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
22

33
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}

tools/export/codered/lpc11u68_cproject.tmpl renamed to tools/export/lpcxpresso/lpc11u68_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm0_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
22

33
{% block startup_file %}startup_LPC11U68.cpp{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}

tools/export/codered/lpc1549_cproject.tmpl renamed to tools/export/lpcxpresso/lpc1549_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm3_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
22

33
{% block startup_file %}cr_startup_lpc15xx.c{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxprosso/project_common.tmpl" %}

tools/export/codered/lpc1768_cproject.tmpl renamed to tools/export/lpcxpresso/lpc1768_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm3_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
22

33
{% block startup_file %}cr_startup_lpc176x.c{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}

tools/export/codered/lpc824_cproject.tmpl renamed to tools/export/lpcxpresso/lpc824_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm0_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
22

33
{% block startup_file %}startup_LPC824_CR.cpp{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}

tools/export/codered/lpccappuccino_cproject.tmpl renamed to tools/export/lpcxpresso/lpccappuccino_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm0_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
22

33
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}

tools/export/codered/ublox_c027_cproject.tmpl renamed to tools/export/lpcxpresso/ublox_c027_cproject.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "codered_cproject_cortexm3_common.tmpl" %}
1+
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
22

33
{% block startup_file %}cr_startup_lpc176x.c{% endblock %}
44

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "lpcxpresso/project_common.tmpl" %}

0 commit comments

Comments
 (0)