mux
|
45ad9b405d
|
Move LED defs to mpconfigport.h
|
11 years ago |
Damien George
|
b080c7946b
|
Merge branch 'master' of github.com:iabdalkader/micropython into iabdalkader-master
Conflicts:
stm/main.c
|
11 years ago |
Damien George
|
1e708fed18
|
py: Implement bool unary op; tidy up unary op dispatch.
|
11 years ago |
Damien George
|
b051e7d167
|
py: Simpler implementation of mp_obj_callable.
|
11 years ago |
Damien George
|
cfedd81c07
|
Merge branch 'master' of github.com:micropython/micropython
|
11 years ago |
Damien George
|
26a00085fe
|
stm: LCD support for PYBv4; fix MMA reading code.
|
11 years ago |
mux
|
1d1e4e1bd5
|
Fix USB CORE PCGCCTL Wrong Address
* Fix PCGCCTL bug using address instead of value.
* Fix issue #211
|
11 years ago |
mux
|
638179fb9c
|
Move RTC to Separate Module
* Move RTC code from main to a separate module.
|
11 years ago |
mux
|
c4808dae0a
|
Add More Feature Test Macros
* Add MICROPY_HW_HAS_LCD
* Add MICROPY_HW_HAS_WLAN
* Use feature test macros in main
|
11 years ago |
Paul Sokolovsky
|
c3e72a8cc8
|
mp_obj_is_callable(): Only object types can be callable.
Fixes segfault on callable("string").
|
11 years ago |
Paul Sokolovsky
|
bc5b3f8c73
|
stm: Add memcmp() implementation.
|
11 years ago |
Paul Sokolovsky
|
1eacefe5bc
|
Implement simplest case of str.startswith().
|
11 years ago |
Damien George
|
b979122dfb
|
py: Use C99 way of variable macro arguments.
Addresses Issue #207.
|
11 years ago |
Damien George
|
00208ce194
|
py: Change macro var args in parser to be C99 compliant.
|
11 years ago |
Damien George
|
0d028743aa
|
py: Initialise loaded_module map in rt_init.
STM port crashes without this re-init. There should not be any state in
the core py/ code that relies on pre-initialised data.
|
11 years ago |
Damien George
|
f64086f80f
|
Fix 1 warning and 1 bug.
|
11 years ago |
Damien George
|
452932ace4
|
Merge branch 'master' of github.com:micropython/micropython
|
11 years ago |
Damien George
|
60fec7a9c0
|
Merge pull request #208 from pfalcon/string-escapes
Implement octal and hex escapes in strings.
|
11 years ago |
Damien George
|
66db7bf69f
|
Merge pull request #206 from iabdalkader/master
Add Generic Feature Macros to mpconfigport
|
11 years ago |
Damien George
|
8bcc52e834
|
Merge branch 'master' of github.com:micropython/micropython
|
11 years ago |
Damien George
|
b5d13c309f
|
stm: Fix USART3 init. Small edits to Makefile and other things.
|
11 years ago |
Paul Sokolovsky
|
0b7184dcb8
|
Implement octal and hex escapes in strings.
|
11 years ago |
mux
|
3c7e71fb00
|
Fix Feature Macro Prefix
|
11 years ago |
Paul Sokolovsky
|
0914371faf
|
file.readline(): Use mp_obj_str_get_data() and fix off-by-one error on EOF.
|
11 years ago |
mux
|
630d8ff89f
|
Remove Underscore from Macro Names
|
11 years ago |
mux
|
28b23f09a4
|
Add Generic Feature Macros to mpconfigport
* Add some generic feature macros to mpconfigport
* Move pin and port definitions from usrsw.c to mpconfigport
|
11 years ago |
Damien George
|
5fa93b6755
|
Second stage of qstr revamp: uPy str object can be qstr or not.
|
11 years ago |
Damien George
|
8ae1c1beac
|
Merge branch 'fix-stm-discovery' of github.com:dhylands/micropython into dhylands-fix-stm-discovery
Conflicts:
stm/main.c
|
11 years ago |
Dave Hylands
|
72a31162e9
|
Fix support for STM32F4DISCOVERY
|
11 years ago |
Damien George
|
e6a4ab4be1
|
py: Remove implicit conversion of float to int in mp_obj_get_int().
Addresses Issue #199.
|
11 years ago |
Damien George
|
2843b8e3a7
|
Merge branch 'master' of github.com:micropython/micropython
|
11 years ago |
Damien George
|
600ae734cf
|
py: Implement break and continue byte codes, and add tests.
Also fixes a bug in the for-in-range optimiser.
I hope to remove break and continue byte codes in the future and just
use jump (if possible).
|
11 years ago |
Damien George
|
79dc37f00a
|
Merge pull request #204 from dhylands/master
Fix malformed makeqstrdata generated file when using python 2.7
|
11 years ago |
Dave Hylands
|
7a996b1f65
|
Fix malformed generated file when using python 2.7
|
11 years ago |
Damien George
|
2c30256382
|
stm: Clean up main.c; disable libgcc by default.
f2d and d2f functions from libgcc does not work correctly, most likely
due to the ABI being incorrect. libgcc disabled for now.
|
11 years ago |
Damien George
|
d51cfd155c
|
stm: Put HSE_VALUE and other defines in mpconfigport.h.
mpconfigport.h is now included by stm32f4xx.h so that all STM files have
access to these defines.
|
11 years ago |
Damien George
|
eb380d7261
|
stm: Put TARGET in mpconfigport.h; support PYBv4.
|
11 years ago |
Damien George
|
8517bce6b1
|
Merge pull request #202 from iabdalkader/master
Remove hardcoded PLL_M value
|
11 years ago |
Paul Sokolovsky
|
d30e019459
|
Add bytearray basic tests.
|
11 years ago |
Paul Sokolovsky
|
09ce05996a
|
array: Implement iterator.
|
11 years ago |
Paul Sokolovsky
|
33996685df
|
Add len() support for arrays.
|
11 years ago |
Damien George
|
12eaccacda
|
Merge branch 'master' of github.com:micropython/micropython
Conflicts:
py/objstr.c
py/py.mk
py/stream.c
unix/main.c
unix/socket.c
|
11 years ago |
Damien George
|
55baff4c9b
|
Revamp qstrs: they now include length and hash.
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
|
11 years ago |
mux
|
4578ced209
|
Add OSC_VALUE to Makefile
* Add the option to pass OSC frequency on command line.
|
11 years ago |
mux
|
e9c01dea32
|
Remove hardcoded PLL_M value
|
11 years ago |
Paul Sokolovsky
|
7280f79088
|
run-tests: Allow to run tests selectively via command line.
|
11 years ago |
Paul Sokolovsky
|
4c316552c1
|
Implement str.split(None).
Note that splitting by explicit string is not implemented so far.
|
11 years ago |
Paul Sokolovsky
|
7380a83780
|
str: Implement proper string (instead of byte string) indexing.
Also, support negative indexes.
|
11 years ago |
Paul Sokolovsky
|
545591a696
|
Implement string multiplication.
|
11 years ago |
Paul Sokolovsky
|
439542f70c
|
sequence.c: Start to refactor sequence operations for reuse among types.
|
11 years ago |