micropython/stmhal
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
The first argument to the type.make_new method is naturally a uPy type,
and all uses of this argument cast it directly to a pointer to a type
structure.  So it makes sense to just have it a pointer to a type from
the very beginning (and a const pointer at that).  This patch makes
such a change, and removes all unnecessary casting to/from mp_obj_t.
2016-01-11 00:49:27 +00:00
..
boards stmhal: Change PLL configuration for STM32F7DISC. 2015-12-18 22:16:49 +00:00
cmsis
hal
usbdev
usbhost
.gitignore
Makefile stmhal: Make stm constants big ints when they don't fit in a small int. 2016-01-07 16:34:11 +00: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
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
autoflash
bufhelper.c
bufhelper.h
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
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
diskio.c extmod: Move fsusermount.c from stmhal for cross-port reuse. 2015-11-25 13:19:36 +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
ffconf.c extmod: Move fsusermount.c from stmhal for cross-port reuse. 2015-11-25 13:19:36 +02:00
file.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
file.h
flash.c stmhal: Add support for the STM32F429I-DISCO kit by STMicro. 2015-11-25 23:53:26 +00:00
flash.h
font_petme128_8x8.h
gccollect.c
gccollect.h
gchelper.s
help.c
i2c.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
i2c.h
import.c
input.c
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
led.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
led.h
lexerfatfs.c
main.c stmhal: Print exception information in nlr_jump_failed 2015-12-07 17:21:51 +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
memory.h
modmachine.c stmhal: Remove custom mod_machine_mem_get_{read,write}_addr functions. 2016-01-07 16:34:11 +00:00
modmachine.h
modnetwork.c
modnetwork.h
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: Add pyb.irq_stats() to get statistics about IRQ calls. 2015-12-22 21:00:20 +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: Move fsusermount.c from stmhal for cross-port reuse. 2015-11-25 13:19:36 +02: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 stmhal: Remove custom mod_machine_mem_get_{read,write}_addr functions. 2016-01-07 16:34:11 +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 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
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
pybcdc.inf_template
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 extmod/fsusermount: Move module qstrs to global pool from stmhal port. 2015-12-25 19:22:16 +02:00
rng.c
rng.h
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 stmhal: Add pyb.irq_stats() to get statistics about IRQ calls. 2015-12-22 21:00:20 +00:00
sdcard.h
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
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
stm32_it.c stmhal: Add pyb.irq_stats() to get statistics about IRQ calls. 2015-12-22 21:00:20 +00:00
stm32_it.h stmhal: Enable two USB phys to be supported together. 2015-12-09 09:56:36 +00:00
storage.c stmhal: Add support for the STM32F429I-DISCO kit by STMicro. 2015-11-25 23:53:26 +00:00
storage.h stmhal: Process storage idle tick handler in different slot to DMA. 2015-11-24 16:57:13 +00:00
system_stm32.c stmhal: Implement delayed RTC initialization with LSI fallback. 2015-11-23 23:23:07 +00:00
systick.c
systick.h
timer.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
timer.h
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
usbd_cdc_interface.h
usbd_conf.c stmhal: Enable two USB phys to be supported together. 2015-12-09 09:56:36 +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
usbd_msc_storage.c
usbd_msc_storage.h
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