Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#51 from CELLINKAB/issues/2compile
Browse files Browse the repository at this point in the history
Compile both V1 and V1.1
  • Loading branch information
edmundwatson authored Dec 15, 2022
2 parents ec852db + 9cdcccd commit 0f97dd3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipeline {
axes {
axis {
name 'BOARD'
values 'MYCORRHIZA_V1'
values 'MYCORRHIZA_V1','MYCORRHIZA_V1_1'
}
}
stages {
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@
#elif MB(MYCORRHIZA_V1)
#include "stm32f7/pins_MYCORRHIZA_V1.h" // STM32F7 env:MYCORRHIZA_V1
#elif MB(MYCORRHIZA_V1_1)
#include "stm32f7/pins_MYCORRHIZA_V1_1.h" // STM32F7 env:MYCORRHIZA_V1
#include "stm32f7/pins_MYCORRHIZA_V1_1.h" // STM32F7 env:MYCORRHIZA_V1_1
#elif MB(BTT_SKR_SE_BX)
#include "stm32h7/pins_BTT_SKR_SE_BX.h" // STM32H7 env:BTT_SKR_SE_BX
#elif MB(TEENSY41)
Expand Down
12 changes: 11 additions & 1 deletion ini/stm32f7.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ board = remram_v1
platform = ${common_stm32.platform}
extends = stm32_variant
board = marlin_mycorrhiza_v1
build_flags = ${stm32_variant.build_flags} -DTIMER_SERIAL=TIM9 -DHAVE_SW_SERIAL -DHAL_UART_MODULE_ENABLED -DHAL_USART_MODULE_ENABLED -O0 -DMYCO_BUILD
build_flags = ${stm32_variant.build_flags} -DTIMER_SERIAL=TIM9 -DHAVE_SW_SERIAL -DHAL_UART_MODULE_ENABLED -DHAL_USART_MODULE_ENABLED -O0 -DMYCO_BUILD
debug_tool = stlink
upload_protocol = stlink

# Cellink MYCORRHIZA
#
[env:MYCORRHIZA_V1_1]
platform = ${common_stm32.platform}
extends = stm32_variant
board = marlin_mycorrhiza_v1
build_flags = ${stm32_variant.build_flags} -DTIMER_SERIAL=TIM9 -DHAVE_SW_SERIAL -DHAL_UART_MODULE_ENABLED -DHAL_USART_MODULE_ENABLED -O0 -DMYCO_BUILD -DMOTHERBOARD=BOARD_MYCORRHIZA_V1_1
debug_tool = stlink
upload_protocol = stlink

0 comments on commit 0f97dd3

Please sign in to comment.