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.
9 years ago
Paul Sokolovsky
bd9de5ec90
lib/libc/string0: Add strncpy() implementation.
9 years ago
Damien George
64ececb72f
lib/libc/string0: Use uintptr_t instead of uint32_t.
This makes the code portable to non-32-bit architectures.
9 years ago
Daniel Campora
abea1c38a9
lib/libc: Add memchr. We already have strchr, but memchr is useful too.
10 years ago
Damien George
f53a8e712f
lib/libc/string0.c: Remove include of std.h, replace with string.h.
Much more portable this way.
10 years ago
Paul Sokolovsky
3a84c8b58d
string0.c: Move from stmhal/ to lib/.
10 years ago
stijn
49c47da804
Fix errors after enabling -Wpointer-arith
10 years ago
Damien George
32781cce6d
stmhal: Slightly improved memcpy; memset uses word store when aligned.
10 years ago
iabdalkader
d60580eb5e
Optimize memcpy more
10 years ago
iabdalkader
81b2ddf5d1
Memcpy: copy words
10 years ago
Damien George
04b9147e15
Add license header to (almost) all files.
Blanket wide to all .c and .h files. Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.
Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
11 years ago
Dave Hylands
f14b92b9e1
REPl working on UART6 with STMHAL
11 years ago
Damien George
181d190643
stm: Remove unused, useless and not-to-be-used strndup.
Addresses issue #275 .
11 years ago
Paul Sokolovsky
bc5b3f8c73
stm: Add memcmp() implementation.
11 years ago
Damien George
5fa93b6755
Second stage of qstr revamp: uPy str object can be qstr or not.
11 years ago
Dave Hylands
c8effff937
Added public domain implementations of strchr and strstr.
11 years ago
Damien
fa2162bc77
Integrate new lexer stream with stm framework.
11 years ago
Damien
ed65605edc
Inital commit of stm32f4xx framework.
11 years ago