[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

@@ -17,6 +17,7 @@
#include "param_test.h"
#include "soc/io_mux_reg.h"
#include "sdkconfig.h"
#include "soc/spi_periph.h"
// All the tests using the header should use this definition as much as possible,
// so that the working host can be changed easily in the future.