Skip to content

Commit 29e11a1

Browse files
Archcady0xc0170
authored andcommitted
move REALTEK_RTL8195AM.py, remove progen in targets.json
1 parent 02687b5 commit 29e11a1

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

targets/targets.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2911,8 +2911,6 @@
29112911
"extra_labels": ["Realtek", "AMEBA", "RTL8195A"],
29122912
"macros": ["__RTL8195A__","CONFIG_PLATFORM_8195A","CONFIG_MBED_ENABLED","PLATFORM_CMSIS_RTOS"],
29132913
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
2914-
"progen": {"target": "rtl8195a"},
2915-
"progen_target": "rtl8195a",
29162914
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SPI", "TRNG", "EMAC"],
29172915
"features": ["LWIP"],
29182916
"post_binary_hook": {
File renamed without changes.

tools/build_hooks/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"""
2+
mbed SDK
3+
Copyright (c) 2011-2013 ARM Limited
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
"""

tools/targets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ class RTL8195ACode:
502502
"""RTL8195A Hooks"""
503503
@staticmethod
504504
def binary_hook(t_self, resources, elf, binf):
505-
from tools.REALTEK_RTL8195AM import rtl8195a_elf2bin
505+
from tools.build_hooks.REALTEK_RTL8195AM import rtl8195a_elf2bin
506506
rtl8195a_elf2bin(t_self.name, elf, binf)
507507
################################################################################
508508

0 commit comments

Comments
 (0)