summaryrefslogtreecommitdiffstatshomepage
path: root/tools/autobuild/autobuild.sh
Commit message (Collapse)AuthorAge
* all: Switch to new preview build versioning scheme.v1.22.0-previewJim Mussared2023-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/micropython/micropython/issues/12127 for details. Previously at the point when a release is made, we update mpconfig.h and set a git tag. i.e. the version increments at the release. Now the version increments immediately after the release. The workflow is: 1. Final commit in the cycle updates mpconfig.h to set (X, Y, 0, 0) (i.e. clear the pre-release state). 2. This commit is tagged "vX.Y.0". 3. First commit for the new cycle updates mpconfig.h to set (X, Y+1, 0, 1) (i.e. increment the minor version, set the pre-release state). 4. This commit is tagged "vX.Y+1.0-preview". The idea is that a nightly build is actually a "preview" of the _next_ release. i.e. any documentation describing the current release may not actually match the nightly build. So we use "preview" as our semver pre-release identifier. Changes in this commit: - Add MICROPY_VERSION_PRERELEASE to mpconfig.h to allow indicating that this is not a release version. - Remove unused MICROPY_VERSION integer. - Append "-preview" to MICROPY_VERSION_STRING when the pre-release state is set. - Update py/makeversionhdr.py to no longer generate MICROPY_GIT_HASH. - Remove the one place MICROPY_GIT_HASH was used (it can use MICROPY_GIT_TAG instead). - Update py/makeversionhdr.py to also understand MICROPY_VERSION_PRERELEASE in mpconfig.h. - Update py/makeversionhdr.py to convert the git-describe output into semver-compatible "X.Y.Z-preview.N.gHASH". - Update autobuild.sh to generate filenames using the new scheme. - Update remove_old_firmware.py to match new scheme. - Update mpremote's pyproject.toml to handle the "-preview" suffix in the tag. setuptools_scm maps to this "rc0" to match PEP440. - Fix docs heading where it incorrectly said "vvX.Y.Z" for release docs. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* cc3200/Makefile: Build firmware.zip.Jim Mussared2023-08-24
| | | | | | | | | | | | This allows the cc3200 port to be build with the standard autobuild script rather than the custom build-cc3200-latest.sh (which is now removed). This also fixes the path inside the zip file (by using the `-j` flag to zip). This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* esp8266: Add board variant support.Jim Mussared2023-08-23
| | | | | | | | | | | | | | | | | | | | | This merges the existing GENERIC, GENERIC_1M, and GENERIC_512k boards into variants of the new ESP8266_GENERIC board (renamed from GENERIC so as not to clash with other ports). Also moves the generation of the "OTA" variant (previously generated by autobuild/build-esp8266-latest.sh) into the variant. Following the convention established for the WEACTSTUDIO rp2 board, the names of the variants are FLASH_1M and FLASH_512K (but rename the .ld files to use MiB and kiB). Updates autobuild to build esp8266 firmware the same way as other ports. This requires renaming the output from firmware-combined.bin to just firmware.bin. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* tools/autobuild: Automatically build all variants for each board.Jim Mussared2023-08-15
| | | | | | | | Removes the special-case for stm32. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* tools/autobuild: Update auto-build code to build esp32 port with IDF v5.Damien George2023-06-23
| | | | Signed-off-by: Damien George <damien@micropython.org>
* tools/autobuild: Add nrf port to autobuild scripts.iabdalkader2022-07-13
|
* tools/autobuild: Update for ports/renesas-ra.Takeo Takahashi2022-05-06
| | | | | | | * Add build_renesas_ra_boards call in autobuild.sh * Add build_renesas_ra_boards function to generate firmware.hex. Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
* tools/autobuild: Automatically build all esp32 boards.Damien George2021-12-10
| | | | | | | | Any board with a board.json file will be built. ESP32-based boards will be built using the IDF at $IDF_PATH_V42, all other MCU variants (S2, S3, C3) will be built using the IDF at $IDF_PATH_V44. Signed-off-by: Damien George <damien@micropython.org>
* tools/autobuild: Automatically build all stm32 boards.Damien George2021-11-22
| | | | | | | | | | | Any board with a board.json file will be built. Additional variants for certain pyboards will also be built by the explicit build-stm32-extra.sh script. Both .dfu and .hex files will be made available. Also build boards in a sorted order, and don't stop building if a single board fails. Signed-off-by: Damien George <damien@micropython.org>
* tools/autobuild: Automatically build all mimxrt, rp2 and samd boards.Damien George2021-11-05
| | | | | | Any board with a board.json file will be automatically built. Signed-off-by: Damien George <damien@micropython.org>
* tools/autobuild: Use separate IDF version to build newer esp32 SoCs.Damien George2021-07-22
| | | | Signed-off-by: Damien George <damien@micropython.org>
* tools/autobuild: Add mimxrt port to build scripts for nightly builds.robert-hh2021-07-01
| | | | | | | | The firmware for Teensy 4.0, Teensy 4.1 and MIMXRT1020_EVK are created. Users of other MIMXRT10xx_EVK boards should be able to build the firmware themselves, they might need specific DEBUG settings. The Makefile had to be changed in order to build the .bin file as well.
* tools/autobuild: Add scripts to build release firmware.Damien George2021-06-23
Signed-off-by: Damien George <damien@micropython.org>