Add support for mbed exporter

(uvision, gcc_arm, iar)
pull/4438/head
Yuguo Zou 2017-05-22 19:17:13 +08:00 committed by Martin Kojtal
parent 4eda93e760
commit 92ca664fda
3 changed files with 8 additions and 2 deletions

View File

@ -2909,6 +2909,7 @@
"core": "Cortex-M3",
"default_toolchain": "GCC_ARM",
"inherits": ["Target"],
"detect_code": ["4600"],
"extra_labels": ["Realtek", "AMEBA", "RTL8195A"],
"macros": ["__RTL8195A__","CONFIG_PLATFORM_8195A","CONFIG_MBED_ENABLED","PLATFORM_CMSIS_RTOS"],
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
@ -2918,6 +2919,7 @@
"function": "RTL8195ACode.binary_hook",
"toolchains": ["ARM_STD", "GCC_ARM", "IAR"]
},
"release_versions": ["5"]
"release_versions": ["5"],
"device_name": "REALTEK_RTL8195AM"
}
}

View File

@ -188,5 +188,8 @@
"CExtraOptionsCheck": 1,
"CExtraOptions": "--drv_vector_table_base=0x0",
"CMSISDAPJtagSpeedList": 10
},
"REALTEK_RTL8195AM": {
"OGChipSelectEditMenu": "REALTEK_RTL8195AM\tRealtek REALTEK_RTL8195AM"
}
}

View File

@ -39,7 +39,8 @@ class Makefile(Exporter):
"MCU_NRF51Code.binary_hook",
"TEENSY3_1Code.binary_hook",
"LPCTargetCode.lpc_patch",
"LPC4088Code.binary_hook"
"LPC4088Code.binary_hook",
"RTL8195ACode.binary_hook"
])
def generate(self):