micropython/stmhal
Paul Sokolovsky bedab235f9 stmhal/uart: If char is not received within timeout, return EAGAIN error.
Instead of return 0, which means EOF. There's no good way to detect EOF on
continuously active bus like UART, and treat timeout as just temporary
unvailability of data. .read() method of UART object will return None in
this case (instead of 0, which again measn EOF). This is fully compliant
with unix port.
2015-10-20 00:27:07 +03:00
..
boards stmhal: Add support for STM32F411 Discovery Board (STM32F411E-DISCO). 2015-08-29 22:50:58 +01:00
cmsis stmhal/cmsis: Replace non-ascii apostrophe with ascii apostrophe. 2015-08-07 08:46:43 +01:00
hal stmhal: Add HALCOMMITS file with list of commits that touch the hal. 2015-08-03 00:55:36 +01:00
usbdev stmhal: add option to query for the current usb mode 2015-09-03 23:30:43 +01:00
usbhost
.gitignore
Makefile stmhal: Early version of machine module for stmhal. 2015-10-19 21:12:42 +01:00
accel.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
accel.h
adc.c stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable. 2015-08-03 00:14:48 +01:00
adc.h
autoflash
bufhelper.c
bufhelper.h
can.c
can.h
dac.c stmhal: Allow to set bits resolution for DAC; 8 is default, can have 12. 2015-10-13 14:33:04 +01:00
dac.h
diskio.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
dma.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
dma.h stmhal/dma.c: Modify dma_init() to accept init struct as an argument 2015-06-24 17:48:52 +01:00
extint.c stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7 2015-08-07 08:52:42 +01:00
extint.h stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7 2015-08-07 08:52:42 +01:00
ffconf.c stmhal: Put fs_user_mount pointer in root ptr section of global state. 2015-07-27 23:52:56 +01:00
ffconf.h
file.c py: Add stream_tell method, and use for unix and stmhal file tell. 2015-08-13 22:56:32 +01:00
file.h
flash.c stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7 2015-08-07 08:52:42 +01:00
flash.h
font_petme128_8x8.h
fsusermount.c stmhal: Put fs_user_mount pointer in root ptr section of global state. 2015-07-27 23:52:56 +01:00
fsusermount.h stmhal: Put fs_user_mount pointer in root ptr section of global state. 2015-07-27 23:52:56 +01:00
gccollect.c
gccollect.h
gchelper.s
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: Enable I2C support for F7 MCUs. 2015-08-05 23:38:24 +01:00
i2c.h
import.c
input.c
irq.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
irq.h
lcd.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
lcd.h
led.c stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable. 2015-08-03 00:14:48 +01:00
led.h
lexerfatfs.c
main.c stmhal: Early version of machine module for stmhal. 2015-10-19 21:12:42 +01:00
make-stmconst.py stmhal: Generate modstm constants per build 2015-08-07 08:46:43 +01:00
memory.h
modmachine.c stmhal: Early version of machine module for stmhal. 2015-10-19 21:12:42 +01:00
modmachine.h stmhal: Early version of machine module for stmhal. 2015-10-19 21:12:42 +01:00
modnetwork.c
modnetwork.h
modnwcc3k.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
modnwwiznet5k.c
modpyb.c stmhal: Implement os.dupterm (was pyb.repl_uart). 2015-10-19 21:57:41 +01:00
modstm.c stmhal: Generate modstm constants per build 2015-08-07 08:46:43 +01:00
moduos.c stmhal: Implement os.dupterm (was pyb.repl_uart). 2015-10-19 21:57:41 +01:00
moduselect.c
modusocket.c
modutime.c stmhal: Add sleep_{ms,us} and ticks_{ms,us,cpu,diff} to time module. 2015-10-19 21:45:51 +01:00
mpconfigport.h stmhal: Early version of machine module for stmhal. 2015-10-19 21:12:42 +01:00
mpconfigport.mk
mphal.c stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable. 2015-08-03 00:14:48 +01:00
mphal.h stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7 2015-08-07 08:52:42 +01:00
pendsv.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
pendsv.h
pin.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
pin.h
pin_defs_stmhal.c
pin_defs_stmhal.h stmhal: Add STM32F7DISC and associated changes. 2015-07-30 00:38:32 +01:00
pin_named_pins.c
portmodules.h stmhal: Implement os.dupterm (was pyb.repl_uart). 2015-10-19 21:57:41 +01:00
printf.c stmhal: Add STM32F7DISC and associated changes. 2015-07-30 00:38:32 +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
pybstdio.c
pyexec.c Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. 2015-10-12 00:06:25 +01:00
pyexec.h
qstrdefsport.h stmhal: Implement os.dupterm (was pyb.repl_uart). 2015-10-19 21:57:41 +01:00
rng.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
rng.h
rtc.c stmhal: Fix RTC.wakeup so it correctly calculates WUT for large periods. 2015-10-08 12:41:12 +01:00
rtc.h
sdcard.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
sdcard.h
servo.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
servo.h
spi.c stmhal: Use polling, not DMA, for 1 byte SPI transfers. 2015-09-15 20:45:37 +01:00
spi.h
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: Add debug capability to print out info about a hard fault. 2015-08-03 00:14:51 +01:00
stm32_it.h stmhal: Renamed startup/system/_it.[ch] file to generic names. 2015-07-30 00:38:29 +01:00
storage.c stmhal: Add STM32F7 support for USB serial and storage. 2015-08-03 00:39:27 +01:00
storage.h
system_stm32.c stmhal: Enable I & D caches for M7 2015-08-15 10:58:24 -07:00
systick.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
systick.h
timer.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01:00
timer.h stmhal: Allow ADC.read_timed to take Timer object in place of freq. 2015-07-22 19:41:13 +01:00
uart.c stmhal/uart: If char is not received within timeout, return EAGAIN error. 2015-10-20 00:27:07 +03:00
uart.h
usb.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
usb.h
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
usbd_conf.c stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 2015-07-30 00:38:25 +01: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 stmhal: Make USB serial number actually be unique. 2015-10-17 22:02:57 +01:00
usbd_desc.h stmhal: Fix USB CDC-only mode under Windows. 2015-10-09 00:18:01 +01:00
usbd_msc_storage.c
usbd_msc_storage.h
usrsw.c stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable. 2015-08-03 00:14:48 +01:00
usrsw.h