| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-20 | stmhal: Improved configurability for I2C and SPI busses. | Damien George | |
| The HAL handles for the I2C/SPI objects are rather large, so we don't want to unnecessarily include them. | |||
| 2014-04-20 | Fix i2c and spi to compile for Netduino Plus 2 | Dave Hylands | |
| 2014-04-20 | stmhal: Small bug fixes and simplifications. | Damien George | |
| 2014-04-20 | stmhal: Only init RNG if it's used. | Damien George | |
| 2014-04-20 | stmhal: Update ExtInt to allow keyword arguments in constructor. | Damien George | |
| 2014-04-20 | stmhal: Tidy up and improve consistency across modules. | Damien George | |
| 2014-04-20 | stmhal: Add SPI class. | Damien George | |
| Also some updates to compile with latest changes to core py. | |||
| 2014-04-19 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-04-19 | stmhal: Add pyb.Pin.init method to re-init GPIO pin mode. | Damien George | |
| 2014-04-19 | stmhal: Improve RTC class; make fatfs use RTC for time stamping files. | Damien George | |
| 2014-04-19 | stmhal: Add pyb.unique_id, to get unique id of MCU. | Damien George | |
| 2014-04-19 | stmhal: Update for mp_binary_get_size() refactor. | Paul Sokolovsky | |
| 2014-04-19 | stmhal: Rename pyb.Led to pyb.LED to conform to naming rules. | Damien George | |
| It's Light Emitting Diode, so should be LED. | |||
| 2014-04-19 | stmhal: Remove pyb.input (use sys.stdio.read(1) instead). | Damien George | |
| 2014-04-19 | stmhal: Add lots of constants to stm module. | Damien George | |
| 2014-04-18 | stmhal: Update ADC, DAC and I2C objects to use new buffer protocol. | Damien George | |
| Main reason for expanding buffer protocol API was to support writes to a buffer in ADC module (see read_timed). With this change you can now create an array of arbitrary type and ADC.read_timed will store into that array in the correct format (byte, int, float). I wonder though if all these changes were really worth it to support just this function. Hopefully this enhanced buffer protocol API (with typecode specified) will be used elsewhere. | |||
| 2014-04-18 | stmhal: Update help and comments re gpio changing to Pin. | Damien George | |
| 2014-04-18 | stmhal: Big cleanup; merge gpio into Pin; make names consistent. | Damien George | |
| 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. | |||
| 2014-04-18 | stmhal: Remove non-ascii character from include file. | Damien George | |
| 2014-04-17 | py: Rename USE_COMPUTED_GOTOS to USE_COMPUTED_GOTO and enable on stmhal. | Damien George | |
| On stmhal, computed gotos make the binary about 1k bigger, but makes it run faster, and we have the room, so why not. All tests pass on pyboard using computed gotos. | |||
| 2014-04-17 | py: Fix pfenv_print_strn to return correct number of chars printed. | Damien George | |
| With this fix, all tests in tests/basics pass on pyboard. | |||
| 2014-04-17 | build: Simplify build directory layout by putting all headers in genhdr. | Damien George | |
| Any generated headers go in $(BUILD)/genhdr/, and are #included as 'genhdr/xxx.h'. | |||
| 2014-04-17 | Merge branch 'relocatable-build-dir' of github.com:lurch/micropython into ↵ | Damien George | |
| lurch-relocatable-build-dir | |||
| 2014-04-17 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-04-17 | stmhal: Clean up fatality indications; remove long-obsolete malloc0.c. | Damien George | |
| 2014-04-17 | stmhal: Change VID to 0xf055=FOSS, and PID to a random number. | Damien George | |
| Needs a better solution. | |||
| 2014-04-17 | Merge pull request #500 from dhylands/fix-sdcard-removed | Damien George | |
| Fix to allow usbd_msc_storage.c to compile when MICROPY_HW_HAS_SDCARD is... | |||
| 2014-04-17 | stmhal: Add more math functions. | Damien George | |
| Taken straight from musl and newlib. License seems compatible with MIT. | |||
| 2014-04-17 | stmhal: Fix 64-byte USB packet bug properly. | Damien George | |
| A 64-byte packet is now followed by a 0-byte packet if there is nothing more to send. This flushes the USB endpoint. | |||
| 2014-04-16 | stmhal: Replace magic number 3 with CDC_IN_EP define. | Damien George | |
| 2014-04-16 | stmhal: Improve flash storage cache management. | Damien George | |
| Internal flash used for the filesystem is now written (from the cache) only after a 5s delay, or when a file is closed, or when the drive is unmounted from the host. This delay means that multiple writes can accumulate in the cache, and leads to less writes to the flash, making it last longer. It's implemented by a high-priority interrupt that takes care of flash erase and write, and flushing the cache. This is still only an interim solution for the flash filesystem. It eventually needs to be replaced with something that uses less RAM for the cache, something that can use more of the flash, and something that does proper wear levelling. | |||
| 2014-04-16 | build directory can now be renamed | Andrew Scheller | |
| 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 | |||
| 2014-04-16 | Fix to allow usbd_msc_storage.c to compile when MICROPY_HW_HAS_SDCARD isn't ↵ | Dave Hylands | |
| defined. | |||
| 2014-04-16 | stmhal: Add pyb.have_cdc function to check if USB CDC device is enabled. | Damien George | |
| 2014-04-16 | stmhal: Fix USB CDC buffer overrun error. | Damien George | |
| Need to wait for the low-level USB driver to send the data over the USB in-endpoint before the buffer can be used again. This patch adds a check for this. | |||
| 2014-04-16 | Merge pull request #498 from lurch/create-headers-from-files | Damien George | |
| Auto-generate the stmhal/pybcdc_inf header file from static files | |||
| 2014-04-16 | stmhal: Fix C bindings of I2C.read/write. | Damien George | |
| 2014-04-16 | Auto-generate the stmhal/pybcdc_inf header file from static files | Andrew Scheller | |
| 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 | |||
| 2014-04-16 | stmhal: Add I2C functions for pure master read/write. | Damien George | |
| 2014-04-15 | Merge pull request #496 from dhylands/fix-debug-usart | Damien George | |
| Fix call to enable pyb_usart_global_debug. | |||
| 2014-04-15 | Fix call to enable pyb_usart_global_debug. | Dave Hylands | |
| 2014-04-15 | stmhal: Fix USB MSC so that it unmounts correctly on Mac OS X. | Damien George | |
| Mac OS X sends a SCSI command to remove the medium when it unmounts a drive. If this command is not honoured, then OS X will automatically remount the drive, making it impossible to eject. This patch disables the USB MSC when the right SCSI command is sent. | |||
| 2014-04-15 | stmhal: Add ADC function to read data at a given frequency. | Damien George | |
| Reads ADC values into a bytearray (or similar) at a fixed rate. Needs a better name and improved API. Also fix up DAC dma function (which also needs a better name and API). | |||
| 2014-04-15 | stmhal: Add I2C.scan method, to scan all devices on the bus. | Damien George | |
| Simple way to find the address of an attached I2C device. | |||
| 2014-04-15 | stmhal: Add simple README.txt to freshly-created filesystem. | Damien George | |
| 2014-04-15 | stmhal: Wrap skin-named-usarts in PYBV10 #if. | Damien George | |
| 2014-04-14 | stmhal: Work around crazy bug in USB CDC. | Damien George | |
| Packets of 64 bytes length are not send to the host until the following packet is sent. Fixed by never sending packets of 64 bytes length. | |||
| 2014-04-14 | stmhal: Improved usart module a bit. | Damien George | |
| 2014-04-14 | stmhal: Add pyb.wfi() function (calls __WFI). | Damien George | |
| 2014-04-13 | stmhal: Add stdin/stdout/stderr objects. | Damien George | |
| Available via sys.std{in,out,err}. Basic reading and writing supported. Even sys.stdin.readline! | |||
