Skip to content

Commit 0d3268b

Browse files
committed
[BEETLE] Add initial support
This patch adds support for the BEETLE Target. The compilers supported by this target are: * ARMCC * GCC ARM The exporters and the CMSIS/HAL components will follow in future patches. Signed-off-by: Vincenzo Frascino <[email protected]>
1 parent 5acdad9 commit 0d3268b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

hal/targets.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,6 +1532,15 @@
15321532
"macros": ["CMSDK_BEID"],
15331533
"device_has": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"]
15341534
},
1535+
"ARM_BEETLE_SOC": {
1536+
"inherits": ["ARM_IOTSS_Target"],
1537+
"core": "Cortex-M3",
1538+
"supported_toolchains": ["ARM", "GCC_ARM"],
1539+
"default_toolchain": "ARM",
1540+
"extra_labels": ["ARM_SSG", "BEETLE"],
1541+
"macros": ["CMSDK_BEETLE", "WSF_MS_PER_TICK=20", "WSF_TOKEN_ENABLED=FALSE", "WSF_TRACE_ENABLED=TRUE", "WSF_ASSERT_ENABLED=FALSE", "WSF_PRINTF_MAX_LEN=128", "ASIC", "CONFIG_HOST_REV=0x20", "CONFIG_ALLOW_DEEP_SLEEP=FALSE", "HCI_VS_TARGET", "CONFIG_ALLOW_SETTING_WRITE=TRUE", "WSF_MAX_HANDLERS=20", "NO_LEDS"],
1542+
"device_has": ["ANALOGIN", "CLCD", "I2C", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SPI"]
1543+
},
15351544
"RZ_A1H": {
15361545
"supported_form_factors": ["ARDUINO"],
15371546
"core": "Cortex-A9",

tools/build_release.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
('ARM_MPS2_M4' , ('ARM',)),
128128
('ARM_MPS2_M7' , ('ARM',)),
129129
('ARM_IOTSS_BEID' , ('ARM',)),
130+
('ARM_BEETLE_SOC' , ('ARM', 'GCC_ARM')),
130131

131132
('RZ_A1H' , ('ARM', 'GCC_ARM')),
132133

@@ -217,7 +218,7 @@
217218
if platforms is not None and not target_name in platforms:
218219
print("Excluding %s from release" % target_name)
219220
continue
220-
221+
221222
if target_name not in TARGET_NAMES:
222223
print "Target '%s' is not a valid target. Excluding from release"
223224
continue
@@ -257,7 +258,7 @@
257258
if platforms is not None and not target_name in platforms:
258259
print("Excluding %s from release" % target_name)
259260
continue
260-
261+
261262
if target_name not in TARGET_NAMES:
262263
print "Target '%s' is not a valid target. Excluding from release"
263264
continue

0 commit comments

Comments
 (0)