File tree Expand file tree Collapse file tree 2 files changed +89
-1
lines changed
targets/TARGET_Maxim/TARGET_MAX32630 Expand file tree Collapse file tree 2 files changed +89
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ if ("MAX32630FTHR" IN_LIST MBED_TARGET_LABELS)
5
+ target_include_directories (mbed-core
6
+ INTERFACE
7
+ TARGET_MAX32630FTHR
8
+ )
9
+
10
+ target_sources (mbed-core
11
+ INTERFACE
12
+ TARGET_MAX32630FTHR/low_level_init.c
13
+ )
14
+ endif ()
15
+
16
+ if (${MBED_TOOLCHAIN} STREQUAL "ARM" )
17
+ set (LINKER_FILE device/TOOLCHAIN_ARM_STD/MAX3263x.sct)
18
+
19
+ set (STARTUP_FILE device/TOOLCHAIN_ARM_STD/startup_MAX3263x.S)
20
+
21
+ set (LIB_EXACT_LE TOOLCHAIN_ARM_STD/libexactLE.ar)
22
+ elseif (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
23
+ set (LINKER_FILE device/TOOLCHAIN_GCC_ARM/max3263x.ld)
24
+
25
+ set (STARTUP_FILE device/TOOLCHAIN_GCC_ARM/startup_max3263x.S)
26
+
27
+ set (LIB_EXACT_LE TOOLCHAIN_GCC_ARM/libexactLE.a)
28
+ endif ()
29
+
30
+ set_property (GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
31
+
32
+ target_link_libraries (mbed-core INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} /${LIB_EXACT_LE} )
33
+
34
+ target_include_directories (mbed-core
35
+ INTERFACE
36
+ .
37
+ device
38
+ mxc
39
+ )
40
+
41
+ target_sources (mbed-core
42
+ INTERFACE
43
+ PeripheralPins.c
44
+ analogin_api.c
45
+ gpio_api.c
46
+ gpio_irq_api.c
47
+ i2c_api.c
48
+ pinmap.c
49
+ port_api.c
50
+ pwmout_api.c
51
+ rtc_api.c
52
+ serial_api.c
53
+ sleep.c
54
+ spi_api.c
55
+ us_ticker.c
56
+
57
+ device/device_nvic.c
58
+ device/system_max3263x.c
59
+
60
+ mxc/adc.c
61
+ mxc/clkman.c
62
+ mxc/crc.c
63
+ mxc/flc.c
64
+ mxc/gpio.c
65
+ mxc/i2cm.c
66
+ mxc/i2cs.c
67
+ mxc/icc.c
68
+ mxc/ioman.c
69
+ mxc/lp.c
70
+ mxc/maa.c
71
+ mxc/mxc_aes.c
72
+ mxc/mxc_assert.c
73
+ mxc/mxc_sys.c
74
+ mxc/owm.c
75
+ mxc/pmu.c
76
+ mxc/prng.c
77
+ mxc/pt.c
78
+ mxc/rtc.c
79
+ mxc/spim.c
80
+ mxc/spix.c
81
+ mxc/tmr.c
82
+ mxc/tmr_utils.c
83
+ mxc/uart.c
84
+ mxc/wdt.c
85
+ mxc/wdt2.c
86
+
87
+ ${STARTUP_FILE}
88
+ )
Original file line number Diff line number Diff line change 1
- #! armcc -E
1
+ #! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m4
2
2
; MAX3263x
3
3
; 2MB FLASH (0x200000) @ 0x000000000
4
4
; 512KB RAM (0x80000) @ 0x20000000
You can’t perform that action at this time.
0 commit comments