Damien George
280e7208d8
Add vstr_ins and vstr_cut_out; improve stmhal readline.
2014-03-15 14:33:09 +00:00
Damien George
8b96af6907
stmhal: Get RTC working.
2014-03-15 12:54:48 +00:00
Damien George
07174c6fca
stmhal: Fix escape sequences in USB CDC input.
2014-03-15 12:53:51 +00:00
Damien George
e285511a23
stmhal: Get USB CDC REPL working.
...
New USB HAL is quite a bit improved over previous one. Now has better
callbacks and flow control.
REPL over USB CDC now works as before, except for soft-reset (since USB
driver uses malloc...).
2014-03-15 11:52:29 +00:00
Damien George
87e423b866
stmhal: Remove obsolete #defines from mpconfigport.h.
...
Either not needed anymore, or defined in the board/_hal_conf.h file.
2014-03-15 09:28:08 +00:00
Damien George
c2a3bd58ce
Merge pull request #346 from dhylands/stmhal-led
...
stmhal - add led support. Add netduino_plus_2 support
2014-03-15 09:20:49 +00:00
Dave Hylands
ca5444e6cd
stmhal - add pin mapping, gpio, exti, usrsw
2014-03-14 23:41:28 -07:00
Dave Hylands
0a64c92a9c
stmhal - add led support. Add netduino_plus_2 support
...
Tweaked a couple of the USB files to compile if neither dev nor host was defined.
Tested on netduiono plus 2 and stm32f4discovery boards
2014-03-14 09:48:49 -07:00
Damien George
33bdd2119d
Merge branch 'master' of github.com:micropython/micropython
...
Conflicts:
stmhal/main.c
2014-03-14 00:33:07 +00:00
Damien George
b30c02afa0
stmhal: Get USB enumerating a CDC device.
...
Enumerates CDC device over USB, but doesn't transmit/receive yet.
2014-03-14 00:30:37 +00:00
Damien George
deb413e8ba
Merge pull request #345 from dhylands/stmhal-systick-cleanup
...
stmhal - More systick cleanup. Fix HAL_Delay
2014-03-14 00:29:51 +00:00
Dave Hylands
9db719bb57
stmhal - More systick cleanup. Fix HAL_Delay
2014-03-13 16:17:01 -07:00
Damien George
536dde254b
py: In string.count, handle case of zero-length needle.
2014-03-13 22:07:55 +00:00
Damien George
de4d7aecc8
Merge pull request #343 from xbe/master
...
Implement str.count and add tests for it.
2014-03-13 21:53:36 +00:00
Damien George
aae40ee644
Merge pull request #344 from dhylands/stmhal-systick-cleanup
...
Cleanup systick for stmhal
2014-03-13 21:45:27 +00:00
Dave Hylands
ef39f2d9ca
Cleanup systick for stmhal
2014-03-13 14:40:49 -07:00
Damien George
659c19c67c
Merge pull request #342 from dhylands/stmhal-repl
...
REPL working on UART6 with STMHAL
2014-03-13 10:17:51 +00:00
xbe
c5d70ba48b
Fix issues in str.count implementation.
...
See pull request #343 .
2014-03-13 00:33:07 -07:00
xbe
9e1e8cd642
Implement str.count and add tests for it.
...
Also modify mp_get_index to accept:
1. Indices that are or evaluate to a boolean.
2. Slice indices.
Add tests for these two cases.
2014-03-12 22:57:16 -07:00
Dave Hylands
f14b92b9e1
REPl working on UART6 with STMHAL
2014-03-12 18:15:55 -07:00
Damien George
19438fd30a
windows: Change MICROPY_FLOAT config to new scheme.
2014-03-13 00:36:34 +00:00
Damien George
470184e2c3
py: Cosmetic changes.
2014-03-12 22:44:11 +00:00
Damien George
df02aaee4f
Merge pull request #340 from iabdalkader/realloc
...
Fix realloc
2014-03-12 22:42:33 +00:00
Damien George
849a0dda86
stm: Add some floating-point math functions.
...
These have been taken from the musl library. It's a bit of a hack for
now, just to get math functions working.
2014-03-12 22:33:22 +00:00
Damien George
f555d5deca
stmhal: Set SysTick priority to highest level.
2014-03-12 22:08:19 +00:00