Skip to content

Commit 5bc2aaf

Browse files
committed
config/families: add sam3u family
Signed-off-by: perigoso <[email protected]>
1 parent 46d585e commit 5bc2aaf

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

config/families/sam3u.toml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
toolchain = 'arm-none-eabi'
2+
c_flags = [
3+
'-Os',
4+
'-nostdlib',
5+
'-nostartfiles',
6+
'-ffunction-sections',
7+
'-fdata-sections',
8+
'-march=armv7-m',
9+
'-mtune=cortex-m3',
10+
'-mthumb',
11+
'-mfloat-abi=soft',
12+
'-ffreestanding',
13+
]
14+
ld_flags = [
15+
'-lm',
16+
'-lc',
17+
'-lgcc',
18+
'-lnosys',
19+
'-nostdlib',
20+
'-nostartfiles',
21+
'-fdata-sections',
22+
'-ffunction-sections',
23+
'--specs=nano.specs',
24+
'--specs=nosys.specs',
25+
'-Wl,--gc-sections',
26+
'-march=armv7-m',
27+
'-mtune=cortex-m3',
28+
'-mthumb',
29+
]
30+
source = [
31+
# 'startup.c',
32+
]
33+
34+
[dependencies]
35+
cmsis-5 = {}
36+
cmsis-dfp-stm32f1 = {}
37+
#tinyusb = { target = 'microchip/sam3u' }

0 commit comments

Comments
 (0)