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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NUCLEO_F767ZI build and add tests #19746

Merged
merged 4 commits into from
Oct 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
- STM32F103RET6_creality
- LERDGEX
- mks_robin_nano35
- NUCLEO_F767ZI

# Put lengthy tests last

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/stm32f7/pins_NUCLEO_F767ZI.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
#pragma once

#ifndef STM32F767xx
#if NOT_TARGET(STM32F767xx)
#error "Oops! Select an STM32F767 environment"
#endif

Expand Down
21 changes: 21 additions & 0 deletions buildroot/tests/NUCLEO_F767ZI-tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
#
# Build tests for NUCLEO_F767ZI
#

# exit on first failure
set -e

#
# Build with the default configurations
#
restore_configs
opt_set MOTHERBOARD BOARD_NUCLEO_F767ZI
opt_set SERIAL_PORT -1
opt_enable BLTOUCH Z_SAFE_HOMING SPEAKER
opt_set X_DRIVER_TYPE TMC2209
opt_set Y_DRIVER_TYPE TMC2208
exec_test $1 $2 "Mixed timer usage"

# clean up
restore_configs