summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/pybsd.c
Commit message (Collapse)AuthorAge
* ports: Make new ports/ sub-directory and move all ports there.Damien George2017-09-06
| | | | | | This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
* all: Convert remaining "mp_uint_t n_args" to "size_t n_args".Damien George2017-08-30
| | | | This is to have consistency across the whole repository.
* all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.Damien George2017-08-21
|
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
| | | | | There were several different spellings of MicroPython present in comments, when there should be only one.
* cc3200: When raising OSError's use MP_Exxx as arg instead of a string.Damien George2017-02-22
|
* extmod: Merge old fsusermount.h header into vfs.h and vfs_fat.h.Damien George2017-01-30
| | | | | vfs.h is for generic VFS declarations, and vfs_fat.h is for VfsFat specific things.
* cc3200: Convert to use new VFS sub-system and new ooFatFs library.Damien George2017-01-30
|
* all: Consistently update signatures of .make_new and .call methods.Paul Sokolovsky2017-01-04
| | | | | Otherwise, they serve reoccurring source of copy-paste mistakes and breaking nanbox build.
* cc3200: Use mp_raise_XXX helper functions to reduce code size.Damien George2016-10-18
| | | | Reduces code size by 632 bytes.
* py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George2016-01-11
| | | | | | | | The first argument to the type.make_new method is naturally a uPy type, and all uses of this argument cast it directly to a pointer to a type structure. So it makes sense to just have it a pointer to a type from the very beginning (and a const pointer at that). This patch makes such a change, and removes all unnecessary casting to/from mp_obj_t.
* all: Add py/mphal.h and use it in all ports.Damien George2015-10-31
| | | | | | py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations.
* cc3200: Rename pyb module to machine.Daniel Campora2015-09-27
|
* cc3200/mods: Use mp_obj_get_array_fixed_n() where applicable.Daniel Campora2015-09-27
|
* cc3200: New irq API, affects all classes that provide the irq method.Daniel Campora2015-09-27
|
* cc3200: New SD and RTC API plus os and time modules' extensions.Daniel Campora2015-09-21
|
* cc3200: Re-work Pin class according to the new API.Daniel Campora2015-09-10
| | | | Also add relevant test.
* cc3200: Implement new Pin API.Daniel Campora2015-09-10
|
* cc3200: Rework SD API. Increase heap to avoid malloc failures.Daniel Campora2015-08-16
|
* cc3200: Enable long filename support in FatFS.Daniel Campora2015-04-11
| | | | | | | This has implications all over the place. I have to admit that you can instantly see that usability improves, but it costs 3K. At the same time I took the oportunity to rename the '/SFLASH' drive to '/flash' which improves compatibility with the pyboard.
* cc3200: Remove duplicated code from moduos.Daniel Campora2015-03-31
| | | | | Error reporting is also changed from detailed to terse, as with the rest of the CC3200's modules. All this combined saves ~200 bytes.
* cc3200: Fixes and improvements to the SD card driver.danicampora2015-03-18
|
* cc3200: Register pybsd with the sleep module and use pin_config().danicampora2015-03-17
|
* cc3200: Align SD card driver with new SDK release(1.1.0).danicampora2015-03-16
|
* cc3200: Place functions only used while booting in a special section.danicampora2015-03-11
| | | | | | | | | Such functions are never used after MicroPython has started, and they remain in RAM wasting space. Now they are placed in a special section named "boot" which sits just before the heap, allowing us to extend the effective heap area up to the new boot section. Right now, this gives us back ~1K, but in the future, more functions might end up in there as well.
* cc3200: Add preliminary low power deep sleep support.danicampora2015-03-11
|
* cc3200: Add WDT functionality as part of the pyb module.danicampora2015-02-25
| | | | | | Also improve pybsd, and make it save it's pin configuration. This is a necessary step towards supporting the CC3200 low power deep sleep (LPDS) mode.
* cc3200: Remove dependencies from FreeRTOS.danicampora2015-02-22
| | | | | Use the simplelink wrappers instead. This is one step further towards having a single module for the cc3200 and the cc3100.
* cc3200: Rename SD.config() to SD.config_pins().danicampora2015-02-21
|
* cc3200: Remove sd paths from sys path when disabling the sd card.danicampora2015-02-21
|
* cc3200: Add explicit py/ path-prefix for py includes.Damien George2015-02-21
| | | | | This is how it should be, so one knows exactly where the includes are coming from.
* cc3200: Correct pybsd_config() params retrieval.danicampora2015-02-21
|
* cc3200: Add SD module and disable SD card support for the LAUNCHXL.danicampora2015-02-21