Damien George
ca5f8975fa
lib/stm32lib: Update library to fix F7 MMC capacity calculation.
2019-04-01 17:04:43 +11:00
Damien George
350dbb89e6
lib/oofatfs: Update oofatfs library to fix issue with logic not.
...
From https://github.com/micropython/oofatfs , branch work-R0.13c,
commit 3b4ee5a646af2769b3dddfe17d5d866233c1e45b.
2019-03-07 15:03:09 +11:00
Damien George
7eadcaa8c6
lib/oofatfs: Update ffconf.h config for new oofatfs version.
2019-03-05 15:56:39 +11:00
Damien George
1a24bac6cb
lib/oofatfs: Update oofatfs library to R0.13c working branch.
...
From https://github.com/micropython/oofatfs , branch work-R0.13c,
commit cb05c9486d3b48ffd6bd7542d8dbbab4b1caf790.
Large code pages (932, 936, 949, 950) have been removed from ffunicode.c
because they were not included in previous versions here.
2019-03-05 15:56:39 +11:00
Damien George
b6791ffbbe
lib/netutils: Add function to print tracing info for Ethernet frames.
2019-02-26 23:32:19 +11:00
Mike Causer
812969d615
all: Change PYB message prefix to MPY.
...
Replaces "PYB: soft reboot" with "MPY: soft reboot", etc.
Having a consistent prefix across ports reduces the difference between
ports, which is a general goal. And this change won't break pyboard.py
because that tool only looks for "soft reboot".
2019-02-12 15:18:33 +11:00
Damien George
8d1275ec0f
lib/utils/gchelper: Add gchelper.h header file for assembler functions.
2019-02-12 14:37:41 +11:00
Damien George
f608f54ab0
lib/utils/gchelper_m3: Add gc_helper_get_sp() function.
2019-02-12 14:37:01 +11:00
Damien George
90e1303b2d
lib/utils/gchelper_m3: Add license header and clean up code.
...
This file generates the same code with the cortex-m3 and cortex-m4
assembler directive, so use cortex-m3 to support more CPUs.
2019-02-12 14:16:24 +11:00
Damien George
e6d97e8a0b
stm32: Move gchelper assembler code to lib/utils for use by other ports.
2019-02-12 14:11:21 +11:00
Damien George
7bbde67cb2
lib/utils/printf: Exclude __GI_vsnprintf alias for gcc 9 and above.
...
See issue #4457 .
2019-02-06 01:12:51 +11:00
Damien George
8faf17b93c
lib/nrfx: Upgrade to nrfx v1.3.1.
2019-01-31 17:38:13 +11:00
Damien George
1fa8f977f5
lib/utils/pyexec: Implement paste mode with event driven REPL.
2019-01-28 23:00:19 +11:00
Damien George
f874e8184c
lib/stm32lib: Update library to get F413 BOR defs and fix gcc 8 warning.
2019-01-24 11:33:59 +11:00
Tobias Badertscher
06236bf28e
lib/utils: Add generic MicroPython IRQ helper functions.
...
Initial implementation of this is taken from the cc3200 port.
2018-12-29 17:08:55 +11:00
Damien George
f5d46a88aa
lib/utils/pyexec: Forcefully unlock the heap if locked and REPL active.
...
Otherwise there is really nothing that can be done, it can't be unlocked by
the user because there is no way to allocate memory to execute the unlock.
See issue #4205 and #4209 .
2018-10-13 16:21:08 +11:00
Damien George
8960a28238
lib/libm/math: Add implementation of __signbitf, if needed by a port.
2018-09-27 15:21:04 +10:00
Damien George
4c08932e73
lib/libm/math: Fix int type in float union, uint64_t should be uint32_t.
...
A float is 32-bits wide.
2018-09-27 15:19:53 +10:00
Damien George
5f92756c2c
lib/stm32lib: Update library to fix issue with filling USB TX FIFO.
2018-09-26 12:00:25 +10:00
Andrew Leech
57a73973ad
lib/libm_dbl: Add implementation of copysign() for DEBUG builds.
...
This provides a double variant of the float copysignf from libm/math.c
which is required for DEBUG=1 builds when MICROPY_FLOAT_IMPL=double
2018-09-20 16:46:19 +10:00
Damien George
b9a133e5ad
lib/libm/wf_tgamma: Fix tgammaf handling of -inf, should return nan.
2018-09-04 17:00:35 +10:00
Damien George
afc7ddca31
lib/libm/math: Make tanhf more efficient and handle large numbers.
...
Prior to this patch tanhf(large number) would return nan due to inf/inf.
2018-09-04 17:00:30 +10:00
Damien George
0b239d458c
lib/libm_dbl/tanh: Make tanh more efficient and handle large numbers.
...
Prior to this patch tanh(large number) would return nan due to inf/inf.
2018-09-04 16:57:46 +10:00
Damien George
da2d2b6d88
py/mpconfig.h: Introduce MICROPY_DEBUG_PRINTER for debugging output.
...
This patch in effect renames MICROPY_DEBUG_PRINTER_DEST to
MICROPY_DEBUG_PRINTER, moving its default definition from
lib/utils/printf.c to py/mpconfig.h to make it official and documented, and
makes this macro a pointer rather than the actual mp_print_t struct. This
is done to get consistency with MICROPY_ERROR_PRINTER, and provide this
macro for use outside just lib/utils/printf.c.
Ports are updated to use the new macro name.
2018-08-02 14:04:44 +10:00
Glenn Ruben Bakke
ab815788da
nrf: Upgrade to nrfx 1.1.0
2018-07-18 17:12:26 +10:00