[driver]: partial mocking of driver component

* added mocking of spi master and gpio
* mock registering in one function in
  component.cmake
This commit is contained in:
Jakob Hasse
2021-01-14 12:11:22 +08:00
parent cfb6857f53
commit 79b0256d63
13 changed files with 303 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
/*
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* NOTE: this is not the original header file from the freertos component.
* It is a stripped-down copy to support mocking.
*/
#pragma once
typedef uint32_t TickType_t;