STM32F407xx-define (and small clean-up) pull request
This commit is contained in:
parent
5506d6ad6a
commit
3a1eb92109
|
@ -13,8 +13,8 @@ rem magic once needed
|
|||
call update_version.bat
|
||||
|
||||
echo Starting compilation
|
||||
rem the important piece
|
||||
make
|
||||
rem the important piece (pass external args if needed)
|
||||
make %1 %2 %3
|
||||
|
||||
rem cd build
|
||||
rem if not exist rusefi.hex echo "compilation failed"
|
||||
|
|
|
@ -3,3 +3,6 @@ BOARDSRC = $(PROJECT_DIR)/config/boards/ST_STM32F4/board.c
|
|||
|
||||
# Required include directories
|
||||
BOARDINC = $(PROJECT_DIR)/config/boards/ST_STM32F4
|
||||
|
||||
# MCU defines
|
||||
DDEFS += -DSTM32F407xx -DSTM32F40_41xxx
|
||||
|
|
|
@ -263,10 +263,6 @@ void prepareVoidConfiguration(engine_configuration_s *activeConfiguration) {
|
|||
engineConfiguration->cj125ua = EFI_ADC_NONE;
|
||||
engineConfiguration->cj125ur = EFI_ADC_NONE;
|
||||
|
||||
boardConfiguration->idle.stepperDirectionPin = GPIO_UNASSIGNED;
|
||||
boardConfiguration->idle.stepperStepPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->stepperEnablePin = GPIO_UNASSIGNED;
|
||||
|
||||
boardConfiguration->idle.stepperDirectionPin = GPIO_UNASSIGNED;
|
||||
boardConfiguration->idle.stepperStepPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->stepperEnablePin = GPIO_UNASSIGNED;
|
||||
|
|
|
@ -93,8 +93,6 @@
|
|||
*/
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#define STM32F407xx
|
||||
#define STM32F40_41xxx
|
||||
#define assert_param(expr) ((void)0)
|
||||
|
||||
//#include "stm32f4xx_hal.h"
|
||||
|
|
|
@ -80,8 +80,6 @@
|
|||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
|
||||
#define STM32F407xx
|
||||
#define STM32F40_41xxx
|
||||
#define assert_param(expr) ((void)0)
|
||||
|
||||
#define HAL_FLASH_MODULE_ENABLED
|
||||
|
|
Loading…
Reference in New Issue