aboutsummaryrefslogtreecommitdiff
path: root/cc3200/bootmgr
AgeCommit message (Collapse)Author
2017-09-06ports: Make new ports/ sub-directory and move all ports there.Damien George
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.
2017-08-11all: Make use of $(TOP) variable in Makefiles, instead of "..".Damien George
$(TOP) is defined in py/mkenv.mk and should be used to refer to the top level of this repository.
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
There were several different spellings of MicroPython present in comments, when there should be only one.
2017-07-18all: Unify header guard usage.Alexander Steffen
The code conventions suggest using header guards, but do not define how those should look like and instead point to existing files. However, not all existing files follow the same scheme, sometimes omitting header guards altogether, sometimes using non-standard names, making it easy to accidentally pick a "wrong" example. This commit ensures that all header files of the MicroPython project (that were not simply copied from somewhere else) follow the same pattern, that was already present in the majority of files, especially in the py folder. The rules are as follows. Naming convention: * start with the words MICROPY_INCLUDED * contain the full path to the file * replace special characters with _ In addition, there are no empty lines before #ifndef, between #ifndef and one empty line before #endif. #endif is followed by a comment containing the name of the guard macro. py/grammar.h cannot use header guards by design, since it has to be included multiple times in a single C file. Several other files also do not need header guards as they are only used internally and guaranteed to be included only once: * MICROPY_MPHALPORT_H * mpconfigboard.h * mpconfigport.h * mpthreadport.h * pin_defs_*.h * qstrdefs*.h
2017-02-21cc3200: Remove remaining references to std.h.Damien George
2015-11-29py: Change qstr_* functions to use size_t as the type for str len arg.Damien George
2015-11-10lib/utils/printf: Move from stmhal/ .Paul Sokolovsky
This file contains various MicroPython-specific helper functions, so isn't good fit for lib/libc/.
2015-11-01cc3200: Remove includes of rom.h (must be included via rom_map.h).danicampora
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
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.
2015-10-28cc3200: Actually allow to specify a custom build directory.danicampora
2015-09-21cc3200: Correct safe boot level 1 blinking period.Daniel Campora
2015-08-16cc3200: Don't clear the WDT special bit in the bootloader.Daniel Campora
2015-08-09cc3200: On the first boot, always make AP ssid='wipy-wlan'.Daniel Campora
On the first boot don't add the MAC address, this is to speed up factory testing.
2015-08-09cc3200: Refactor PRCM special user bits implementation.Daniel Campora
2015-08-09cc3200: Enable bootloader safe boot on latest firmware.Daniel Campora
The first safe boot level executes the latest firmware but skips 'main.py' and 'boot.py'.
2015-07-15cc3200: Implement new OTA mechanism with 2 firmware update slots.Daniel Campora
2015-07-08cc3200: Correct udelay us to ticks calculation.Daniel Campora
2015-06-30cc3200: Add CA, certificate and key files to the updater list.Daniel Campora
2015-06-07cc3200: Re-config antenna selection when waking from suspended mode.Daniel Campora
2015-06-07cc3200: Add antenna selection feature to WLAN.Daniel Campora
2015-05-20cc3200: Add uhashlib. Supports SHA1 and SHA256.Daniel Campora
2015-04-29cc3200: When requesting safe boot, blink the led 3 times, not 4.Daniel Campora
2015-04-28py: Replace py-version.sh with makeversionhdr.py, written in Python.Damien George
Also rename py-version.h to mpversion.h for consistency with mpconfig.h.
2015-04-19cc3200: Fix bootloader and modpyb after printf overhaul.Daniel Campora
The bootloader needs string0.c because of memset, memcpy and others, without string0.c it magically links, but calling any of those functions results in a hard fault. In debug mode, modpyb needs printf, and including stdio.h leads to conflicts due to the redefinitions made in the simplelink drivers.
2015-04-18cc3200: Clean up and reduce use/include of std.h.Damien George
2015-04-17cc3200: Clean up bootloader makefile and remove superflous assert.Daniel Campora
2015-04-16cc3200: Get bootloader compiling with latest overhaul of printf code.Damien George
2015-04-05cc3200: Fix typo after previous refactor.Paul Sokolovsky
2015-04-05string0.c: Move from stmhal/ to lib/.Paul Sokolovsky
2015-03-16cc3200: Update simplelink SPI driver to SDK release version 1.1.0.danicampora
2015-03-16cc3200: Update HAL to SDK release version 1.1.0.danicampora
2015-03-14cc3200: Rewrite the PRCM RTC functionality methods.danicampora
This allows to use the On-Chip retention registers for both the RTC and to share notification flags between the bootloader and the application. The two flags being shared right now are the "safe boot" request and the WDT reset cause. we still have 2 more bits free for future use.
2015-03-14cc3200: Clean up linker scripts and startup file.danicampora
2015-03-11cc3200: Add power management framework. Add mpcallback class.danicampora
Supports suspend and hibernate modes. Waking is possible throug GPIO and WLAN. The mpcallback class is generic and can be reused by other classes.
2015-03-11cc3200: Make WDT and HeartBeat constant objects on their own right.danicampora
2015-02-28cc3200: Create separate release/debug build directoriesJohan Hendriks
2015-02-25cc3200: Implement safe boot pin and system led behaviour.danicampora
The safe boot pin, when pulled high during reset rolls back the firmware to the "factory" image and skips execution of 'boot.py' and 'main.py'. This is useful to recover from a crash condition. The system led is used mostly to signal errors.
2015-02-25cc3200: Add WDT functionality as part of the pyb module.danicampora
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.
2015-02-22cc3200: Add optimization flags to drivers/cc3100 in the debug build.danicampora
2015-02-21drivers/cc3100: Remove dependence on debug.h.Damien George
2015-02-21cc3200: Get compiling with CC3100 driver from drivers/ directory.Damien George
2015-02-21cc3200: Add explicit py/ path-prefix for py includes.Damien George
This is how it should be, so one knows exactly where the includes are coming from.
2015-02-21cc3200: Add SD module and disable SD card support for the LAUNCHXL.danicampora
2015-02-21cc3200: Add exit values to the shell scripts.danicampora
2015-02-20cc3200: Change safe-boot pin to GPIO28.danicampora
2015-02-20cc3200: Remove asserts from sl_Stop() and reduce timeout to 250ms.danicampora
2015-02-09cc3200: Rename GPIO module to Pin.danicampora
This change helps making the cc3200 port API a bit closer to stmhal. The ramaining differences are due to the specific hardware details of each chip. One feature that has been deliberately disabled is the possibility to add custom names and custom pin mappings. Those features are nice and convenient, but in this port, code size is a major concern.
2015-02-09cc3200: Add bootmanager relocator to the repository.danicampora
This file was accidentally skipped when the cc3200 port was added to the tree since binary files are by default igonerd by git. This is a small precompiled piece of software provided by TI that simply relocates the boot manager to the beginning of the RAM space after it has been written by the ROM bootloader.
2015-02-06cc3200: Add cc3200 port of MicroPython.danicampora
The port currently implements support for GPIO, RTC, ExtInt and the WiFi subsystem. A small file system is available in the serial flash. A bootloader which makes OTA updates possible, is also part of this initial implementation.