Damien George
a669cbc690
unix: Auto-detect MICROPY_EMIT_X64 and MICROPY_GCREGS_SETJMP.
...
If not set, MICROPY_EMIT_X64 is set only if on x86-64 machine.
If not set, MICROPY_GCREGS_SETJMP is set when on MIPS.
2014-09-03 22:40:15 +01:00
Damien George
91fbea2c1e
Merge pull request #845 from Vogtinator/master
...
Add allocation macros (per platform) and ARM cache flush
2014-09-03 22:31:08 +01:00
Fabian Vogt
b7235b8412
Add cache flush in py/asmarm.c and add new MP_PLAT_ALLOC_EXEC and MP_PLAT_FREE_EXEC macros
...
Fixes issue #840
2014-09-03 23:07:42 +02:00
Damien George
fc54250d31
Merge pull request #844 from chrisdearman/do_str
...
Declare do_str() function before the implementation
2014-09-03 21:53:48 +01:00
Damien George
27dd910c44
Merge branch 'stinos-msvc-extmod'
2014-09-02 11:39:12 +01:00
Damien George
e875e3882d
extmod: Fix type-punned-ptr error.
2014-09-02 11:38:45 +01:00
Damien George
bc9f34860b
Merge branch 'msvc-extmod' of github.com:stinos/micropython into stinos-msvc-extmod
2014-09-02 11:37:47 +01:00
stijn
759138caee
msvc: Exclude modtermios, include extmod and fix compilation error
2014-09-02 09:00:20 +02:00
Chris Dearman
8c56241c82
Declare do_str() function before the implementation
...
This ensures that GCC does not discard the do_str implementation in
some cases eg when compiling tests with debug enabled:
make RUN_TESTS=1 DEBUG=1
2014-09-01 19:51:12 -07:00
Damien George
bad2df3e95
stmhal, modwiznet5k: Add very minimal documentation.
2014-09-01 22:58:22 +01:00
Damien George
bcf041f1a3
stmhal: Add wiznet5k module, to control WIZnet ethernet adaptor.
...
Allows to create socket objects that support TCP and UDP in server and
client mode. Interface is very close to standard Python socket class,
except bind and accept do not work the same (due to hardware not
supporting them in the usual way).
Not compiled by default. To compile this module, use:
make MICROPY_PY_WIZNET5K=1
2014-09-01 22:52:38 +01:00
Damien George
cdd40f149a
drivers, wiznet5k: Make DNS service use HAL sys tick.
2014-09-01 22:52:38 +01:00
Damien George
9091e84454
drivers, wiznet5k: Add HAL_Delay(1) to "infinite" loops.
2014-09-01 22:52:38 +01:00
Damien George
7da9145e47
drivers, wiznet5k: Properly fix ARP bug with W5200 chipset.
2014-09-01 22:52:37 +01:00
Damien George
0c0550bff0
drivers, wiznet5k: Add W5200 support.
2014-09-01 22:52:37 +01:00
Damien George
79d17e3e7d
drivers, wiznet5k: Change SPI interface to read/write multiple bytes.
2014-09-01 22:52:37 +01:00
Damien George
812cf62f43
drivers, wiznet5k: Fix IP addr verification.
2014-09-01 22:52:37 +01:00
Damien George
71224cb8db
drivers: Initial import of WIZnet5x000 driver.
2014-09-01 22:52:37 +01:00
Damien George
e07737d202
Added 'drivers' directory, intended to hold code for specific hardware.
2014-09-01 22:52:37 +01:00
Damien George
90fad65d2f
Merge pull request #841 from dhylands/teensy-README
...
Update teensy README.md file
2014-08-31 00:36:54 +01:00
Dave Hylands
76dd7e180f
Update teensy README.md file
...
Thanks to Artur Wroblewski for some suggested changes.
I also added the TIPs section at the end while I was updating.
2014-08-30 12:21:08 -07:00
Damien George
ca6d75f16d
py: Small simplifications in tuple and list accessors.
2014-08-30 15:17:47 +01:00
Damien George
4abff7500f
py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h.
...
Part of code cleanup, working towards resolving issue #50 .
2014-08-30 14:59:21 +01:00
Damien George
4d91723587
py: Remove use of int type in obj.h.
...
Part of code cleanup, working towards resolving issue #50 .
2014-08-30 14:28:06 +01:00
Damien George
d182b98a37
py: Change all uint to mp_uint_t in obj.h.
...
Part of code cleanup, working towards resolving issue #50 .
2014-08-30 14:19:41 +01:00