mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 12:50:30 +00:00
[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:
@@ -56,6 +56,11 @@ endfunction()
|
||||
macro(require_idf_targets)
|
||||
endmacro()
|
||||
|
||||
macro(idf_component_mock)
|
||||
idf_component_register(REQUIRES cmock)
|
||||
return()
|
||||
endmacro()
|
||||
|
||||
macro(idf_component_register)
|
||||
set(options)
|
||||
set(single_value KCONFIG KCONFIG_PROJBUILD)
|
||||
|
||||
Reference in New Issue
Block a user