Add M997 support and simple implementation for LPC176x (#13281)

This commit is contained in:
Chris Pepper
2019-03-02 02:11:50 +00:00
committed by Scott Lahteine
parent fa236e9718
commit b0553d2d97
5 changed files with 50 additions and 0 deletions

View File

@ -59,4 +59,8 @@ int16_t PARSED_PIN_INDEX(const char code, const int16_t dval) {
return ind > -2 ? ind : dval;
}
void flashFirmware(int16_t value) {
NVIC_SystemReset();
}
#endif // TARGET_LPC1768

View File

@ -154,3 +154,6 @@ int16_t PARSED_PIN_INDEX(const char code, const int16_t dval);
#define HAL_IDLETASK 1
void HAL_idletask(void);
#define PLATFORM_M997_SUPPORT
void flashFirmware(int16_t value);