But does I need to do more than define STM32F7 in global.h?
Yes, much more changes.
I see now the last time I compiled i changed Rusefi.mk:
ifeq ("$(wildcard $(RULESFILE))","")
$(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
PROJECT_BOARD=NUCLEO_F767
PROJECT_CPU=ST_STM32F7
EXTRA_PARAMS="-DDUMMY -DSTM32F767xx -DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_CHECKS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE"
DEBUG_LEVEL_OPT="-O2"
The command line always give a pipe error, but window closes no matter if I add pause to the file.
You are not running command line, you are clicking on the .bat file in your File Explorer. Stop double-clicking on the .bat file in your File Explorer. Launch https://www.lifewire.com/how-to-open-command-prompt-2618089 "command prompt". Move your mouse away. Learn how to use command prompt. Learn how to "cd", learn how to install cygwin and have "make" on command prompt and how to adjust your PATH.
The command line always give a pipe error, but window closes no matter if I add pause to the file.
You are not running command line, you are clicking on the .bat file in your File Explorer. Stop double-clicking on the .bat file in your File Explorer. Launch https://www.lifewire.com/how-to-open-command-prompt-2618089 "command prompt". Move your mouse away. Learn how to use command prompt. Learn how to "cd", learn how to install cygwin and have "make" on command prompt and how to adjust your PATH.
Actually I am using command window.
I used that for my computer all my youth before windows.
Along with my Commodore 64
It's the Cygwin part I have missed.
Re: Issue compiling for STM32F767
Posted: Fri Feb 01, 2019 1:32 am
by AndreyB
Cygwin is what gives you 'make' command since 'make' is how you compile rusEfi