mirror of https://github.com/ARMmbed/mbed-os.git
Rename codered to lpcexpresso in code
parent
21b91c794e
commit
bcbfe6abe1
|
@ -15,7 +15,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from tools.export import codered, ds5_5, iar, makefile
|
||||
from tools.export import lpcxpresso, ds5_5, iar, makefile
|
||||
from tools.export import embitz, coide, kds, simplicity, atmelstudio
|
||||
from tools.export import sw4stm32, e2studio, zip, cmsis, uvision, cdt
|
||||
from tools.targets import TARGET_NAMES
|
||||
|
@ -23,7 +23,7 @@ from tools.targets import TARGET_NAMES
|
|||
EXPORTERS = {
|
||||
'uvision5': uvision.Uvision,
|
||||
'uvision': uvision.Uvision,
|
||||
'lpcxpresso': codered.CodeRed,
|
||||
'lpcxpresso': lpcxpresso.LPCXpresso,
|
||||
'gcc_arm': makefile.GccArm,
|
||||
'make_gcc_arm': makefile.GccArm,
|
||||
'make_armc5': makefile.Armc5,
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1,3 +0,0 @@
|
|||
{% extends "codered_cproject_common.tmpl" %}
|
||||
|
||||
{% block core %}cm0{% endblock %}
|
|
@ -1,3 +0,0 @@
|
|||
{% extends "codered_cproject_common.tmpl" %}
|
||||
|
||||
{% block core %}cm3{% endblock %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -1 +0,0 @@
|
|||
{% extends "codered_project_common.tmpl" %}
|
|
@ -18,8 +18,8 @@ from os.path import splitext, basename
|
|||
|
||||
from tools.export.exporters import Exporter
|
||||
|
||||
class CodeRed(Exporter):
|
||||
NAME = 'CodeRed'
|
||||
class LPCXpresso(Exporter):
|
||||
NAME = 'LPCXpresso'
|
||||
TOOLCHAIN = 'GCC_CR'
|
||||
|
||||
MBED_CONFIG_HEADER_SUPPORTED = True
|
||||
|
@ -56,5 +56,5 @@ class CodeRed(Exporter):
|
|||
'symbols': self.toolchain.get_symbols()
|
||||
}
|
||||
ctx.update(self.flags)
|
||||
self.gen_file('codered/%s_project.tmpl' % self.target.lower(), ctx, '.project')
|
||||
self.gen_file('codered/%s_cproject.tmpl' % self.target.lower(), ctx, '.cproject')
|
||||
self.gen_file('lpcxpresso/%s_project.tmpl' % self.target.lower(), ctx, '.project')
|
||||
self.gen_file('lpcxpresso/%s_cproject.tmpl' % self.target.lower(), ctx, '.cproject')
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm3_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}cr_startup_lpc176x.c{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -0,0 +1,3 @@
|
|||
{% extends "lpcxpresso/cproject_common.tmpl" %}
|
||||
|
||||
{% block core %}cm0{% endblock %}
|
|
@ -0,0 +1,3 @@
|
|||
{% extends "lpcxpresso/cproject_common.tmpl" %}
|
||||
|
||||
{% block core %}cm3{% endblock %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm0_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm0_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm0_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm0_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm0_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}startup_LPC11U68.cpp{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm3_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}cr_startup_lpc15xx.c{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxprosso/project_common.tmpl" %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm3_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}cr_startup_lpc176x.c{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm0_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}startup_LPC824_CR.cpp{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm0_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "codered_cproject_cortexm3_common.tmpl" %}
|
||||
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
|
||||
|
||||
{% block startup_file %}cr_startup_lpc176x.c{% endblock %}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{% extends "lpcxpresso/project_common.tmpl" %}
|
Loading…
Reference in New Issue