Krzysztof Blazewicz
b04d4a5b13
lib/cmsis: upgrade CMSIS-CORE to V4.30
2016-09-30 16:19:03 +10:00
Krzysztof Blazewicz
fa6f774b2c
lib/cmsis: remove CMSIS-DSP headers, they are unused
2016-09-30 16:19:03 +10:00
Krzysztof Blazewicz
6aea34ad89
lib/cmsis: move CMSIS headers to lib/
...
Files in lib/cmsis are generic for all Cortex-M MCU's
files left in stmhal/cmsis are all STM32 specific.
2016-09-30 16:19:03 +10:00
Paul Sokolovsky
6ab2c5e6cc
lib/interrupt_char: Factor out typical Ctrl+C handling from esp8266 port.
...
Utility functions for keyboard interrupt handling, to be reused across
(baremetal) ports.
2016-09-29 10:15:38 -07:00
Delio Brignoli
e2ac8bb3f1
py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled.
...
This new config option allows to control whether MicroPython uses its own
internal printf or not (if not, an external one should be linked in).
Accompanying this new option is the inclusion of lib/utils/printf.c in the
core list of source files, so that ports no longer need to include it
themselves.
2016-09-05 12:18:53 +10:00
Paul Sokolovsky
bae62d9abe
lib/utils/pyexec: qstr_pool_info() requires size_t* parameters.
2016-08-30 00:58:42 +03:00
Paul Sokolovsky
b0e2106fb8
lib/berkeley-db-1.xx: Update to upstream, fixes MacOSX build.
2016-08-25 21:30:20 +03:00
Paul Sokolovsky
9897bcaa73
lib/utils/stdout_helpers: Fix function signature to match py/mphal.h.
2016-08-25 15:23:50 +03:00
Paul Sokolovsky
6d11918d49
lib/berkeley-db-1.xx: Update, sets default page size to 4096.
...
This both good default for 4096 and makes less chance to see overflow page
issues.
2016-08-09 02:09:59 +03:00
Paul Sokolovsky
2ec943284a
lib/berkeley-db-1.xx: Switch to "embedded" branch.
...
It allows to access files via a virtual method tables and thus can integrate
with MicroPython's stream objects.
2016-07-31 00:36:38 +03:00
Paul Sokolovsky
58d9d85a56
lib/abort_.c: Add prototype to make coverage build happy.
2016-07-30 17:52:06 +03:00
Paul Sokolovsky
c8b80e4740
lib/embed/abort_: Implementation of abort_() function raising uPy exception.
...
Helpful when porting existing C libraries to MicroPython. abort()ing in
embedded environment isn't a good idea, so when compiling such library,
-Dabort=abort_ option can be given to redirect standard abort() to this
"safe" version.
2016-07-30 00:35:50 +03:00
Paul Sokolovsky
43473372e6
lib/utils/stdout_helpers: Move from minimal/uart_extra.c for reuse.
2016-07-22 19:56:27 +03:00
Paul Sokolovsky
04c27e5eaa
lib/utils/pyexec: Use full path to readline.h header, per latest conventions.
2016-07-21 00:14:10 +03:00
Paul Sokolovsky
26d5e91bf3
lib/axtls: Update, fixes esp8266 build.
2016-07-11 17:00:42 +03:00
Paul Sokolovsky
7711d87563
lib/axtls: Upgrade to axTLS 1.5.4 + MicroPython patchset.
2016-07-10 23:24:43 +03:00
Damien George
7ddd85f933
lib/libm: Remove unused definition of "one".
2016-06-25 22:30:40 +01:00
Damien George
873853f1a8
lib/libm: Format code to pass gcc v6.1.1 warning.
...
gcc 6.1.1 warns when indentation is misleading, and in this case the
formatting of the code really is misleading. So adjust the formatting
to be clear of the meaning of the code.
2016-06-25 22:28:43 +01:00
Paul Sokolovsky
d402bf299d
lib/fatfs/option/ccsbcs: Follow uPy optional features model.
...
Don't error out when options is not what you support, just skip your code.
This allows to make FatFs support properly configurable.
2016-06-15 23:53:26 +03:00
Paul Sokolovsky
a1eab98eaf
lib/berkeley-db-1.xx: Update to upstream which builds for uPy.
...
Applied "official" patches and fixed various warnings when built with uPy's
compile options.
2016-06-15 04:09:29 +03:00
Paul Sokolovsky
06b783cf58
lib/berkeley-db-1.xx: Add Berkeley DB 1.85 as a submodule.
...
From https://github.com/pfalcon/berkeley-db-1.xx , which so far contains
pristine 1.85, but will get patches and compile warning fixes going
forward.
Berkeley DB 1.xx is BSD-licensed, and will form the basis of "btree"
simple database module.
2016-06-14 22:20:18 +03:00
Paul Sokolovsky
1bc8aa85a4
lib/timeutils/timeutils: Fix pedantic warning in coverage build.
2016-06-03 10:46:15 +03:00
Paul Sokolovsky
993cc3611a
lib/timeutils/timeutils: timeutils_mktime may accept negative time values.
...
And will normalize them.
2016-06-02 22:52:42 +03:00
Paul Sokolovsky
c6923f52f0
lib/libc/string0: Remove better-than-standard strncpy() implementation.
...
ANSI C doesn't require that strncpy() produced null-terminated string, so
it's basicly useless for string manipulation.
2016-05-02 18:53:21 +03:00
Paul Sokolovsky
bd9de5ec90
lib/libc/string0: Add strncpy() implementation.
2016-05-02 18:38:19 +03:00