- 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.
-
- 21 Apr, 2014 1 commit
-
-
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 :)
-
- 20 Apr, 2014 1 commit
-
-
Damien George authored
-
- 19 Apr, 2014 1 commit
-
-
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 3 commits
-
-
Damien George authored
Taken straight from musl and newlib. License seems compatible with MIT.
-
Andrew Scheller authored
The autogenerated header files have been moved about, and an extra include dir has been added, which means you can give a custom BUILD=newbuilddir option to make, and everything "just works" Also tidied up the way the different Makefiles build their include- directory flags
-
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
-
- 10 Apr, 2014 1 commit
-
-
Damien George authored
Also contains raw memory read/write functions, read8, read16, read32, write8, write16, write32. Can now do: stm.write16(stm.GPIOA + stm.GPIO_BSRRL, 1 << 13) This turns on the red LED. With the new constant folding, the above constants for the GPIO address are actually compiled to constants (and the addition done) at compile time. For viper code and inline assembler, this optimisation will make a big difference. In the inline assembler, using these constants would not be possible without this constant folding.
-
- 07 Apr, 2014 1 commit
-
-
Andrew Scheller 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
All board config macros now begin with MICROPY_HW_. Renamed PYBv10 to PYBV10, since macros should be all uppercase. Made SDCARD_DETECT configurable in mpconfigport.h, so that the SD detect pin can be easily configured.
-
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 2 commits
-
-
Damien George authored
-
Damien George authored
Comes with some refactoring of code and renaming of files. All modules are now named mod*.[ch].
-
- 24 Mar, 2014 3 commits
-
-
Dave Hylands authored
Added support for the ADC channels and mappings to make_pins.py I'm not sure if the hal properly deals with the channel 16/18 differences between the 40x and 42x. It seems to deal with it partially. This particular aspect will need testing on a 42x or 43x.
-
Damien George authored
-
Damien George authored
-
- 22 Mar, 2014 6 commits
-
-
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.
-
- 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.
-
- 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 1 commit
-
-
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 1 commit
-
-
Damien George authored
-