stm32f1: Convert code to use armcm_timer

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-01-31 23:18:11 -05:00
parent eb8db46ca3
commit 9f3517fdc7
4 changed files with 5 additions and 123 deletions

View File

@@ -2,6 +2,8 @@
#define __STM32F1_INTERNAL_H
// Local definitions for STM32F1 code
#include "stm32f1xx.h"
#define GPIO(PORT, NUM) (((PORT)-'A') * 16 + (NUM))
#define GPIO2PORT(PIN) ((PIN) / 16)