diff options
Diffstat (limited to 'zephyr/test/drivers/include/stubs.h')
-rw-r--r-- | zephyr/test/drivers/include/stubs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zephyr/test/drivers/include/stubs.h b/zephyr/test/drivers/include/stubs.h index f942cd086a..448d6c883b 100644 --- a/zephyr/test/drivers/include/stubs.h +++ b/zephyr/test/drivers/include/stubs.h @@ -3,6 +3,9 @@ * found in the LICENSE file. */ +#ifndef __TEST_DRIVERS_STUBS_H +#define __TEST_DRIVERS_STUBS_H + #include "power.h" enum usbc_port { USBC_PORT_C0 = 0, USBC_PORT_C1, USBC_PORT_COUNT }; @@ -11,3 +14,12 @@ enum usbc_port { USBC_PORT_C0 = 0, USBC_PORT_C1, USBC_PORT_COUNT }; extern struct usb_mux usbc1_virtual_usb_mux; void set_mock_power_state(enum power_state state); + +/** + * @brief Set product ID that should be returned by board_get_ps8xxx_product_id + * + * @param product_id ID of PS8xxx product which is emulated + */ +void board_set_ps8xxx_product_id(uint16_t product_id); + +#endif /* __TEST_DRIVERS_STUBS_H */ |