Skip to content

Commit 631790b

Browse files
rajkan01hugueskamba
andcommitted
Apply suggestions from code review
Co-authored-by: Hugues Kamba <[email protected]>
1 parent 639e002 commit 631790b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,8 @@ matrix:
6262
- >-
6363
git clone --depth=1 --single-branch https://github.com/ARMmbed/mbed-os.git;
6464
- >-
65-
mbedtools configure -t GCC_ARM -m ${TARGET_NAME};
66-
mkdir -p build
6765
script:
68-
- cd build && cmake .. -GNinja -DCMAKE_BUILD_TYPE=${PROFILE} && cmake --build .
66+
- mbedtools build -t GCC_ARM -m ${TARGET_NAME} -b ${PROFILE}
6967
- ccache -s
7068

7169
- <<: *cmake-build-test

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
cmake_minimum_required(VERSION 3.18.2 FATAL_ERROR)
4+
cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR)
55

6-
# TODO: @mbed-os-tools MBED_ROOT and MBED_CONFIG_PATH should probably come from mbedtools
76
set(MBED_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/mbed-os CACHE INTERNAL "")
87
set(MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR}/.mbedbuild CACHE INTERNAL "")
98
set(APP_TARGET mbed-os-example-blinky-baremetal)

0 commit comments

Comments
 (0)