micropython/stmhal
Paul Sokolovsky 16d42368a6 stmhal/modmachine: Initial attempt to add I2C & SPI classes.
In new hardware API, these classes implement master modes of interfaces,
and "mode" parameter is not accepted. Trying to implement new HW API
in terms of older pyb module leaves variuos corner cases:

In new HW API, I2C(1) means "I2C #1 in master mode" (? depends on
interpretation), while in old API, it means "I2C #1, with no settings
changes".

For I2C class, it's easy to make mode optional, because that's last
positional param, but for SPI, there's "baudrate" after it (which
is inconsistent with I2C, which requires "baudrate" to be kwonly-arg).
2015-11-14 16:14:08 +02:00
..
boards all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03: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 lib/utils/printf: Move from stmhal/ . 2015-11-10 18:58:58 +02:00
accel.c stmhal: Make accel AVDD pin configurable via mpconfigboard.h. 2015-10-29 22:40:42 +00:00
accel.h
adc.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
adc.h
autoflash
bufhelper.c
bufhelper.h
can.c stmhal/can: Fix a bug in filter handling. 2015-11-02 23:09:49 +00:00
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: FatFS configuration moved to the library folder. 2015-11-08 22:21:17 +00:00
dma.c stmhal: Add symbolic #defines for interrupt levels in irq.h. 2015-11-01 23:23:39 +00:00
dma.h
extint.c stmhal: Add symbolic #defines for interrupt levels in irq.h. 2015-11-01 23:23:39 +00: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: FatFS configuration moved to the library folder. 2015-11-08 22:21:17 +00:00
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
fsusermount.h
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/modmachine: Initial attempt to add I2C & SPI classes. 2015-11-14 16:14:08 +02:00
i2c.h
import.c
input.c
irq.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
irq.h stmhal: Add symbolic #defines for interrupt levels in irq.h. 2015-11-01 23:23:39 +00:00
lcd.c
lcd.h
led.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
led.h
lexerfatfs.c
main.c lib/pyexec: Move header pyexec.h from stmhal directory. 2015-11-09 13:13:09 +00:00
make-stmconst.py stmhal: Add missing regex property for parsing header comments 2015-11-06 23:32:55 +00:00
memory.h
modmachine.c stmhal/modmachine: Initial attempt to add I2C & SPI classes. 2015-11-14 16:14:08 +02: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 all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
modpyb.c lib/pyexec: Move header pyexec.h from stmhal directory. 2015-11-09 13:13:09 +00: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 stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants. 2015-11-09 22:10:31 +02:00
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: FatFS configuration moved to the library folder. 2015-11-08 22:21:17 +00:00
mpconfigport.mk
mphalport.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
mphalport.h all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
pendsv.c stmhal: Add symbolic #defines for interrupt levels in irq.h. 2015-11-01 23:23:39 +00:00
pendsv.h
pin.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
pin.h
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
pin_named_pins.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03: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/moduselect: Expose POLLIN/OUT/ERR/HUP constants. 2015-11-09 22:10:31 +02:00
rng.c
rng.h
rtc.c stmhal: Fix RTC code to work on the F7 2015-11-07 09:42:26 -08:00
rtc.h
sdcard.c stmhal: Enable sdcard on STM32F7DISC board. 2015-10-30 12:05:14 +00:00
sdcard.h
servo.c
servo.h
spi.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03: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: Print more information at HardFault time. 2015-11-07 13:59:00 +00:00
stm32_it.h
storage.c stmhal: Add symbolic #defines for interrupt levels in irq.h. 2015-11-01 23:23:39 +00:00
storage.h
system_stm32.c stmhal: Enable I & D caches for M7 2015-08-15 10:58:24 -07:00
systick.c
systick.h
timer.c stmhal: Add symbolic #defines for interrupt levels in irq.h. 2015-11-01 23:23:39 +00:00
timer.h
uart.c stmhal: Add symbolic #defines for interrupt levels in irq.h. 2015-11-01 23:23:39 +00:00
uart.h
usb.c stmhal: Fix USB_VCP.recv so that it returns actual amount of bytes read. 2015-10-25 21:43:07 +00:00
usb.h
usbd_cdc_interface.c stmhal: Typo fix in comment. 2015-10-24 21:58:58 +03:00
usbd_cdc_interface.h
usbd_conf.c stmhal: Add symbolic #defines for interrupt levels in irq.h. 2015-11-01 23:23:39 +00:00
usbd_conf.h
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
usbd_msc_storage.h
usrsw.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
usrsw.h