Skip to content

Commit ab78c34

Browse files
Seppo TakaloCruz Monrreal II
authored andcommitted
Add dummy delay loop for ARMC6
This needs proper implementation later.
1 parent 3ab9c41 commit ab78c34

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/802.15.4_RF/atmel-rf-driver/source/NanostackRfPhyAtmel.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,13 @@ __asm static void delay_loop(uint32_t count)
321321
BCS %BT1
322322
BX lr
323323
}
324+
#elif defined (__ARMCC_VERSION) /* ARMC6 */
325+
void delay_loop(uint32_t count)
326+
{
327+
// TODO: This needs implementation
328+
while(count--)
329+
;;
330+
}
324331
#elif defined (__ICCARM__)
325332
static void delay_loop(uint32_t count)
326333
{

0 commit comments

Comments
 (0)