| Age | Commit message (Collapse) | Author |
|
|
|
|
|
One can instead lookup __name__ in the modules dict to get the value.
|
|
It's now used for more than just stream protocol (e.g. pin protocol), so
don't use false names.
|
|
|
|
Similar to recently added feature in unix port: if event triggers for an
objects, its polling flags are automatically reset, so it won't be polled
until they are set again explicitly.
|
|
This makes select.poll() interface fully compatible with CpYthon. Also, make
their numeric values of these options compatible with Linux (and by extension,
with iBCS2 standard, which jopefully means compatibility with other Unices too).
|
|
py/mphal.h contains declarations for generic mp_hal_XXX functions, such
as stdio and delay/ticks, which ports should provide definitions for. A
port will also provide mphalport.h with further HAL declarations.
|
|
|
|
See issue #699.
|
|
|
|
Remove include of stm32f4xx_hal.h, replace by include of MICROPY_HAL_H
where needed, and make it compile without float support. This makes
these 3 modules much more generic and usable by other ports.
|
|
This is just a clean-up of the code. Generated code is exactly the
same.
|
|
This is more efficient, as allows to use register calling convention.
If needed, a structure pointer can be passed as argument to pass more
data.
|
|
|