Files
charge-controller-firmware/test/main.cpp
T
Martin Jäger 2d74a3a554 Mbed support removed
Rationale: The support for both Zephyr and Mbed made the code confusing,
especially because of many ifdefs.

Zephyr RTOS is the future!
2020-04-04 08:21:43 +02:00

29 lines
572 B
C++

/*
* Copyright (c) 2018 Martin Jäger / Libre Solar
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "tests.h"
#ifdef __WIN32__
// The below lines are added to fix unit test compilation error in PIO.
// The Unit Test Framework uses these functions like a constructor/destructor.
// We can just define two empty functions with these names.
void setUp (void) {}
void tearDown (void) {}
#endif
int main()
{
daq_tests();
bat_charger_tests();
power_port_tests();
half_brigde_tests();
dcdc_tests();
device_status_tests();
load_tests();
}