Migrate to Chibios 18 stable #631

removing unused ChibiOS references
This commit is contained in:
rusefi 2019-02-03 21:19:26 -05:00
parent 5fcbfa3fb2
commit eb96dafa42
2 changed files with 3 additions and 21 deletions

View File

@ -4,16 +4,6 @@
#
PROJECT_DIR = ../firmware
CHIBIOS=$(PROJECT_DIR)/ChibiOS4
STREAMSFILE = $(CHIBIOS)/os/hal/include/hal_streams.h
ifeq ("$(wildcard $(STREAMSFILE))","")
$(info Invoking "git submodule update --init")
$(shell git submodule update --init)
$(info Invoked "git submodule update --init")
# make is not happy about newly checked out module for some reason but next invocation would work
$(error Please run 'make' again)
endif
# Compiler options here.
ifeq ($(USE_OPT),)
@ -162,13 +152,9 @@ INCDIR = . \
$(PROJECT_DIR)/controllers/trigger \
$(PROJECT_DIR)/controllers/trigger/decoders \
$(PROJECT_DIR)/ext_algo \
$(CHIBIOS)/os/rt/include \
$(CHIBIOS)/os/rt/various \
$(CHIBIOS)/os/hal/lib/streams \
$(CHIBIOS)/os/hal/include \
$(PROJECT_DIR)/hw_layer \
$(PROJECT_DIR)/hw_layer/algo \
$(PROJECT_DIR)/hw_layer/sensors/ \
$(PROJECT_DIR)/hw_layer/algo \
$(PROJECT_DIR)/hw_layer/sensors/ \
test_data_structures \
googletest/googlemock/include \
googletest/googletest \

View File

@ -22,11 +22,6 @@
#include "engine_test_helper.h"
#include "gtest/gtest.h"
typedef int32_t msg_t;
#include "hal_streams.h"
#include "memstreams.h"
int timeNowUs = 0;
efitimeus_t getTimeNowUs(void) {
@ -44,6 +39,7 @@ extern int revolutionCounterSinceBootForUnitTest;
int getRevolutionCounter(void) {
return revolutionCounterSinceBootForUnitTest;
}
extern bool printTriggerDebug;
GTEST_API_ int main(int argc, char **argv) {