Sanity-check illegal native USB (#20047)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#if NOT_TARGET(__STM32F1__, __STM32F4__)
|
||||
#error "Oops! Select an STM32F1/4 board in 'Tools > Board.'"
|
||||
#if NOT_TARGET(__STM32F1__)
|
||||
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -32,6 +32,8 @@
|
||||
#define BOARD_INFO_NAME "Chitu3D"
|
||||
#define DEFAULT_MACHINE_NAME "STM32F103RET6"
|
||||
|
||||
#define BOARD_NO_NATIVE_USB
|
||||
|
||||
// Enable I2C_EEPROM for testing
|
||||
//#define I2C_EEPROM
|
||||
|
||||
|
||||
Reference in New Issue
Block a user