circuitpython/stmhal
Paul Sokolovsky 9e0478a902 stmhal/diskio: Add provision for default returns for ioctl INIT/SEC_SIZE.
If None was returned for such requests (which likely means that user simply
didn't handle them), it means successful init and default sector size of 512
bytes respectively. This makes only BP_IOCTL_SEC_COUNT a mandatory request,
and thus re-establishes parity with old interface, where only .count() is
mandatory().
2016-02-14 20:34:30 +02:00
..
boards stmhal: NUCLEO 401 - Add definitions for I2C2 and I2C3 2016-02-10 21:26:14 -08:00
cmsis stmhal/cmsis: Replace non-ascii apostrophe with ascii apostrophe. 2015-08-07 08:46:43 +01:00
hal stmhal: Update HALCOMMITS due to change to hal. 2016-01-30 00:05:46 +00:00
usbdev stmhal: add option to query for the current usb mode 2015-09-03 23:30:43 +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
accel.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
accel.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
adc.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00: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
builtin_open.c stmhal/file: Recast as "FatFs file" class, to support other VFS types. 2016-02-07 01:25:28 +02:00
can.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00: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 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
dac.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
diskio.c stmhal/diskio: Add provision for default returns for ioctl INIT/SEC_SIZE. 2016-02-14 20:34:30 +02:00
dma.c stmhal: Add pyb.irq_stats() to get statistics about IRQ calls. 2015-12-22 21:00:20 +00:00
dma.h stmhal: Extend SPI support to fully support all SPI devices on STM32F429. 2015-12-16 00:38:36 +00:00
extint.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
extint.h stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7 2015-08-07 08:52:42 +01:00
fatfs_port.c extmod/fsusermount: Support mounting of multiple block devices. 2016-02-10 23:40:10 +00:00
ffconf.c extmod/fsusermount: Support mounting of multiple block devices. 2016-02-10 23:40:10 +00:00
file.c stmhal/file: Paranoid compiler warnings cleanness. 2016-02-14 19:15:22 +02:00
file.h stmhal/file: Recast as "FatFs file" class, to support other VFS types. 2016-02-07 01:25:28 +02:00
flash.c stmhal: Add support for the STM32F429I-DISCO kit by STMicro. 2015-11-25 23:53:26 +00: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
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 Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. 2015-10-12 00:06:25 +01:00
i2c.c stmhal: Add a function for setting the pin alternate function 2016-02-10 21:20:14 -08: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: Add pyb.irq_stats() to get statistics about IRQ calls. 2015-12-22 21:00:20 +00:00
irq.h stmhal: Add pyb.irq_stats() to get statistics about IRQ calls. 2015-12-22 21:00:20 +00:00
lcd.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
lcd.h stmhal: Update and improve LCD driver. 2014-06-15 00:41:47 +01:00
led.c stmhal: Add PWM capability for LED(3) and LED(4) on pyboards. 2016-01-29 22:44:43 +00: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 extmod/fsusermount: Support mounting of multiple block devices. 2016-02-10 23:40:10 +00:00
make-stmconst.py stmhal: Make stm constants big ints when they don't fit in a small int. 2016-01-07 16:34:11 +00:00
Makefile stmhal/file: Recast as "FatFs file" class, to support other VFS types. 2016-02-07 01:25:28 +02:00
memory.h stmhal: Enable uhashlib module; add heapq, hashlib weak links. 2014-11-27 17:54:37 +00:00
modmachine.c stmhal: Make TIM3 available for use by the user. 2016-01-29 22:31:56 +00:00
modmachine.h stmhal: Early version of machine module for stmhal. 2015-10-19 21:12:42 +01: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 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
modnwwiznet5k.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
modpyb.c stmhal: Expose flash and SD card as proper objects with block protocol. 2016-02-10 23:40:10 +00:00
modstm.c stmhal: Make stm constants big ints when they don't fit in a small int. 2016-01-07 16:34:11 +00:00
moduos.c extmod/fsusermount: Support mounting of multiple block devices. 2016-02-10 23:40:10 +00:00
moduselect.c stmhal/moduselect: Implement "oneshot polling" flag. 2015-12-16 11:07:58 +00:00
modusocket.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
modutime.c stmhal: Implement delayed RTC initialization with LSI fallback. 2015-11-23 23:23:07 +00:00
mpconfigport.h extmod/fsusermount: Support mounting of multiple block devices. 2016-02-10 23:40:10 +00:00
mpconfigport.mk stmhal: Initial implementation of cc3k module and driver. 2014-09-26 00:57:26 +01:00
mphalport.c stmhal: Add a function for setting the pin alternate function 2016-02-10 21:20:14 -08:00
mphalport.h stmhal: Add a function for setting the pin alternate function 2016-02-10 21:20:14 -08:00
pendsv.c stmhal: Add symbolic #defines for interrupt levels in irq.h. 2015-11-01 23:23:39 +00:00
pendsv.h stmhal: Remove some unnecessary declarations, purely for cleanup. 2015-03-20 22:27:34 +00:00
pin_defs_stmhal.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
pin_defs_stmhal.h stmhal: Add STM32F7DISC and associated changes. 2015-07-30 00:38:32 +01:00
pin_named_pins.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
pin.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
pin.h stmhal: Add a function for setting the pin alternate function 2016-02-10 21:20:14 -08:00
portmodules.h stmhal: Implement os.dupterm (was pyb.repl_uart). 2015-10-19 21:57:41 +01:00
pybcdc.inf_template Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. 2015-10-12 00:06:25 +01:00
pybioctl.h stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants. 2015-11-09 22:10:31 +02:00
pybstdio.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
qstrdefsport.h stmhal: Expose flash and SD card as proper objects with block protocol. 2016-02-10 23:40:10 +00:00
rng.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
rng.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
rtc.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
rtc.h stmhal: Add rtc.init() method to force RTC to re-initialise. 2015-12-04 12:05:05 +00:00
sdcard.c extmod/fsusermount: Move BP_IOCTL_xxx constants to fsusermount.h. 2016-02-10 23:40:35 +00:00
sdcard.h extmod/fsusermount: Support mounting of multiple block devices. 2016-02-10 23:40:10 +00:00
servo.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
servo.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
spi.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
spi.h stmhal: Extend SPI support to fully support all SPI devices on STM32F429. 2015-12-16 00:38:36 +00:00
startup_stm32.S stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7 2015-08-07 08:52:42 +01:00
stm32_it.c stmhal: Make TIM3 available for use by the user. 2016-01-29 22:31:56 +00:00
stm32_it.h stmhal: Enable two USB phys to be supported together. 2015-12-09 09:56:36 +00:00
storage.c extmod/fsusermount: Move BP_IOCTL_xxx constants to fsusermount.h. 2016-02-10 23:40:35 +00:00
storage.h extmod/fsusermount: Support mounting of multiple block devices. 2016-02-10 23:40:10 +00:00
system_stm32.c stmhal: Implement delayed RTC initialization with LSI fallback. 2015-11-23 23:23:07 +00:00
systick.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01: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: Add PWM capability for LED(3) and LED(4) on pyboards. 2016-01-29 22:44:43 +00:00
timer.h stmhal: Add PWM capability for LED(3) and LED(4) on pyboards. 2016-01-29 22:44:43 +00:00
uart.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
uart.h stmhal: uart.any() function now returns number of bytes available. 2015-11-30 13:07:20 +00:00
usb.c py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
usb.h stmhal: Enable two USB phys to be supported together. 2015-12-09 09:56:36 +00:00
usbd_cdc_interface.c stmhal: Make TIM3 available for use by the user. 2016-01-29 22:31:56 +00:00
usbd_cdc_interface.h stmhal: Make USB CDC driver use SOF instead of TIM3 for outgoing data. 2016-01-29 15:21:43 +00:00
usbd_conf.c stmhal: Make USB CDC driver use SOF instead of TIM3 for outgoing data. 2016-01-29 15:21:43 +00:00
usbd_conf.h stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
usbd_desc.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
usbd_desc.h stmhal: Fix USB CDC-only mode under Windows. 2015-10-09 00:18:01 +01: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: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 2016-01-11 00:49:27 +00:00
usrsw.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00