Add M997 support for SKR PRO 1.1 (#15394)
This commit is contained in:
parent
f57ce2b40a
commit
1b9fc64d8a
|
@ -112,4 +112,9 @@ uint16_t HAL_adc_get_result() {
|
||||||
return HAL_adc_result;
|
return HAL_adc_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void flashFirmware(int16_t value) {
|
||||||
|
UNUSED(value);
|
||||||
|
NVIC_SystemReset();
|
||||||
|
}
|
||||||
|
|
||||||
#endif // ARDUINO_ARCH_STM32 && !STM32GENERIC
|
#endif // ARDUINO_ARCH_STM32 && !STM32GENERIC
|
||||||
|
|
|
@ -198,3 +198,6 @@ uint16_t HAL_adc_get_result();
|
||||||
#define GET_PIN_MAP_PIN(index) index
|
#define GET_PIN_MAP_PIN(index) index
|
||||||
#define GET_PIN_MAP_INDEX(pin) pin
|
#define GET_PIN_MAP_INDEX(pin) pin
|
||||||
#define PARSED_PIN_INDEX(code, dval) parser.intval(code, dval)
|
#define PARSED_PIN_INDEX(code, dval) parser.intval(code, dval)
|
||||||
|
|
||||||
|
#define PLATFORM_M997_SUPPORT
|
||||||
|
void flashFirmware(int16_t value);
|
||||||
|
|
Loading…
Reference in a new issue