Fixed Posix simulator.
This commit is contained in:
parent
9c73858f66
commit
3a5b92ea49
|
@ -1 +1 @@
|
|||
Subproject commit 5a09c430bb5e38957cb45ca307abaa24e2062eae
|
||||
Subproject commit 3619aac78fcf83f102df27bdf47a6e349aebc4aa
|
|
@ -93,7 +93,7 @@ include $(CHIBIOS)/os/various/shell/shell.mk
|
|||
ifeq ($(OS),Windows_NT)
|
||||
include ${CHIBIOS}/os/hal/ports/simulator/win32/platform.mk
|
||||
else
|
||||
include ${CHIBIOS}/os/hal/ports/simulator/Posix/platform.mk
|
||||
include ${CHIBIOS}/os/hal/ports/simulator/posix/platform.mk
|
||||
endif
|
||||
|
||||
include $(PROJECT_DIR)/util/util.mk
|
||||
|
@ -247,7 +247,11 @@ UINCDIR =
|
|||
ULIBDIR =
|
||||
|
||||
# List all user libraries here
|
||||
ifeq ($(OS),Windows_NT)
|
||||
ULIBS = -lws2_32
|
||||
else
|
||||
ULIBS =
|
||||
endif
|
||||
|
||||
#
|
||||
# End of user defines
|
||||
|
|
|
@ -7,6 +7,13 @@
|
|||
#include <math.h>
|
||||
|
||||
#include "efifeatures.h"
|
||||
|
||||
#if EFI_SIMULATOR
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#include "rusefi_enums.h"
|
||||
#include "auto_generated_enums.h"
|
||||
#include "obd_error_codes.h"
|
||||
|
|
Loading…
Reference in New Issue