Damien George
90834b956d
stm/stmhal: Change gammaf to tgammaf.
2014-03-23 14:00:02 +00:00
Damien George
e43e27cf79
Merge pull request #356 from iabdalkader/d2f
...
Implement __aeabi_f2d and __aeabi_d2f
2014-03-23 00:34:11 +00:00
Damien George
8138205bea
stm/stmhal: Add more math stubs.
2014-03-22 20:44:43 +00:00
mux
5b6008ddb9
Implement __aeabi_f2d and __aeabi_d2f
2014-03-22 02:08:01 +02:00
Damien George
c070ff24a9
Disable some math functions until they work correctly.
2014-03-21 20:52:54 +00:00
Damien George
280e7208d8
Add vstr_ins and vstr_cut_out; improve stmhal readline.
2014-03-15 14:33:09 +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
8bfec2b538
Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h.
...
MICROPY_ENABLE_FLOAT is automatically set in mpconfig.h if MICROPY_FLOAT_IMPL
is set to a non-zero value.
2014-03-10 13:27:02 +00:00
Dave Hylands
ca5a241e48
Add proper floating point printing support.
2014-03-10 00:10:01 -07:00
Damien George
5322ec0962
stm: Add DMA support to Audio object.
2014-03-09 19:59:17 +00:00
Damien George
c3d35c6ac7
stm: Put pyb module in ROM.
2014-03-08 16:40:08 +00:00
Damien George
01d50d0d58
stm: Wrap some functions in MICROPY_ENABLE_FLOAT.
2014-03-08 15:28:51 +00:00
Damien George
0c36da0b59
Implement ROMable modules. Add math module.
...
mp_module_obj_t can now be put in ROM.
Configuration of float type is now similar to longint: can now choose
none, float or double as the implementation.
math module has basic math functions. For STM port, these are not yet
implemented (they are just stub functions).
2014-03-08 15:24:39 +00:00
Damien George
360b25ab0f
stm: Add udelay (delay in microseconds).
2014-03-08 15:17:10 +00:00
Damien George
cd000645f8
stm: Improve DAC (audio) bindings.
2014-03-08 15:14:53 +00:00
mux
6882dbd9f8
Implement machine_sqrt using VSQRT
2014-03-02 00:33:39 +02:00
Dave Hylands
1fcbb966bd
Remove param from python API of ext_register
...
Minor cleanup.
2014-02-26 20:24:51 -08:00
Damien George
98fb8935bc
stm: Reinstate code to handle CC3000 EXTI (commented out for now).
2014-02-26 17:04:12 +00:00
Damien George
f8a4fbbb79
stm: Open header file in text mode (in make-pins).
2014-02-26 16:30:33 +00:00
Damien George
43122c320b
Merge pull request #325 from dhylands/led
...
Update LED configuration
2014-02-26 16:07:18 +00:00
Damien George
4273498cb8
Merge pull request #324 from dhylands/board-check
...
Print an error if an invalid BOARD is specified
2014-02-26 16:03:59 +00:00
Damien George
c4361227ba
Merge pull request #318 from dhylands/exti
...
Add EXTI support
2014-02-26 16:01:54 +00:00
Dave Hylands
34f66023d4
Update LED configuration
2014-02-26 00:05:34 -08:00
Dave Hylands
c3813ff50d
Print an error if a non-valid BOARD is specified.
2014-02-26 00:04:01 -08:00
Dave Hylands
49b5533000
Fix floating point printing of negative numbers in the range (0, -1.0)
2014-02-25 15:24:25 -08:00