- 03 May, 2014 1 commit
-
-
Damien George authored
This renames MICROPY_HW_HAS_WLAN to MICROPY_HW_ENABLE_CC3K (since it's a driver, not a board feature) and wraps all CC3000 code in this #if. It's disabled for all boards.
-
- 30 Apr, 2014 1 commit
-
-
Damien George authored
It's not enabled by default because it doesn't fully work. It can connect to an AP, get an IP address and do a host-lookup, but not yet do send or recv on a socket.
-
- 26 Apr, 2014 1 commit
-
-
Damien George authored
-
- 21 Apr, 2014 3 commits
-
-
Damien George authored
Instead of pyb.switch() as a function, it's more consistent (with respect to all the other modules and peripherals) to have pyb.Switch() create a switch object. This then generalises to having multiple switches. Call the object to get its state. Use sw.callback to set the callback function for when the switch is pressed.
-
Damien George authored
Simple but functional timer control. More sophistication will eventually be added, or for now just use direct register access :) Also added pyb.freq() function to get MCU clock frequencies.
-
Damien George authored
It's really a UART because there is no external clock line (and hence no synchronous ability, at least in the implementation of this module). USART should be reserved for a module that has "S"ynchronous capabilities. Also, UART is shorter and easier to type :)
-
- 19 Apr, 2014 3 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
Also some updates to compile with latest changes to core py.
-
- 18 Apr, 2014 1 commit
-
-
Damien George authored
This is an attempt to clean up the Micro Python API on the pyboard. Gpio functionality is now in the Pin object, which seems more natural. Constants for MODE and PULL are now in pyb.Pin. Names of some classes have been adjusted to conform to CamelCase. Other miscellaneous changes and clean up here and there.
-
- 17 Apr, 2014 2 commits
-
-
Damien George authored
Any generated headers go in $(BUILD)/genhdr/, and are #included as 'genhdr/xxx.h'.
-
Damien George authored
-
- 16 Apr, 2014 1 commit
-
-
Andrew Scheller authored
The USB VID&PID are automatically extracted from usbd_desc_cdc_msc.c and inserted into pybcdc_inf.template, ensuring that the same USB IDs get used everywhere
-
- 15 Apr, 2014 2 commits
-
-
Dave Hylands authored
-
Damien George authored
-
- 13 Apr, 2014 2 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
-
- 09 Apr, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
-
- 08 Apr, 2014 1 commit
-
-
Damien George authored
If no nlr_buf has been pushed, and an nlr_jump is called, then control is transferred to nlr_jump_fail (which should bail out with a fatal error).
-
- 03 Apr, 2014 1 commit
-
-
Damien George authored
-
- 02 Apr, 2014 1 commit
-
-
Damien George authored
As per issue #257, servo is better on TIM5 because TIM2 is connected to more GPIO.
-
- 30 Mar, 2014 2 commits
-
-
Damien George authored
Mostly just a global search and replace. Except rt_is_true which becomes mp_obj_is_true. Still would like to tidy up some of the names, but this will do for now.
-
Damien George authored
Can now choose at boot up whether the USB device is CDC+MSC or CDC+HID. Choice is made by an option in boot.py, with default being CDC+MSC. HID+MSC is not currently supported, but should be easy to implement. Boot up now has ability to change the reset mode: hold down USR switch while booting and LEDs will count from 1 to 7 to indicate the boot mode. Release USR when correct mode is selected. Current modes are 1 (normal boot), 2 (safe mode), 3 (reset FS mode).
-
- 29 Mar, 2014 1 commit
-
-
Damien George authored
Adds readline_init() to clear readline history on soft reset. Addresses issue #387.
-
- 25 Mar, 2014 4 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
Comes with some refactoring of code and renaming of files. All modules are now named mod*.[ch].
-
Dave Hylands authored
Fix adc to work with resolution changes.
-
- 24 Mar, 2014 3 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 22 Mar, 2014 7 commits
-
-
Damien George authored
As part of this, rejig the way TIM3 is initialised, since it's now shared by USB CDC and the blue LED PWM.
-
Damien George authored
-
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.
-