Skip to content

Commit 9073a48

Browse files
authored
Merge pull request #13489 from rajkan01/hal_directory_restructuring
Refactor hal directory
2 parents 29f54fe + fafa0c4 commit 9073a48

File tree

147 files changed

+1050
-5
lines changed

Some content is hidden

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

147 files changed

+1050
-5
lines changed

.codecheckignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
^storage/filesystem/littlefsv2/littlefs/
1818
^features/unsupported/
1919
^hal/storage_abstraction
20+
^hal/tests/TESTS/mbed_hal/trng/pithy
21+
^hal/tests/TESTS/mbed_hal/trng/pithy
2022
^platform/cxxsupport
2123
^platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV
2224
^platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM
@@ -25,8 +27,6 @@
2527
^rtos/source/TARGET_CORTEX/rtx4
2628
^rtos/source/TARGET_CORTEX/rtx5
2729
^targets
28-
^TESTS/mbed_hal/trng/pithy
29-
^TESTS/mbed_hal/trng/pithy
3030
^tools
3131
^UNITTESTS
3232
^storage/blockdevice/tests/UNITTESTS

UNITTESTS/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ set(unittest-includes-base
126126
"${PROJECT_SOURCE_DIR}/../drivers/include/drivers"
127127
"${PROJECT_SOURCE_DIR}/../drivers/include/drivers/internal"
128128
"${PROJECT_SOURCE_DIR}/../hal"
129+
"${PROJECT_SOURCE_DIR}/../hal/include"
129130
"${PROJECT_SOURCE_DIR}/../events/include"
130131
"${PROJECT_SOURCE_DIR}/../events/include/events/internal"
131132
"${PROJECT_SOURCE_DIR}/../events/source"

UNITTESTS/stubs/us_ticker_stub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
#include "stdlib.h"
20-
#include "us_ticker_api.h"
20+
#include "hal/us_ticker_api.h"
2121

2222
const ticker_data_t *get_us_ticker_data(void)
2323
{

UNITTESTS/stubs/watchdog_api_stub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
#include "watchdog_api.h"
17+
#include "hal/watchdog_api.h"
1818

1919
#if DEVICE_WATCHDOG
2020

UNITTESTS/target_h/PinNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ typedef enum {
4747
#ifdef __cplusplus
4848
}
4949
#endif
50-
#include "pinmap.h"
50+
#include "hal/pinmap.h"
5151

5252
#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)