Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/teensy/teensy_hal.c

17 lines
211 B
C
Raw Normal View History

Updated teensy to build. Refactored some stmhal files which are shared with teensy.
2014-06-15 22:33:14 -07:00
#include <stdio.h>
#include <stdint.h>
#include "mpconfig.h"
#include "Arduino.h"
Merge branch 'teensy-new' of github.com:dhylands/micropython into dhylands-teensy-new 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.
2014-07-02 13:42:37 +01:00
#include MICROPY_HAL_H
Updated teensy to build. Refactored some stmhal files which are shared with teensy.
2014-06-15 22:33:14 -07:00
uint32_t HAL_GetTick(void) {
Added pyb.elapsed_millis and pyb.elapsed_micros tested using: stmhal: https://github.com/dhylands/upy-examples/blob/master/elapsed.py teensy: https://github.com/dhylands/upy-examples/blob/master/teensy/elapsed.py
2014-09-28 11:21:13 -07:00
return millis();
Updated teensy to build. Refactored some stmhal files which are shared with teensy.
2014-06-15 22:33:14 -07:00
}
void HAL_Delay(uint32_t Delay) {
delay(Delay);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 61ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API