Skip to content
Snippets Groups Projects
Commit 1b9fc64d authored by Maxim's avatar Maxim Committed by Scott Lahteine
Browse files

Add M997 support for SKR PRO 1.1 (#15394)

parent f57ce2b4
No related branches found
No related tags found
No related merge requests found
...@@ -112,4 +112,9 @@ uint16_t HAL_adc_get_result() { ...@@ -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(); ...@@ -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);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment