Damien George
7caa7e0501
Merge pull request #353 from rjdowdall/master
Some math functions
11 years ago
Rachel Dowdall
a2f2f734ed
Added various simple functions to math module.
11 years ago
Rachel Dowdall
5a14a1d690
Added various simple functions to math module.
11 years ago
Damien George
d02f6eaa10
py: Fix int-longlong binary operations.
11 years ago
Damien George
7f8be59111
py: Allow hashing of functions and tuples.
11 years ago
Damien George
a925639247
py: Add math.e constant.
11 years ago
Damien George
2d7ff07175
py: Add mpz modulo operation.
11 years ago
Damien George
c412998c49
py: Add comment about bugs in objint_longlong.c.
11 years ago
Damien George
cd8b2baf43
py: Fix bug in mpz int, where small int is on lhs, mpz on rhs.
11 years ago
Damien George
494600bc99
stmhal: Add lcd.c to Makefile, and init LCD in main.
11 years ago
Damien George
e2e9011253
stmhal: Add LCD driver.
11 years ago
Damien George
b92d3e1fde
stmhal: Add fatfs support, working with flash and SD card.
11 years ago
Damien George
9e5ea4d768
stmhal: Add flash write support and flash storage driver.
11 years ago
Damien George
8a9a31e57b
stmhal: Add autoflash script, to flash a DFU device automatically.
11 years ago
Damien George
fb431bf556
stmhal: Add SD card support.
Just low-level read/write support. No filesystem yet.
11 years ago
Damien George
c44115f831
Merge branch 'master' of github.com:xbe/micropython
11 years ago
Damien George
781687c772
stmhal: Remove unnecessary include.
11 years ago
Damien George
6b144f62be
Merge pull request #347 from dhylands/stmhal-usart
stmhal - Add usart support
11 years ago
xbe
c55388823f
objstr.c: Replace size_t with machine_uint_t.
11 years ago
xbe
efe3422394
py: Clean up includes.
Remove unnecessary includes. Add includes that improve portability.
11 years ago
xbe
c93a22197b
unix: Clean up includes.
Remove unnecessary includes. Add includes that improve portability.
11 years ago
Dave Hylands
9c122029ec
stmhal - Add usart support
11 years ago
Paul Sokolovsky
51bbf6a006
Implement support for __str__ and __repr__ special methods in classes.
11 years ago
Paul Sokolovsky
75488d5639
unix-cpy: Switch to use MICROPY_FLOAT_IMPL config define.
11 years ago
Damien George
02a8543841
stmhal: Check CDC tx buffer has free space before filling with data.
11 years ago
Damien George
ecd58aec08
py: Fix bug in vstr_ins_blank_bytes.
11 years ago
Damien George
6c2455f481
stmhal: Put an array in ROM.
11 years ago
Damien George
fdbc22e4d2
stmhal: Disable redundant SystemCoreClockUpdate function.
11 years ago
Damien George
280e7208d8
Add vstr_ins and vstr_cut_out; improve stmhal readline.
11 years ago
Damien George
8b96af6907
stmhal: Get RTC working.
11 years ago
Damien George
07174c6fca
stmhal: Fix escape sequences in USB CDC input.
11 years ago
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...).
11 years ago
Damien George
87e423b866
stmhal: Remove obsolete #defines from mpconfigport.h.
Either not needed anymore, or defined in the board/_hal_conf.h file.
11 years ago
Damien George
c2a3bd58ce
Merge pull request #346 from dhylands/stmhal-led
stmhal - add led support. Add netduino_plus_2 support
11 years ago
Dave Hylands
ca5444e6cd
stmhal - add pin mapping, gpio, exti, usrsw
11 years ago
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
11 years ago
Damien George
33bdd2119d
Merge branch 'master' of github.com:micropython/micropython
Conflicts:
stmhal/main.c
11 years ago
Damien George
b30c02afa0
stmhal: Get USB enumerating a CDC device.
Enumerates CDC device over USB, but doesn't transmit/receive yet.
11 years ago
Damien George
deb413e8ba
Merge pull request #345 from dhylands/stmhal-systick-cleanup
stmhal - More systick cleanup. Fix HAL_Delay
11 years ago
Dave Hylands
9db719bb57
stmhal - More systick cleanup. Fix HAL_Delay
11 years ago
Damien George
536dde254b
py: In string.count, handle case of zero-length needle.
11 years ago
Damien George
de4d7aecc8
Merge pull request #343 from xbe/master
Implement str.count and add tests for it.
11 years ago
Damien George
aae40ee644
Merge pull request #344 from dhylands/stmhal-systick-cleanup
Cleanup systick for stmhal
11 years ago
Dave Hylands
ef39f2d9ca
Cleanup systick for stmhal
11 years ago
Damien George
659c19c67c
Merge pull request #342 from dhylands/stmhal-repl
REPL working on UART6 with STMHAL
11 years ago
xbe
c5d70ba48b
Fix issues in str.count implementation.
See pull request #343 .
11 years ago
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.
11 years ago
Dave Hylands
f14b92b9e1
REPl working on UART6 with STMHAL
11 years ago
Damien George
19438fd30a
windows: Change MICROPY_FLOAT config to new scheme.
11 years ago
Damien George
470184e2c3
py: Cosmetic changes.
11 years ago