Rename codered to lpcexpresso in code

pull/3791/head
Jimmy Brisson 2017-02-16 11:50:06 -06:00
parent 21b91c794e
commit bcbfe6abe1
50 changed files with 37 additions and 37 deletions

View File

@ -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,

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1,3 +0,0 @@
{% extends "codered_cproject_common.tmpl" %}
{% block core %}cm0{% endblock %}

View File

@ -1,3 +0,0 @@
{% extends "codered_cproject_common.tmpl" %}
{% block core %}cm3{% endblock %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -1 +0,0 @@
{% extends "codered_project_common.tmpl" %}

View File

@ -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')

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm3_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
{% block startup_file %}cr_startup_lpc176x.c{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -0,0 +1,3 @@
{% extends "lpcxpresso/cproject_common.tmpl" %}
{% block core %}cm0{% endblock %}

View File

@ -0,0 +1,3 @@
{% extends "lpcxpresso/cproject_common.tmpl" %}
{% block core %}cm3{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm0_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm0_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm0_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm0_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm0_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
{% block startup_file %}startup_LPC11U68.cpp{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm3_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
{% block startup_file %}cr_startup_lpc15xx.c{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxprosso/project_common.tmpl" %}

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm3_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
{% block startup_file %}cr_startup_lpc176x.c{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm0_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
{% block startup_file %}startup_LPC824_CR.cpp{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm0_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm0_common.tmpl" %}
{% block startup_file %}cr_startup_lpc11xx.c{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}

View File

@ -1,4 +1,4 @@
{% extends "codered_cproject_cortexm3_common.tmpl" %}
{% extends "lpcxpresso/cproject_cortexm3_common.tmpl" %}
{% block startup_file %}cr_startup_lpc176x.c{% endblock %}

View File

@ -0,0 +1 @@
{% extends "lpcxpresso/project_common.tmpl" %}