- Jun 20, 2014
-
-
Paul Sokolovsky authored
Expected to be set on command line, with the idea being that for different targets, there're different smartass ABIs which strive to put unneeded sections into executables, etc., so let people have flexible way to strip that. The option name is similar to previously introduced CLFAGS_EXTRA & LDFLAGS_EXTRA.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
The idea is that it should be possible to pass any additional params for experimentation without need to patch sources (and without need to deviate from or repeat baseline options).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Some people want to enable even more warnings. Let them do it without putting burden on everyone. Some people vice versa think that current settings should be relaxed. In this regard, -Werror is the most problematic, it disallows to use #warning directive, and disallows to pass configuration settings on make command lines. Again, until decided how to deal with these globally, allow to work around these problems locally.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
One thing is wanting to do 1 / 2 and get something else but 0, and quite another - doing rocket science ;-).
-
Paul Sokolovsky authored
gc: More verbose debugging
-
Paul Sokolovsky authored
Fix missing declaration of assert() Replace ARRAY_SIZE with MP_ARRAY_SIZE
-
- Jun 19, 2014
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
map() is 5 times slower. That's mostly because of inefficiency of creating containers from iterables of unknown length (like map()).
-
Paul Sokolovsky authored
Both "bound" (like, length known) and "unbound" (length unknown) are tested. All of list, tuple, bytes, bytesarray offer approximately the same performance, with "unbound" case being 30 times slower.
-
Paul Sokolovsky authored
For a trivial operation, calling a function is 5 times slower than doing operation inline.
-
Emmanuel Blot authored
-
Emmanuel Blot authored
-
- Jun 18, 2014
-
-
Damien George authored
bare-arm, stmhal: Disable stack protector
-
Sven Wegener authored
As we are building with -nostdlib gcc features like the stack protector will fail linking, because the failure handlers are in gcc's internal libs. Such features are implicitly disabled during compilation when -nostdlib is used in CFLAGS too. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net>
-
Sven Wegener authored
-nostdlib is the correct option, gcc recognizes the double dash version when in link-only mode, but not when compiling. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net>
-
stijn authored
-
stijn authored
-
- Jun 17, 2014
-
-
Damien George authored
Fix problem with ADC reads and multiple channels
-
Damien George authored
-
- Jun 16, 2014
-
-
Dave Hylands authored
-
stijn authored
Add more DEBUG_printf statements to trace gc behaviour
-
- Jun 15, 2014
-
-
Damien George authored
This adds a hook to get/set pyb_uart_global_debug from Python, using pyb.repl_uart(). You can set it to an arbitrary UART object, and then the REPL (in and out) is repeated on this UART object (as well as on USB CDC). Ultimately, this will be replaced with a proper Pythonic interface to set sys.stdin and sys.stdout.
-
Damien George authored
-
Damien George authored
Also make stdout_print_strn static (ultimately this function needs to be merged with stdout_tx_strn).
-
- Jun 14, 2014
-
-
Damien George authored
Still some method names to iron out, and funtionality to add, but this will do for the first, basic version.
-
Paul Sokolovsky authored
char can be signedness, and using signedness types is dangerous - it can lead to negative offsets when doing table lookups. We apparently should just ban char usage.
-
Damien George authored
Add __assert_func
-
mux authored
-
mux authored
-
mux authored
* issue #692
-
Paul Sokolovsky authored
In preparation for unicode support.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
We still have that char vs byte dichotomy, but majority of string operations now use byte.
-
- Jun 13, 2014
-
-
Paul Sokolovsky authored
This will allow roughly the same behavior as Python3 for non-ASCII strings, for example, print("<phrase in non-Latin script>".split()) will print list of words, not weird hex dump (like Python2 behaves). (Of course, that it will print list of words, if there're "words" in that phrase at all, separated by ASCII-compatible whitespace; that surely won't apply to every human language in existence).
-
Damien George authored
-
Damien George authored
-