Add dummy delay loop for ARMC6

This needs proper implementation later.
pull/7814/head
Seppo Takalo 2018-08-31 19:07:04 +03:00 committed by Cruz Monrreal II
parent 3ab9c41983
commit ab78c34345
1 changed files with 7 additions and 0 deletions

View File

@ -321,6 +321,13 @@ __asm static void delay_loop(uint32_t count)
BCS %BT1
BX lr
}
#elif defined (__ARMCC_VERSION) /* ARMC6 */
void delay_loop(uint32_t count)
{
// TODO: This needs implementation
while(count--)
;;
}
#elif defined (__ICCARM__)
static void delay_loop(uint32_t count)
{