move REALTEK_RTL8195AM.py, remove progen in targets.json

pull/4438/head
Yuguo Zou 2017-03-09 11:16:47 +08:00 committed by Martin Kojtal
parent 02687b5ec5
commit 29e11a1cb9
4 changed files with 17 additions and 3 deletions

View File

@ -2911,8 +2911,6 @@
"extra_labels": ["Realtek", "AMEBA", "RTL8195A"],
"macros": ["__RTL8195A__","CONFIG_PLATFORM_8195A","CONFIG_MBED_ENABLED","PLATFORM_CMSIS_RTOS"],
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
"progen": {"target": "rtl8195a"},
"progen_target": "rtl8195a",
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SPI", "TRNG", "EMAC"],
"features": ["LWIP"],
"post_binary_hook": {

View File

@ -0,0 +1,16 @@
"""
mbed SDK
Copyright (c) 2011-2013 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""

View File

@ -502,7 +502,7 @@ class RTL8195ACode:
"""RTL8195A Hooks"""
@staticmethod
def binary_hook(t_self, resources, elf, binf):
from tools.REALTEK_RTL8195AM import rtl8195a_elf2bin
from tools.build_hooks.REALTEK_RTL8195AM import rtl8195a_elf2bin
rtl8195a_elf2bin(t_self.name, elf, binf)
################################################################################