fixing build - BOOTLOADER has it's special limitations
This commit is contained in:
parent
1b39480e64
commit
a829206947
|
@ -4,7 +4,7 @@ echo Starting compilation for Prometheus-405
|
|||
|
||||
set PROJECT_BOARD=Prometheus
|
||||
set PROMETHEUS_BOARD=405
|
||||
set EXTRA_PARAMS=-DDUMMY -DSTM32F405xx -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
|
||||
set EXTRA_PARAMS=-DDUMMY -DEFI_BOOTLOADER -DSTM32F405xx -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
|
||||
set BOOTLOADER_CODE_DESTINATION_PATH="../Prometheus/405"
|
||||
set DEBUG_LEVEL_OPT="-O2"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ echo Starting compilation for Prometheus-469
|
|||
|
||||
set PROJECT_BOARD=Prometheus
|
||||
set PROMETHEUS_BOARD=469
|
||||
set EXTRA_PARAMS=-DDUMMY -DSTM32F469xx -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
|
||||
set EXTRA_PARAMS=-DDUMMY -DEFI_BOOTLOADER -DSTM32F469xx -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
|
||||
set BOOTLOADER_CODE_DESTINATION_PATH="../Prometheus/469"
|
||||
set DEBUG_LEVEL_OPT="-O2"
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ echo Starting compilation for Discovery-407
|
|||
rem set PROJECT_BOARD=Prometheus
|
||||
rem set PROMETHEUS_BOARD=405
|
||||
rem set EXTRA_PARAMS=-DDUMMY -DSTM32F405xx -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
|
||||
set EXTRA_PARAMS=-DDUMMY -DEFI_BOOTLOADER
|
||||
set BOOTLOADER_CODE_DESTINATION_PATH=".."
|
||||
set BOOTLOADER_COMMENT="/*F4discovery*/"
|
||||
rem set DEBUG_LEVEL_OPT="-O2"
|
||||
|
|
|
@ -61,7 +61,9 @@ void efiSetPadMode(const char *msg, brain_pin_e brainPin, iomode_t mode)
|
|||
|
||||
//efiAssertVoid(OBD_PCM_Processor_Fault, pin != EFI_ERROR_CODE, "pin_error");
|
||||
|
||||
#if ! EFI_BOOTLOADER
|
||||
scheduleMsg(&logger, "%s on %s", msg, getBrain_pin_e(brainPin));
|
||||
#endif
|
||||
|
||||
wasUsed = brain_pin_markUsed(brainPin, msg);
|
||||
|
||||
|
|
Loading…
Reference in New Issue