summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* tests, pyb: Add 'import pyb' when needed.Damien George2014-05-04
|
* unix: Remove test class and code.Damien George2014-05-04
|
* Merge pull request #563 from turbinenreiter/patch-2Damien George2014-05-04
|\ | | | | updated to use new pyb.Accel() object
| * updated to use new pyb.Accel() objectSebastian Plamauer2014-05-04
|/
* Merge pull request #561 from turbinenreiter/patch-1Damien George2014-05-04
|\ | | | | updated to fit new acceleration and time/millis
| * updated to fit new acceleration and time/millisSebastian Plamauer2014-05-04
|/ | | | Changed pyb.accel() and pyb.time() to the new pyb.Accel() object and pyb.millis() function. Also shortened the loop so the writing is finished before the USB connection messes things up.
* tools: In build-stm-latest, replace git hash with git tag.Damien George2014-05-04
|
* Add license header to (almost) all files.Damien George2014-05-03
| | | | | | | 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/.
* Merge pull request #535 from pfalcon/blurbDamien George2014-05-03
|\ | | | | Proposed license/copyright file header.
| * py: Add copyright/license header to each file.Paul Sokolovsky2014-05-01
| |
* | Merge branch 'stinos-mingw-float-printf'Damien George2014-05-03
|\ \
| * | windows: Argument to () function should be (void).Damien George2014-05-03
| | |
| * | Merge branch 'mingw-float-printf' of github.com:stinos/micropython into ↵Damien George2014-05-03
|/| | | | | | | | | | | stinos-mingw-float-printf
| * | mingw: Fix number of exponent digits in floating point formattingstijn2014-05-03
| | | | | | | | | | | | | | | | | | | | | 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()
* | | py, stream: Implement readlines for a stream.Damien George2014-05-03
| | |
* | | Merge pull request #557 from cjbarnes18/device_id_in_deployDamien George2014-05-03
|\ \ \ | | | | | | | | Add device ID to deploy make target for stmhal.
| * | | Add device ID to deploy make target for stmhal.Craig Barnes2014-05-03
| |/ /
* / / py: Add --dirty flag to git describe.Damien George2014-05-03
|/ /
* | Don't print git hash as well as git tag in banner.v1.0Damien George2014-05-03
| |
* | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-05-03
|\ \
| * \ Merge pull request #554 from stinos/mingw-realpathPaul Sokolovsky2014-05-03
| |\ \ | | | | | | | | mingw: Add implementation of realpath()
| | * | mingw: Add implementation of realpath()stijn2014-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mingw port used _fullpath() until now, but the behaviour is not exactly the same as realpath()'s on unix; major difference being that it doesn't return an error for non-existing files, which would bypass main's error checking and bail out without any error message. Also realpath() will return forward slashes only since main() relies on that.
* | | | py: Print tag/version/git describe in uPy banner.Damien George2014-05-03
|/ / /
* | | Merge pull request #555 from lurch/patch-1v1.0-rc1Damien George2014-05-03
|\ \ \ | | | | | | | | RTC doc fix
| * | | Fix incorrect fix ;)Andrew Scheller2014-05-03
| | | |
| * | | Updated doc fixAndrew Scheller2014-05-03
| | | |
| * | | RTC doc fixAndrew Scheller2014-05-03
| | | |
* | | | stmhal: Enable cmath module.Damien George2014-05-03
| | | |
* | | | stmhal: Add .gitignore to ignore the new build dir names.Damien George2014-05-03
| | | |
* | | | tools: pyboard.py now acts as a command-line program to run scripts.Damien George2014-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | stmhal: Change names: flash to firmware, flashboard to deploy.Damien George2014-05-03
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | stmhal: Default build directory now includes board name.Damien George2014-05-03
| | | | | | | | | | | | | | | | BUILD is build-$(BOARD) by default.
* | | | stmhal: Wrap CC3000 driver in MICROPY_HW_ENABLE_CC3K.Damien George2014-05-03
|/ / / | | | | | | | | | | | | | | | 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.
* | | py, objtype.c: Rename class_ to instance_ following change of typedef.Damien George2014-05-03
| | | | | | | | | | | | This follows up 0a7e01ae3c529fddf79dc5c71bf7e43cff3f9fa0.
* | | unix, file.c: adhere to coding conventions.Damien George2014-05-03
| | |
* | | tests: Add a suite of tests specifically for the pyboard.Damien George2014-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/.
* | | stmhal: Fix typos in class documentation.Damien George2014-05-03
| | |
* | | Merge pull request #551 from stinos/closed-fd-errPaul Sokolovsky2014-05-03
|\ \ \ | |/ / |/| | CPython compatibility: raise an error for operations on a closed file de...
| * | CPython compatibility: raise an error for operations on a closed file descriptorstijn2014-05-03
| | | | | | | | | | | | | | | In CPython any operations on a file that has been closed already reaises a ValueError with message "I/O operation on closed file"
* | | stmhal: Fix bug where negative delay/udelay lead to huge delays.Damien George2014-05-03
| | | | | | | | | | | | | | | A negative ms/us is now treated as a delay of 0 ms/us. This patch also improves the calibration of udelay.
* | | Merge pull request #546 from stinos/relax-makeqstrdataDamien George2014-05-03
|\ \ \ | | | | | | | | More relaxed parsing of preprocessed qstr header
| * | | More relaxed parsing of preprocessed qstr headerstijn2014-05-03
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The original parsing would error out on any C declarations that are not typedefs or extern variables. This limits what can go in mpconfig.h and mpconfigport.h, as they are included in qstr.h. For instance even a function declaration would be rejected and including system headers is a complete no-go. That seems too limiting for a global config header, so makeqstrdata now ignores everything that does not match a qstr definition.
* | | stmhal: Remove #include <stdint.h> from mpconfigport.h.Damien George2014-05-03
| | | | | | | | | | | | | | | Make include dependencies neater, and adheres to the coding convention that headers should not include headers.
* | | Merge pull request #543 from lurch/patch-4Damien George2014-05-03
|\ \ \ | | | | | | | | Make pyboard.enter_raw_repl more robust
| * | | Make pyboard.enter_raw_repl more robustAndrew Scheller2014-05-01
| | | | | | | | | | | | In case there's a program in the microcontroller's main.py running in an infinite loop
* | | | stmhal: Add example use to RTC doc; add rtc.c to gendoc.py.Damien George2014-05-03
| | | |
* | | | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-05-03
|\ \ \ \
| * | | | windows: alloca.h: Add comment, fix line endings.Paul Sokolovsky2014-05-03
| | | | |
* | | | | stmhal: Add documentation for RTC class.Damien George2014-05-03
|/ / / /
* | | | Merge pull request #552 from stinos/mingw-allocaPaul Sokolovsky2014-05-03
|\ \ \ \ | | | | | | | | | | py: Use <alloca.h> for alloca()