Damien George
f0e2d13fd2
tests/run-tests: Simplify handling of newline in output from tests.
...
Now, all output has newlines converted to \n, regardless of port or
platform.
2016-03-08 10:20:38 +00:00
Paul Sokolovsky
ed593780bf
extmod/modlwip: Implement dummy setsockopt().
2016-03-08 14:24:49 +07:00
Paul Sokolovsky
a0cd118b14
esp8266/main: Module to run on boot is "boot", not "main".
2016-03-08 12:37:24 +07:00
Paul Sokolovsky
f8d42da104
extmod/modlwip: Add .print() method.
2016-03-08 11:37:15 +07:00
Damien George
3fbbbecec9
esp8266: Put more code in iROM section.
...
Also explicitly name the py/*.o files in the linker file, to enable easy
testing of putting certain ones in iRAM.
2016-03-08 11:31:39 +07:00
Paul Sokolovsky
04a9ac7f38
extmod/modlwip: Update make_new() arguments for recent refactor.
2016-03-08 10:31:21 +07:00
Paul Sokolovsky
d684f872bd
esp8266/Makefile: Add define for ESP8266 lwIP.
2016-03-08 10:29:05 +07:00
Damien George
05dda0ee9e
esp8266: Enable modlwip.
2016-03-08 10:21:50 +07:00
Paul Sokolovsky
88b0490945
esp8266: Don't gc-collect BSS.
...
None of the other ports do, since introduction of mp_state_ctx_t. In
the case of current esp8266 port, heap is inside BSS, so scanning it
picked up a lot of dead pointers.
2016-03-08 10:16:06 +07:00
Markus Fix
4f0080346b
py/emitglue: Get persistent bytecode working on Linux ARM platform.
2016-03-07 15:15:23 +00:00
Dave Hylands
484a471f9b
stmhal: Fix some typos in stm32f411 files, regarding FS layout and CSV.
2016-03-07 12:42:30 +00:00
Dave Hylands
367c084c4b
stmhal: Fix typo in stm32f401.ld file, regarding flash size.
2016-03-07 12:38:57 +00:00
Dave Hylands
0edfb7a115
stmhal: Make spi use mp_hal_gpio_set_af
2016-03-07 12:24:53 +00:00
Damien George
d964873e56
tests/run-tests: Fix logic when selecting test-dirs for a given target.
2016-03-07 12:00:16 +00:00
Pavol Rusnak
ce3beb1672
stmhal: Unify comments in stm32f4xx_hal_conf.h across all boards.
...
To make it easier to spot differences.
2016-03-07 11:28:36 +00:00
Paul Sokolovsky
b86c20676e
tests/recursive_iternext.py: Make low-heap friendly.
2016-03-07 15:30:02 +07:00
Paul Sokolovsky
db984b73f3
esp8266: Enable stack overflow checking.
2016-03-07 14:15:00 +07:00
Paul Sokolovsky
1d5d4f49d9
py/stackctrl: Add mp_stack_set_top() to explicitly set stack top value.
...
Useful for embedded targets with fixed stack layout.
2016-03-07 14:12:24 +07:00
Paul Sokolovsky
419bb26ddc
tests/print_exception: Use exception which prints the same regardless of config.
...
NameError may either include offending name or not. Unfortunately, this
change makes test float-dependent. And using integer division leads to
different error message than CPython.
2016-03-07 14:10:06 +07:00
Paul Sokolovsky
d973c1bc12
test/string_format_fp30: Variant of string_format for 30-bit stuffed float.
2016-03-06 06:10:40 +02:00
Paul Sokolovsky
50e0a7b9d4
test/float2int_fp30: Variant of float2int for 30-bit stuffed float.
2016-03-06 06:08:38 +02:00
Damien George
fbb3c190f9
tests: Remove commented out tests so test script is not too big.
2016-03-06 06:00:28 +02:00
Damien George
14848ffa12
tests: Reduce large object allocations so tests can run with small heap.
2016-03-06 05:59:46 +02:00
Damien George
52d7685d9a
esp8266: Allow Makefile's BAUD variable to be overridden.
2016-03-06 05:57:36 +02:00
Paul Sokolovsky
d9d4a72679
esp8266/uart: Add uart_flush() function.
2016-03-05 22:13:26 +02:00