Fix NUCLEO_F767ZI build, add tests (#19746)
This commit is contained in:
parent
5247bb11f7
commit
7f83231385
1
.github/workflows/test-builds.yml
vendored
1
.github/workflows/test-builds.yml
vendored
|
@ -81,6 +81,7 @@ jobs:
|
|||
- STM32F103RET6_creality
|
||||
- LERDGEX
|
||||
- mks_robin_nano35
|
||||
- NUCLEO_F767ZI
|
||||
|
||||
# Put lengthy tests last
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#ifndef STM32F767xx
|
||||
#if NOT_TARGET(STM32F767xx)
|
||||
#error "Oops! Select an STM32F767 environment"
|
||||
#endif
|
||||
|
||||
|
|
21
buildroot/tests/NUCLEO_F767ZI-tests
Normal file
21
buildroot/tests/NUCLEO_F767ZI-tests
Normal file
|
@ -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
|
Loading…
Reference in a new issue