Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃┕ Fix MCU check for STM32H7-based BTT Octopus Pro V1 #26831

Merged

Conversation

thisiskeithb
Copy link
Member

@thisiskeithb thisiskeithb commented Mar 2, 2024

Description

Due to our use of DRY in the pins files, there needs to be an additional target check in pins_BTT_OCTOPUS_V1_common.h for the env_validate.h include since Octopus Pro V1 ships with both STM32F4 & STM32H7 MCUs.

Note: I tried another method by removing the env_validate.h includes in both the Octopus board common files and defining them in individual pins files, but there are still nested pin includes that that end up failing due to mismatched MCUs.

Requirements

STM32H7-based BTT Octopus Pro V1

Benefits

STM32H7-based BTT Octopus Pro V1 configs will build

Related Issues

@thisiskeithb thisiskeithb linked an issue Mar 2, 2024 that may be closed by this pull request
@thisiskeithb thisiskeithb changed the title Fix MCU check for STM32H7-based BTT Octopus Pro V1 馃┕ Fix MCU check for STM32H7-based BTT Octopus Pro V1 Mar 8, 2024
Co-authored-by: ellensp <530024+ellensp@users.noreply.github.com>
@sjasonsmith sjasonsmith merged commit a3434de into MarlinFirmware:bugfix-2.1.x Apr 7, 2024
61 checks passed
@thisiskeithb thisiskeithb deleted the pr/fix_octopus_env_check branch April 7, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Broken env_validate.h check for BTT Octopus Pro V1
2 participants