Damien George
75aebda809
Merge branch 'stinos-mingw-float-printf'
2014-05-03 22:44:24 +01:00
Damien George
3a01840390
windows: Argument to () function should be (void).
2014-05-03 22:43:58 +01:00
Damien George
cff638a43a
Merge branch 'mingw-float-printf' of github.com:stinos/micropython into stinos-mingw-float-printf
2014-05-03 22:41:40 +01:00
Damien George
d5f5b2f766
py, stream: Implement readlines for a stream.
2014-05-03 22:01:32 +01:00
Damien George
5320bff32c
Merge pull request #557 from cjbarnes18/device_id_in_deploy
...
Add device ID to deploy make target for stmhal.
2014-05-03 21:21:20 +01:00
Damien George
349e4c4a2f
py: Add --dirty flag to git describe.
2014-05-03 21:15:32 +01:00
Craig Barnes
c9f9e547d6
Add device ID to deploy make target for stmhal.
2014-05-03 19:51:47 +01:00
stijn
72521a1c17
mingw: Fix number of exponent digits in floating point formatting
...
By default mingw outputs 3 digits instead of the standard 2 so all float
tests using printf fail. Using setenv at the start of the program fixes this.
To accomodate calling platform specific initialization a
MICROPY_MAIN_INIT_FUNC macro is used which is called in mp_init()
2014-05-03 20:15:15 +02:00
Damien George
6ec835dfef
Don't print git hash as well as git tag in banner.
2014-05-03 19:08:02 +01:00
Damien George
1549f17038
Merge branch 'master' of github.com:micropython/micropython
2014-05-03 19:02:47 +01:00
Damien George
977a0ce287
py: Print tag/version/git describe in uPy banner.
2014-05-03 19:02:14 +01:00
Paul Sokolovsky
fb9ca7c3aa
Merge pull request #554 from stinos/mingw-realpath
...
mingw: Add implementation of realpath()
2014-05-03 21:01:34 +03:00
Damien George
b4bb3fdb9c
Merge pull request #555 from lurch/patch-1
...
RTC doc fix
2014-05-03 18:44:02 +01:00
Damien George
93e51b594a
stmhal: Enable cmath module.
2014-05-03 18:40:50 +01:00
Andrew Scheller
86a9a88632
Fix incorrect fix ;)
2014-05-03 18:28:11 +01:00
Damien George
bb8ba7fc90
stmhal: Add .gitignore to ignore the new build dir names.
2014-05-03 18:26:03 +01:00
Damien George
3244123031
tools: pyboard.py now acts as a command-line program to run scripts.
...
You can run a local script on the pyboard using:
python pyboard.py test.py
where test.py is the local script you want to run.
2014-05-03 18:14:34 +01:00
Andrew Scheller
e9ff5570c3
Updated doc fix
2014-05-03 17:50:46 +01:00
Damien George
aad1204b8e
stmhal: Change names: flash to firmware, flashboard to deploy.
...
Since firmware lives in a build directory which already specifies the
board name, no real reason to also have the firmware have the board
name.
2014-05-03 17:46:45 +01:00
Damien George
51315614e1
stmhal: Default build directory now includes board name.
...
BUILD is build-$(BOARD) by default.
2014-05-03 17:39:07 +01:00
Andrew Scheller
b569d690f5
RTC doc fix
2014-05-03 17:34:19 +01:00
Damien George
ae8feac598
stmhal: Wrap CC3000 driver in MICROPY_HW_ENABLE_CC3K.
...
This renames MICROPY_HW_HAS_WLAN to MICROPY_HW_ENABLE_CC3K (since it's a
driver, not a board feature) and wraps all CC3000 code in this #if.
It's disabled for all boards.
2014-05-03 17:32:55 +01:00
Damien George
9c5fc83e6a
py, objtype.c: Rename class_ to instance_ following change of typedef.
...
This follows up 0a7e01ae3c .
2014-05-03 17:19:35 +01:00
Damien George
e69b7e8288
unix, file.c: adhere to coding conventions.
2014-05-03 17:04:31 +01:00
Damien George
41f768f3f3
tests: Add a suite of tests specifically for the pyboard.
...
In tests/pyb is now a suite of tests that tests the pyb module on the
pyboard. They include expected output files because we can't run
CPython on the pyboard to compare against.
run-tests script has now been updated to allow pyboard tests to be run.
Just pass the option --pyboard. This runs all basic, float and pyb
tests. Note that float/math-fun.py currently fails because not all math
functions are implemented in stmhal/.
2014-05-03 16:43:27 +01:00