Skip to content

Commit 7d74165

Browse files
author
Seppo Takalo
authored
Merge pull request #11073 from ARMmbed/feature-public-headers
Feature public headers
2 parents 5f6379a + df85e8e commit 7d74165

File tree

277 files changed

+2076
-1093
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+2076
-1093
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2013-2018 Arm Limited. All rights reserved.
1+
# Copyright (c) 2013-2019 Arm Limited. All rights reserved.
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#
@@ -222,14 +222,14 @@ matrix:
222222
# Check that example compiles without rtos
223223
- sed -n '/``` cpp/,/```/{/```$/Q;/```/d;p;}' ${EVENTS}/README.md > main.cpp
224224
- |
225-
rm -r rtos usb features/cellular features/netsocket features/nanostack \
225+
rm -r rtos drivers/source/usb features/cellular features/netsocket features/nanostack \
226226
features/lwipstack features/frameworks/greentea-client \
227227
features/frameworks/utest features/frameworks/unity components BUILD
228228
- python tools/make.py -t GCC_ARM -m DISCO_F401VC --source=. --build=BUILD/DISCO_F401VC/GCC_ARM -j0
229229
# Run local equeue tests
230-
- make -C ${EVENTS}/equeue test
230+
- make -C ${EVENTS}/source test
231231
# Run profiling tests
232-
- make -C ${EVENTS}/equeue prof | tee prof
232+
- make -C ${EVENTS}/source prof | tee prof
233233
after_success:
234234
# Update status, comparing with master if possible.
235235
- |

TESTS/mbed_hal/lp_ticker/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "lp_ticker_api_tests.h"
2222
#include "hal/lp_ticker_api.h"
2323
#include "hal/mbed_lp_ticker_wrapper.h"
24+
#include "hal/us_ticker_api.h"
2425

2526
#if !DEVICE_LPTICKER
2627
#error [NOT_SUPPORTED] Low power timer not supported for this target

TESTS/mbed_hal/qspi/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
#include "mbed.h"
2828
#include "qspi_api.h"
29+
#include "hal/us_ticker_api.h"
2930

3031

3132
#if !defined(QSPI_FLASH_CHIP_STRING)

TESTS/mbed_hal/qspi/qspi_test_utils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "utest/utest.h"
1818

1919
#include "hal/qspi_api.h"
20+
#include "hal/us_ticker_api.h"
2021
#include "qspi_test_utils.h"
2122

2223
#include "unity/unity.h"

TESTS/mbed_hal/sleep/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "unity/unity.h"
2525
#include "greentea-client/test_env.h"
2626
#include "mbed_lp_ticker_wrapper.h"
27+
#include "hal/us_ticker_api.h"
2728

2829
#include "sleep_test_utils.h"
2930
#include "sleep_api_tests.h"

TESTS/mbed_hal/sleep_manager/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <limits.h>
2020
#include "mbed.h"
2121
#include "mbed_lp_ticker_wrapper.h"
22+
#include "hal/us_ticker_api.h"
2223
#include "../sleep/sleep_test_utils.h"
2324
#include "sleep_manager_api_tests.h"
2425

TESTS/mbed_hal_fpga_ci_test_shield/uart/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
#include "unity/unity.h"
2828
#include "greentea-client/test_env.h"
2929

30+
#include "platform/mbed_critical.h"
31+
3032
using namespace utest::v1;
3133

3234
#include <stdlib.h>

TESTS/usb_device/hid/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, ARM Limited, All Rights Reserved
2+
* Copyright (c) 2018-2019, ARM Limited, All Rights Reserved
33
* SPDX-License-Identifier: Apache-2.0
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -27,6 +27,7 @@
2727
#include "USBHID.h"
2828
#include "USBMouse.h"
2929
#include "USBKeyboard.h"
30+
#include "hal/us_ticker_api.h"
3031

3132
// Reuse the VID & PID from basic USB test.
3233
#define USB_HID_VID 0x0d28

TESTS/usb_device/serial/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, ARM Limited, All Rights Reserved
2+
* Copyright (c) 2018-2019, ARM Limited, All Rights Reserved
33
* SPDX-License-Identifier: Apache-2.0
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -26,6 +26,7 @@
2626
#include "usb_phy_api.h"
2727
#include "USBCDC.h"
2828
#include "USBSerial.h"
29+
#include "hal/us_ticker_api.h"
2930

3031
#define USB_CDC_VID 0x1f00
3132
#define USB_CDC_PID 0x2013

UNITTESTS/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ set(unittest-includes-base
105105
"${PROJECT_SOURCE_DIR}/../drivers"
106106
"${PROJECT_SOURCE_DIR}/../hal"
107107
"${PROJECT_SOURCE_DIR}/../events"
108-
"${PROJECT_SOURCE_DIR}/../events/equeue"
108+
"${PROJECT_SOURCE_DIR}/../events/source"
109+
"${PROJECT_SOURCE_DIR}/../events/internal"
109110
"${PROJECT_SOURCE_DIR}/../rtos"
110111
"${PROJECT_SOURCE_DIR}/../rtos/TARGET_CORTEX"
111112
"${PROJECT_SOURCE_DIR}/../rtos/TARGET_CORTEX/rtx5/Include"

0 commit comments

Comments
 (0)