Skip to content

Commit dc4d741

Browse files
committed
Removed tabs, added Copyright preamble, added info about 'fat' library availability in 'libs' section, added python env path in first line of the script
1 parent c3c0be5 commit dc4d741

File tree

1 file changed

+30
-11
lines changed

1 file changed

+30
-11
lines changed

workspace_tools/build_travis.py

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,37 @@
1-
# Travis-CI build script
1+
#!/usr/bin/env python
2+
3+
"""
4+
Travis-CI build script
5+
6+
mbed SDK
7+
Copyright (c) 2011-2013 ARM Limited
8+
9+
Licensed under the Apache License, Version 2.0 (the "License");
10+
you may not use this file except in compliance with the License.
11+
You may obtain a copy of the License at
12+
13+
http://www.apache.org/licenses/LICENSE-2.0
14+
15+
Unless required by applicable law or agreed to in writing, software
16+
distributed under the License is distributed on an "AS IS" BASIS,
17+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
See the License for the specific language governing permissions and
19+
limitations under the License.
20+
"""
221

322
import os
423
import sys
524

625
################################################################################
726
# Configure builds here
8-
# "libs" can contain "dsp", "rtos", "eth", "usb_host", "usb", "ublox"
27+
# "libs" can contain "dsp", "rtos", "eth", "usb_host", "usb", "ublox", "fat"
928

1029
build_list = (
1130
{ "target": "LPC1768", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "eth", "usb_host", "usb", "ublox"] },
1231
{ "target": "LPC2368", "toolchains": "GCC_ARM" },
1332
{ "target": "LPC11U24", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos"]},
14-
{ "target": "GHI_MBUINO", "toolchains": "GCC_ARM"},
15-
33+
{ "target": "GHI_MBUINO", "toolchains": "GCC_ARM"},
34+
1635
{ "target": "LPC11U24_301", "toolchains": "GCC_ARM" },
1736
{ "target": "NUCLEO_F103RB", "toolchains": "GCC_ARM"},
1837

@@ -23,13 +42,13 @@
2342
{ "target": "LPC11U35_501", "toolchains": "GCC_ARM", "libs": ["dsp"] },
2443
{ "target": "LPC11U68", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos"] },
2544

26-
{ "target": "KL05Z", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos"] },
27-
{ "target": "KL25Z", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb"] },
28-
{ "target": "KL46Z", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb"] },
29-
{ "target": "K20D50M", "toolchains": "GCC_ARM", "libs": ["dsp"] },
30-
{ "target": "K64F", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb"] },
31-
{ "target": "LPC4088", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb"] },
32-
{ "target": "ARCH_PRO", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos"] },
45+
{ "target": "KL05Z", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos"] },
46+
{ "target": "KL25Z", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb"] },
47+
{ "target": "KL46Z", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb"] },
48+
{ "target": "K20D50M", "toolchains": "GCC_ARM", "libs": ["dsp"] },
49+
{ "target": "K64F", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb"] },
50+
{ "target": "LPC4088", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb"] },
51+
{ "target": "ARCH_PRO", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos"] },
3352
)
3453

3554
################################################################################

0 commit comments

Comments
 (0)