Removed unused unittest scripts
This commit is contained in:
@@ -14,7 +14,6 @@ env_default = libresolar_0_10
|
||||
#env_default = cloudsolar_0_2
|
||||
#env_default = cloudsolar_0_4
|
||||
#env_default = pwm_0_1
|
||||
#env_default = unit_test_native
|
||||
|
||||
[common]
|
||||
|
||||
@@ -113,19 +112,3 @@ build_flags = ${common.build_flags}
|
||||
# -D PIO_FRAMEWORK_MBED_EVENTS_PRESENT
|
||||
lib_deps = ${common.lib_deps_external}
|
||||
lib_ignore = ${common.lib_ignore}
|
||||
|
||||
[env:unit_test_native]
|
||||
platform = native
|
||||
build_flags =
|
||||
# -Wl,-u_printf_float
|
||||
-std=c++11
|
||||
-D LITTLE_ENDIAN
|
||||
|
||||
[env:unit_test]
|
||||
framework = mbed
|
||||
board = nucleo_f072rb
|
||||
platform = ststm32
|
||||
test_transport = custom
|
||||
#test_port = COM7
|
||||
upload_protocol = stlink
|
||||
build_flags = ${common.build_flags}
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
#include "unittest_transport.h"
|
||||
/*#include "mbed.h"
|
||||
|
||||
|
||||
#define PIN_SWD_TX PA_9
|
||||
#define PIN_SWD_RX PA_10
|
||||
|
||||
Serial serial(PIN_SWD_TX, PIN_SWD_RX, "serial");
|
||||
|
||||
void unittest_uart_begin()
|
||||
{
|
||||
serial.baud(115200);
|
||||
serial.printf("\nSerial interface started...\n");
|
||||
freopen("/serial", "w", stdout); // retarget stdout
|
||||
}
|
||||
|
||||
void unittest_uart_putchar(int c)
|
||||
{
|
||||
serial.putc(c);
|
||||
}
|
||||
|
||||
void unittest_uart_flush(){}
|
||||
|
||||
void unittest_uart_end() {
|
||||
}
|
||||
*/
|
||||
@@ -1,17 +0,0 @@
|
||||
#ifndef UNITEST_TRANSPORT_H
|
||||
#define UNITEST_TRANSPORT_H
|
||||
/*
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
*/
|
||||
void unittest_uart_begin();
|
||||
void unittest_uart_putchar(int c);
|
||||
void unittest_uart_flush();
|
||||
void unittest_uart_end();
|
||||
/*
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
*/
|
||||
#endif // UNITEST_TRANSPORT_H
|
||||
Reference in New Issue
Block a user