Files
charge-controller-firmware/test/zephyr.h
T
Martin Jäger d283436747 Move ADC peripheral setup to devicetree
Remove the ADC channel configuration from the board.h files and use new
DT macros to configure the ADC peripheral based on board.dts only.
2020-07-20 09:07:31 +02:00

22 lines
407 B
C

/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2020 Martin Jäger / Libre Solar
*/
/**
* @file
*
* @brief Mock necessary functions and generated Devicetree or Kconfig defines from Zephyr
* for unit tests
*/
#include "devicetree_mock.h"
#ifndef __deprecated
#define __deprecated __attribute__((deprecated))
#endif
#ifndef __weak
#define __weak __attribute__((__weak__))
#endif