7a37f647a5
Conflicts: stmhal/pin_named_pins.c stmhal/readline.c Renamed HAL_H to MICROPY_HAL_H. Made stmhal/mphal.h which intends to define the generic Micro Python HAL, which in stmhal sits above the ST HAL.
17 lines
211 B
C
17 lines
211 B
C
#include <stdio.h>
|
|
#include <stdint.h>
|
|
|
|
#include "mpconfig.h"
|
|
|
|
#include "Arduino.h"
|
|
|
|
#include MICROPY_HAL_H
|
|
|
|
uint32_t HAL_GetTick(void) {
|
|
return micros();
|
|
}
|
|
|
|
void HAL_Delay(uint32_t Delay) {
|
|
delay(Delay);
|
|
}
|