mirror of https://github.com/ARMmbed/mbed-os.git
Remove IPV4 from features in targets.json
parent
41f20d6913
commit
ad85a1409b
|
@ -2915,7 +2915,7 @@
|
|||
"progen_target": "rtl8195a",
|
||||
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SPI", "TRNG", "EMAC"],
|
||||
"default_build": "standard",
|
||||
"features": ["IPV4", "LWIP"],
|
||||
"features": ["LWIP"],
|
||||
"post_binary_hook": {
|
||||
"function": "RTL8195ACode.binary_hook",
|
||||
"toolchains": ["ARM_STD", "GCC_ARM", "IAR"]
|
||||
|
|
|
@ -33,9 +33,9 @@ def write_fixed_width_string(value, width, output):
|
|||
|
||||
def write_fixed_width_value(value, width, output):
|
||||
# convert to string
|
||||
line = format(value, '0%dx' %(width))
|
||||
line = format(value, '0%dx' % (width))
|
||||
if len(line) > width:
|
||||
print "[ERROR] value 0x%s cannot fit width %d" %(line, width)
|
||||
print "[ERROR] value 0x%s cannot fit width %d" % (line, width)
|
||||
sys.exit(-1)
|
||||
# cut string to list & reverse
|
||||
line = [line[i:i+2] for i in range(0, len(line), 2)]
|
||||
|
|
Loading…
Reference in New Issue