- 22 Mar, 2014 5 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 21 Mar, 2014 1 commit
-
-
Damien George authored
This gives a functioning, independent MSC device.
-
- 20 Mar, 2014 1 commit
-
-
Damien George authored
-
- 19 Mar, 2014 1 commit
-
-
Damien George authored
-
- 17 Mar, 2014 3 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
Just low-level read/write support. No filesystem yet.
-
- 16 Mar, 2014 1 commit
-
-
Dave Hylands authored
-
- 15 Mar, 2014 3 commits
-
-
Damien George authored
-
Damien George authored
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...).
-
Dave Hylands authored
-
- 14 Mar, 2014 2 commits
-
-
Dave Hylands authored
Tweaked a couple of the USB files to compile if neither dev nor host was defined. Tested on netduiono plus 2 and stm32f4discovery boards
-
Damien George authored
Enumerates CDC device over USB, but doesn't transmit/receive yet.
-
- 13 Mar, 2014 2 commits
-
-
Dave Hylands authored
-
Dave Hylands authored
-
- 12 Mar, 2014 3 commits
-
-
Damien George authored
-
Damien George authored
-
Dave Hylands authored
This compiles and links, but hasn't been tested on a board yet and even if it was run, it doesn't currently do anything.
-
- 08 Mar, 2014 4 commits
-
-
Damien George authored
-
Damien George authored
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).
-
Damien George authored
-
Damien George authored
-
- 01 Mar, 2014 1 commit
-
-
mux authored
-
- 24 Feb, 2014 1 commit
-
-
Damien George authored
With this option selected, only HID on its own works, not VCP+HID.
-
- 23 Feb, 2014 2 commits
-
-
Dave Hylands authored
Revamp usrsw to use new exti code. Add user switch callback function.
-
Damien George authored
Stack layout is different when -g used, so need to handle the pendsv jump differently. Addresses Issue #315.
-
- 19 Feb, 2014 1 commit
-
-
Damien George authored
-
- 18 Feb, 2014 1 commit
-
-
Dave Hylands authored
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.
-
- 17 Feb, 2014 2 commits
-
-
Paul Sokolovsky authored
This is compatible with what search path was before sys.path refactor, with addition of module library path ("0:/lib").
-
Dave Hylands authored
-
- 16 Feb, 2014 3 commits
-
-
Damien George authored
GPIO functions are crude, and need to be replaced with better ones!
-
Damien George authored
-
Damien George authored
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.
-
- 15 Feb, 2014 1 commit
-
-
Damien George authored
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.
-
- 13 Feb, 2014 1 commit
-
-
Damien George authored
-
- 12 Feb, 2014 1 commit
-
-
Damien George authored
-