-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtarget_teensy.yml
57 lines (56 loc) · 1.2 KB
/
target_teensy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# target: "main"
compiler:
# path: gcc
source_path: &source_path 'src/'
unit_tests_path: &unit_tests_path 'test/'
build_path: &build_path 'build/'
objs_path: &objs_path 'build/objs/'
mocks_path: &mocks_path 'mocks/'
target_path: 'teensy3/'
includes:
prefix: '-I'
items:
- teensy3/
- includes/
defines:
prefix: '-D'
items:
- F_CPU=48000000
- USB_SERIAL
- TEENSY
- LAYOUT_US_ENGLISH
- __MK66FX1M0__
- F_CPU=48000000
- USING_MAKEFILE
- ARDUINO=10805
- TEENSYDUINO=144
MCU: 'MK66FX1M0'
cc_compiler_options:
- Werror
- g
- Os
- mcpu=cortex-m4
- mthumb
- MMD
cpp_compiler_options:
- std=gnu++14
- Werror
- mcpu=cortex-m4
- mthumb
- MMD
- felide-constructors
- fno-exceptions
- fno-rtti
CC: 'arm-none-eabi-gcc'
CPP: 'arm-none-eabi-g++'
linker:
options:
- Os
- Wl,--gc-sections,--defsym=__rtc_localtime=0 --specs=nano.specs
- mcpu=cortex-m4
- mthumb
- Tteensy3/mk66fx1m0.ld
# simulator_options: ' -cpu cortex-m3 -M lm3s6965evb -no-reboot -nographic -kernel'
# simulator: 'qemu-system-arm'
arduino_path: '/home/al/tools/arduino/'
tools_path: 'hardware/tools/'