micropython/stmhal
Damien George 6e1dfb0d1a stmhal: Reorganise code for parsing keyword args in I2C methods.
To make it the same as SPI and UART.
2015-06-22 23:46:22 +01:00
..
boards stmhal: Add support for UART5 2015-06-01 00:14:46 +01:00
cmsis stmhal: Update STM32Cube F4 HAL driver to V1.3.0. 2014-08-06 22:33:31 +01:00
hal stmhal: Adjust computation of SYSCLK to retain precision. 2014-10-04 01:54:02 +01:00
usbdev stmhal: In USB HID driver, make polling interval configurable. 2015-04-13 16:59:05 +01:00
usbhost Initial checkin with STM HAL 2014-03-11 23:55:41 -07:00
.gitignore stmhal: Add support for Espruino Pico board. 2015-04-18 21:40:59 +01:00
Makefile stmhal: Factor out DMA initialisation code from spi.c. 2015-06-10 14:01:44 +01:00
accel.c stmhal: Prefix includes with py/; remove need for -I../py. 2015-01-01 21:06:20 +00:00
accel.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
adc.c py/binary: Make return type of mp_binary_get_size size_t instead of int. 2015-05-17 18:12:19 +01:00
adc.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
autoflash Add device ID to autoflash script. 2014-05-02 23:03:23 +01:00
bufhelper.c py: Remove mp_obj_str_builder and use vstr instead. 2015-01-21 23:18:02 +00:00
bufhelper.h py: Remove mp_obj_str_builder and use vstr instead. 2015-01-21 23:18:02 +00:00
can.c stmhal: Remove PYBVxx defines and use config vars for UART/CAN names. 2015-05-27 16:51:04 +01:00
can.h stmhal: Remove PYBVxx defines and use config vars for UART/CAN names. 2015-05-27 16:51:04 +01:00
dac.c stmhal: Exclude code for those timers that don't exist in the hardware. 2015-04-18 21:40:58 +01:00
dac.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
diskio.c stmhal: Include fatfs headers using lib/fatfs prefix. 2015-03-04 20:35:41 +00:00
dma.c stmhal: Factor out DMA initialisation code from spi.c. 2015-06-10 14:01:44 +01:00
dma.h stmhal: Factor out DMA initialisation code from spi.c. 2015-06-10 14:01:44 +01:00
extint.c stmhal: Allow extint.c to compile without USB HS support. 2015-04-18 21:40:59 +01:00
extint.h stmhal: Collect all root pointers together in 1 place. 2015-01-07 23:38:50 +00:00
ffconf.c stmhal: Remove some unnecessary declarations, purely for cleanup. 2015-03-20 22:27:34 +00:00
ffconf.h lib: Update FatFs to R0.11. 2015-03-29 22:12:14 +01:00
file.c stmhal: Detect disk full condition 2015-05-24 14:07:11 +01:00
file.h stmhal: Declare variables extern in include files 2014-11-05 22:52:51 +00:00
flash.c stmhal: Add support for flash filesystem on F401 MCUs. 2015-04-18 21:40:59 +01:00
flash.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
font_petme128_8x8.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
fsusermount.c stmhal: Include fatfs headers using lib/fatfs prefix. 2015-03-04 20:35:41 +00:00
fsusermount.h stmhal: Add ability to mount custom block device. 2014-12-27 20:20:51 +00:00
gccollect.c stmhal: Collect all root pointers together in 1 place. 2015-01-07 23:38:50 +00:00
gccollect.h stmhal: Remove some unnecessary declarations, purely for cleanup. 2015-03-20 22:27:34 +00:00
gchelper.s REPl working on UART6 with STMHAL 2014-03-12 18:15:55 -07:00
help.c stmhal: Prefix includes with py/; remove need for -I../py. 2015-01-01 21:06:20 +00:00
i2c.c stmhal: Reorganise code for parsing keyword args in I2C methods. 2015-06-22 23:46:22 +01:00
i2c.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
import.c stmhal: Include fatfs headers using lib/fatfs prefix. 2015-03-04 20:35:41 +00:00
input.c stmhal: Make pybstdio usable by other ports, and use it. 2015-02-13 15:04:53 +00:00
irq.c stmhal: Prefix includes with py/; remove need for -I../py. 2015-01-01 21:06:20 +00:00
irq.h stmhal: Make pyb.[u]delay use systick with IRQs, busy loop otherwise. 2014-11-30 21:23:25 +00:00
lcd.c stmhal: Make LCD initialiser use board pin names instead of cpu names. 2015-04-18 21:40:58 +01:00
lcd.h stmhal: Update and improve LCD driver. 2014-06-15 00:41:47 +01:00
led.c stmhal: Make a HW config option for LED4 being controlled by PWM. 2015-04-18 21:40:58 +01:00
led.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
lexerfatfs.c stmhal: Remove some unnecessary declarations, purely for cleanup. 2015-03-20 22:27:34 +00:00
main.c stmhal: Move debug UART repl to after uart_init0 call. 2015-05-06 22:16:49 +01:00
make-stmconst.py stmhal: Add I2S2EXT and I2S3EXT constants to stm module. 2015-03-01 12:32:44 +00:00
memory.h stmhal: Enable uhashlib module; add heapq, hashlib weak links. 2014-11-27 17:54:37 +00:00
modnetwork.c lib: Move some common mod_network_* functions to lib/netutils. 2015-05-04 11:48:40 +01:00
modnetwork.h lib: Move some common mod_network_* functions to lib/netutils. 2015-05-04 11:48:40 +01:00
modnwcc3k.c lib: Move some common mod_network_* functions to lib/netutils. 2015-05-04 11:48:40 +01:00
modnwwiznet5k.c lib: Move some common mod_network_* functions to lib/netutils. 2015-05-04 11:48:40 +01:00
modpyb.c stmhal: Correctly clear wake-up flag before entering standby mode. 2015-03-22 21:52:20 +00:00
modstm.c py: Overhaul and simplify printf/pfenv mechanism. 2015-04-16 14:30:16 +00:00
modstmconst.gen.c stmhal: Add I2S2EXT and I2S3EXT constants to stm module. 2015-03-01 12:32:44 +00:00
moduos.c lib: Move time utility functions to common library. 2015-05-13 00:12:54 +01:00
moduselect.c py, unix, stmhal: Allow to compile with -Wshadow. 2015-01-20 11:55:10 +00:00
modusocket.c py: Add mp_obj_get_int_truncated and use it where appropriate. 2015-05-12 23:05:53 +01:00
modutime.c lib: Move time utility functions to common library. 2015-05-13 00:12:54 +01:00
mpconfigport.h stmhal: Implement sys.std{in,out,err}.buffer, for raw byte mode. 2015-05-24 14:31:33 +01:00
mpconfigport.mk stmhal: Initial implementation of cc3k module and driver. 2014-09-26 00:57:26 +01:00
mphal.c stmhal: Make pybstdio usable by other ports, and use it. 2015-02-13 15:04:53 +00:00
mphal.h stmhal: Make pybstdio usable by other ports, and use it. 2015-02-13 15:04:53 +00:00
pendsv.c stmhal: Make pendsv variable non-static so gcc-5 doesn't opt it away. 2015-05-23 17:42:58 +01:00
pendsv.h stmhal: Remove some unnecessary declarations, purely for cleanup. 2015-03-20 22:27:34 +00:00
pin.c stmhal: Use new %q format to print qstr's in a few more places. 2015-04-16 22:30:00 +01:00
pin.h Add Timer support (PWM, OC, IC) for stmhal and teensy 2014-09-19 09:26:13 -07:00
pin_defs_stmhal.c stmhal: Prefix includes with py/; remove need for -I../py. 2015-01-01 21:06:20 +00:00
pin_defs_stmhal.h Updated teensy to build. 2014-06-15 22:48:05 -07:00
pin_named_pins.c stmhal: Use new %q format to print qstr's in a few more places. 2015-04-16 22:30:00 +01:00
portmodules.h lib: Move time utility functions to common library. 2015-05-13 00:12:54 +01:00
printf.c py: Overhaul and simplify printf/pfenv mechanism. 2015-04-16 14:30:16 +00:00
pybcdc.inf_template Auto-generate the stmhal/pybcdc_inf header file from static files 2014-04-16 02:41:26 +01:00
pybioctl.h stmhal: Add polling ability to UART object. 2014-09-07 20:40:32 +01:00
pybstdio.c stmhal: Implement sys.std{in,out,err}.buffer, for raw byte mode. 2015-05-24 14:31:33 +01:00
pyexec.c pyexec: Make raw REPL work with event-driven version of pyexec. 2015-05-06 00:02:58 +01:00
pyexec.h pyexec: Make raw REPL work with event-driven version of pyexec. 2015-05-06 00:02:58 +01:00
qstrdefsport.h stmhal: Add os.rename function. 2015-05-12 23:43:11 +01:00
rng.c stmhal: Prefix includes with py/; remove need for -I../py. 2015-01-01 21:06:20 +00:00
rng.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
rtc.c sthmal/rtc.c: Add calibration() method to get/set RTC fine-tuning value. 2015-05-11 23:48:39 +01:00
rtc.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
sdcard.c stmhal: Remove some unnecessary declarations, purely for cleanup. 2015-03-20 22:27:34 +00:00
sdcard.h stmhal: Change 64-bit arithmetic to 32-bit for SD card block addressing. 2014-09-15 23:49:57 +01:00
servo.c py: Overhaul and simplify printf/pfenv mechanism. 2015-04-16 14:30:16 +00:00
servo.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
spi.c stmhal: Factor out DMA initialisation code from spi.c. 2015-06-10 14:01:44 +01:00
spi.h stmhal: For spi_init, add argument to select if NSS pin is enabled. 2014-09-30 22:36:47 +01:00
startup_stm32f40xx.s Initial checkin with STM HAL 2014-03-11 23:55:41 -07:00
stm32f4xx_it.c stmhal: Add support for UART5 2015-06-01 00:14:46 +01:00
stm32f4xx_it.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
storage.c stmhal: Add support for STM32F411 MCU. 2015-04-18 22:15:59 +01:00
storage.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
system_stm32f4xx.c stmhal: Make HSE PLL parameters configurable per board. 2015-04-18 21:40:58 +01:00
systick.c stmhal: Prefix includes with py/; remove need for -I../py. 2015-01-01 21:06:20 +00:00
systick.h stmhal: Make pyb.[u]delay use systick with IRQs, busy loop otherwise. 2014-11-30 21:23:25 +00:00
timer.c stmhal: Actually disable unhandled timer interrupts. 2015-04-28 00:17:05 -07:00
timer.h stmhal: Add pulse_width_ratio to timer channel object. 2014-09-21 22:54:02 +01:00
uart.c stmhal: Add support for UART5 2015-06-01 00:14:46 +01:00
uart.h stmhal: Remove PYBVxx defines and use config vars for UART/CAN names. 2015-05-27 16:51:04 +01:00
usb.c stmhal: Add readinto and readlines methods to sys.stdin, pyb.USB_VCP(). 2015-05-13 20:22:11 +01:00
usb.h stmhal: Properly define pyb.usb_mode() semantics. 2015-02-13 14:02:51 +00:00
usbd_cdc_interface.c stmhal: Break immediately from USB CDC busy wait loop if IRQs disabled. 2015-06-07 23:48:07 +01:00
usbd_cdc_interface.h stmhal: Remove some unnecessary declarations, purely for cleanup. 2015-03-20 22:27:34 +00:00
usbd_conf.c stmhal: Exclude USB HS code when USB HS mode not enabled. 2015-04-18 21:40:58 +01:00
usbd_conf.h stmhal: Prefix includes with py/; remove need for -I../py. 2015-01-01 21:06:20 +00:00
usbd_desc.c stmhal: Fix setting of VID. 2015-02-13 22:25:55 +00:00
usbd_desc.h stmhal: Properly define pyb.usb_mode() semantics. 2015-02-13 14:02:51 +00:00
usbd_msc_storage.c stmhal: Include fatfs headers using lib/fatfs prefix. 2015-03-04 20:35:41 +00:00
usbd_msc_storage.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
usrsw.c py: Overhaul and simplify printf/pfenv mechanism. 2015-04-16 14:30:16 +00:00
usrsw.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00