update 2.0.x

MKS Robin Nano-s v1.3 support
This commit is contained in:
Sergey
2021-08-20 12:09:09 +03:00
parent fe39eefab5
commit e30d47d19b
197 changed files with 64771 additions and 687 deletions

View File

@@ -253,7 +253,7 @@ static void NVIC_SetPriorityGrouping(uint32_t PriorityGroup) {
reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk); /* clear bits to change */
reg_value = (reg_value |
((uint32_t)0x5FA << SCB_AIRCR_VECTKEY_Pos) |
(PriorityGroupTmp << 8)); /* Insert write key and priorty group */
(PriorityGroupTmp << 8)); /* Insert write key & priority group */
SCB->AIRCR = reg_value;
}