aboutsummaryrefslogtreecommitdiff
path: root/tools/ci.sh
AgeCommit message (Collapse)Author
2021-04-23stm32/mboot: Allow unpacking dfu without secret key.David Michieli
- unpack-dfu command no longer requies a secret key to be present - pack-dfu command raises an exception if no secret key is found
2021-04-15tools/ci.sh: Build esp32 using IDF v4.0.2 and v4.3.Damien George
To test different IDF's, and also test building the GENERIC_S2 board. Signed-off-by: Damien George <damien@micropython.org>
2021-04-01examples/usercmodules: Simplify user C module enabling.Damien George
It's a bit of a pitfall with user C modules that including them in the build does not automatically enable them. This commit changes the docs and examples for user C modules to encourage writers of user C modules to enable them unconditionally. This makes things simpler and covers most use cases. See discussion in issue #6960, and also #7086. Signed-off-by: Damien George <damien@micropython.org>
2021-04-01tools/ci.sh: Build user C modules for esp32.Michael O'Cleirigh
Builds the esp32 port against the example C and CXX modules. Signed-off-by: Michael O'Cleirigh <michael.ocleirigh@rivulet.ca>
2021-03-31tools/ci.sh: Add CI for CMake USER_C_MODULE support.Phil Howard
Builds the rp2 port against the example C and CXX modules. Signed-off-by: Phil Howard <phil@pimoroni.com>
2021-03-12tests: Rename run-tests to run-tests.py for consistency.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2021-02-17stm32/mboot: Add unpack-dfu command to mboot_pack_dfu.py tool.David Michieli
This command unpacks a previously packed DFU file, writing out a DFU which should be the same as the original (before packing).
2021-02-16tools/ci.sh: Update zephyr docker image to v0.11.13.Maureen Helm
Updates the zephyr docker image to the latest, v0.11.13. This updates CI to use zephyr SDK v0.12.2 and GCC v10.2.0 for the zephyr port. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-02-16zephyr: Build MicroPython as a cmake target.Maureen Helm
Refactors the zephyr build infrastructure to build MicroPython as a cmake target, using the recently introduced core cmake rules. This change makes it possible to build the zephyr port like most other zephyr applications using west or cmake directly. It simplifies building with extra cmake arguments, such as specifying an alternate conf file or adding an Arduino shield. It also enables building the zephyr port anywhere in the host file system, which will allow regressing across multiple boards with the zephyr twister script. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-02-16zephyr: Update to zephyr v2.5.0.Maureen Helm
Updates the zephyr port build instructions and CI to use the latest zephyr release tag. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-02-15tools/ci.sh: Change esp32 CI to work with idf.py and IDF v4.0.2.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2021-02-12rp2: Use local tinyusb instead of the one in pico-sdk.Damien George
So that all MicroPython ports that use tinyusb use the same version. Also requires fewer submodule checkouts when building rp2 along with other ports that use tinyusb. Signed-off-by: Damien George <damien@micropython.org>
2021-01-30github/workflows: Add workflow to verify commit message format.stijn
Using the new tools/verifygitlog.py script.
2021-01-30github/workflows: Add CI workflow for rp2 port.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2021-01-29tools/ci.sh: For ci_code_size_setup, update apt to install gcc-multilib.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2021-01-24tools/ci.sh: For code size build, fetch history of master branch only.Damien George
It's not necessary to fetch all branches. Signed-off-by: Damien George <damien@micropython.org>
2021-01-18tools/ci.sh: Pip install pyhy for stm32 builds.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2020-12-14tools/ci.sh: Use pip-install to get latest version of esptool.py.Damien George
Because the version included in xtensa-lx106-elf-standalone.tar.gz needs Python 2 (and pyserial for Python 2). Signed-off-by: Damien George <damien@micropython.org>
2020-12-14tools/ci.sh: Put echo of CI path in a separate function.Damien George
Because the setup functions may print other information which should not be added to the path. Signed-off-by: Damien George <damien@micropython.org>
2020-12-07stm32/Makefile: Change -O0 to -Og for DEBUG=1 builds.Damien George
The -Og optimisation level produces a more realistic build, gives a better debugging experience, and generates smaller code than -O0, allowing debug builds to fit in flash. This commit also assigns variables in can.c to prevent warnings when -Og is used, and builds a board in CI with DEBUG=1 enabled. Signed-off-by: Damien George <damien@micropython.org>
2020-11-29tools/ci.sh: Add helper script to run CI tasks.Damien George
The aim is for this script to be used on any CI platform, as well as run locally. Signed-off-by: Damien George <damien@micropython.org>