diff --git a/workspace_tools/export/__init__.py b/workspace_tools/export/__init__.py index 1c3eb1e919..67de0229ca 100644 --- a/workspace_tools/export/__init__.py +++ b/workspace_tools/export/__init__.py @@ -26,7 +26,7 @@ from workspace_tools.targets import EXPORT_MAP EXPORTERS = { 'uvision': uvision4.Uvision4, - 'codered': codered.CodeRed, + 'lpcxpresso': codered.CodeRed, 'codesourcery': codesourcery.CodeSourcery, 'gcc_arm': gccarm.GccArm, 'ds5_5': ds5_5.DS5_5, diff --git a/workspace_tools/export_test.py b/workspace_tools/export_test.py index fa908ef21f..53229628e7 100644 --- a/workspace_tools/export_test.py +++ b/workspace_tools/export_test.py @@ -79,9 +79,9 @@ if __name__ == '__main__': ('uvision', 'LPC1768'), ('uvision', 'LPC11U24'), ('uvision', 'KL25Z'), ('uvision', 'LPC1347'), ('uvision', 'LPC1114'), ('uvision', 'LPC4088'), ('uvision', 'NUCLEO_F103RB'), ('uvision', 'NUCLEO_L152RE'), ('uvision', 'NUCLEO_F401RE'), ('uvision', 'NUCLEO_F030R8'), ('uvision', 'NUCLEO_F302R8'), - ('codered', 'LPC1768'), ('codered', 'LPC4088'),('codered', 'LPC1114'), - ('codered', 'LPC11U35_401'), - ('codered', 'LPC11U35_501'), + ('lpcxpresso', 'LPC1768'), ('lpcxpresso', 'LPC4088'),('lpcxpresso', 'LPC1114'), + ('lpcxpresso', 'LPC11U35_401'), + ('lpcxpresso', 'LPC11U35_501'), # Linux path: /home/emimon01/bin/gcc-cs/bin/ # Windows path: "C:/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/" ('codesourcery', 'LPC1768'), @@ -110,4 +110,4 @@ if __name__ == '__main__': test_export(toolchain, target) print "\n=== Test error messages ===" - test_export('codered', 'LPC11U24', expected_error='codered') + test_export('lpcxpresso', 'LPC11U24', expected_error='lpcxpresso')