| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-03-08 | stm: Put pyb module in ROM. | Damien George | |
| 2014-03-08 | Implement ROMable modules. Add math module. | Damien George | |
| 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 | stm: Add udelay (delay in microseconds). | Damien George | |
| 2014-03-08 | stm: Improve DAC (audio) bindings. | Damien George | |
| 2014-03-02 | Implement machine_sqrt using VSQRT | mux | |
| 2014-02-26 | Merge pull request #318 from dhylands/exti | Damien George | |
| Add EXTI support | |||
| 2014-02-24 | stm: Add option to pyb_usb_dev_init() to use USB HID interface. | Damien George | |
| With this option selected, only HID on its own works, not VCP+HID. | |||
| 2014-02-23 | Add EXTI support | Dave Hylands | |
| Revamp usrsw to use new exti code. Add user switch callback function. | |||
| 2014-02-23 | stm: Make pendsv_nlr_jump work when debugging is enabled. | Damien George | |
| Stack layout is different when -g used, so need to handle the pendsv jump differently. Addresses Issue #315. | |||
| 2014-02-19 | Merge pull request #310 from dhylands/pin_map | Damien George | |
| Add pin mapping code. | |||
| 2014-02-19 | stm: Add RTC start-up info, and uPy bindings. | Damien George | |
| 2014-02-17 | Add pin mapping code. | Dave Hylands | |
| This commit also introduces board directories and moves board specific config into the appropriate board directory. boards/stm32f4xx-af.csv was extracted from the STM32F4xx datasheet and hand-tweaked. make-pins.py takes boards/stm32f4xx-af.csv, boards/stm32f4xx-prefix.c, and boards/BOARD-NAME/pins.csv as input and generates the file build/pins_BOARD_NAME.c The generated pin file for PYBOARD4 looks like this: https://gist.github.com/dhylands/9063231 The generated pins file includes all of the supported alternate functions, and includes upsupported alternate functions as comments. See the commnet block at the top of stm/pin_map.c for details on how to use the pin mapper. I also went ahead and modified stm/gpio.c to use the pin mapper. | |||
| 2014-02-17 | Merge pull request #309 from pfalcon/stm-sys-path | Damien George | |
| stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"]. | |||
| 2014-02-18 | stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"]. | Paul Sokolovsky | |
| This is compatible with what search path was before sys.path refactor, with addition of module library path ("0:/lib"). | |||
| 2014-02-16 | Fix build for netduino and stm32f4disc | Dave Hylands | |
| 2014-02-16 | stm: Factor out GPIO code to its own file. Add functions to set GPIO mode. | Damien George | |
| GPIO functions are crude, and need to be replaced with better ones! | |||
| 2014-02-16 | stm: Rename mma -> accel. | Damien George | |
| 2014-02-16 | stm: Put REPL functions in own file; add raw REPL mode. | Damien George | |
| Raw REPL mode is activated by CTRL-A, and allows you to more easily communicate with the pyboard over the serial channel. In particular, automated communication using, eg, pyserial on the PC side. | |||
| 2014-02-15 | Implement proper exception type hierarchy. | Damien George | |
| Each built-in exception is now a type, with base type BaseException. C exceptions are created by passing a pointer to the exception type to make an instance of. When raising an exception from the VM, an instance is created automatically if an exception type is raised (as opposed to an exception instance). Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper. Handling of parse error changed to match new exceptions. mp_const_type renamed to mp_type_type for consistency. | |||
| 2014-02-13 | stm: If SD card inserted on hard reset, it is the medium for USB MSD. | Damien George | |
| 2014-02-12 | Remove mp_obj_new_exception_msg_1_arg and _2_arg. | Damien George | |
| 2014-02-10 | stm: Tidy up memory labels; optimise GC root scanning. | Damien George | |
| Addresses issues #272 and #273. | |||
| 2014-02-08 | stm: Mount SD card on 1:/ if present. | Damien George | |
| If SD card is present on (soft) reset then it's mounted on 1:/ and files can be openned using, eg, open('1:/test.txt', 'r'), or 'w' for writing. | |||
| 2014-02-03 | Initial support for Netduino | Dave Hylands | |
| This also fixes up the IRQ for the PYBOARD4 USERSW although I was unable to test that functionality. | |||
| 2014-02-01 | stm: Add support for ctrl-C to interrupt running Python. | Damien George | |
| Using PendSV interrupt at lowest priority, code can now raise an exception during an interrupt by calling pendsv_nlr_jump. The exception will be raised when all interrupts are finished. This is used to trap ctrl-C from the USB VCP to break out of running Python code. | |||
| 2014-01-29 | stm: Add optional memory debugging output. | Damien George | |
| 2014-01-29 | stm: Fix gccollect ram range. | Damien George | |
| 2014-01-29 | Fix unused function warning in main | mux | |
| * Add SD card test to fix warning | |||
| 2014-01-29 | Move HEAP_END and RAM_END to linker script | mux | |
| * Issue #232 | |||
| 2014-01-28 | stm: Increase timeout for RTC LSE startup; use backup regs. | Damien George | |
| 2014-01-26 | stm: USB host mode working! Restructure stm library directories. | Damien George | |
| 2014-01-25 | stm: Improved ADC module; add BOARD_NAME config value. | Damien George | |
| 2014-01-25 | Implement mp_parse_node_free; print properly repr(string). | Damien George | |
| 2014-01-25 | stm: Put gc_collect code in separate file; define _ram_start in .ld. | Damien George | |
| To partly address Issue #220. | |||
| 2014-01-24 | Revert "Move gc_collect to py/gc.c" | Damien George | |
| This reverts commit a215b09c0dc29b82161092e92ea2e5e004d79468. | |||
| 2014-01-24 | Move gc_collect to py/gc.c | mux | |
| * Move gc_collect from main to py/gc.c * Define GC's memory boundaries in linker script * Issue #220 | |||
| 2014-01-24 | Move file obj to separate module | mux | |
| 2014-01-23 | stm: Remove unnecessary #includes; small other changes. | Damien George | |
| 2014-01-23 | Merge branch 'master' of github.com:iabdalkader/micropython into ↵ | Damien George | |
| iabdalkader-master Conflicts: stm/main.c | |||
| 2014-01-23 | stm: LCD support for PYBv4; fix MMA reading code. | Damien George | |
| 2014-01-23 | Move RTC to Separate Module | mux | |
| * Move RTC code from main to a separate module. | |||
| 2014-01-23 | Add More Feature Test Macros | mux | |
| * Add MICROPY_HW_HAS_LCD * Add MICROPY_HW_HAS_WLAN * Use feature test macros in main | |||
| 2014-01-22 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-01-22 | stm: Fix USART3 init. Small edits to Makefile and other things. | Damien George | |
| 2014-01-22 | Fix Feature Macro Prefix | mux | |
| 2014-01-22 | Remove Underscore from Macro Names | mux | |
| 2014-01-22 | Add Generic Feature Macros to mpconfigport | mux | |
| * Add some generic feature macros to mpconfigport * Move pin and port definitions from usrsw.c to mpconfigport | |||
| 2014-01-22 | Second stage of qstr revamp: uPy str object can be qstr or not. | Damien George | |
| 2014-01-22 | Merge branch 'fix-stm-discovery' of github.com:dhylands/micropython into ↵ | Damien George | |
| dhylands-fix-stm-discovery Conflicts: stm/main.c | |||
| 2014-01-21 | Fix support for STM32F4DISCOVERY | Dave Hylands | |
