Commit Graph

449 Commits

Author SHA1 Message Date
microDev 77889fe70c
clone repo before installing deps
closes #4524
2021-04-01 18:00:56 +05:30
Jeff Epler 1bb5bed80f Remove sentence about a link that fixes a problem
Multiple times it has occurred that people left this line in a PR by mistake.  it makes it look like they failed to include some useful information, but really is just a misunderstanding.  Delete the text to reduce the chance of misunderstanding.
2021-03-29 21:31:00 -05:00
Scott Shawcroft 67c039db43
Checkout before installing deps 2021-03-22 16:15:55 -07:00
Scott Shawcroft 7867632a81
Merge remote-tracking branch 'adafruit/main' into rp2040_flash 2021-03-22 15:29:43 -07:00
lady ada 10c9f61352 fix sort 2021-03-21 19:11:15 -04:00
lady ada 36ae69ab6f qtpy is more of a button than a switch! add itsybitsy rev C files 2021-03-21 18:44:32 -04:00
Limor "Ladyada" Fried 4b42932188
Merge pull request #4449 from ladyada/main
adventure together with rotary trinkey
2021-03-20 13:37:31 -04:00
lady ada 8884682cac adventure together with rotary trinkey 2021-03-20 12:03:51 -04:00
Scott Shawcroft 4aea7f8f52
Add requirements-dev.txt for python deps 2021-03-19 15:22:23 -07:00
Dan Halbert b2d913412f merge from upstream 2021-03-18 23:14:43 -04:00
Scott Shawcroft 11e510a06a
Merge pull request #4419 from spe2/main
Add board definition for Sparkfun Pro Micro RP2040
2021-03-17 18:17:24 -07:00
Jeff Epler 719e8710f2
Merge pull request #4411 from mintakka/thingplus-rp2040
added board configuration for Sparkfun ThingPlus RP2040
2021-03-17 16:23:55 -05:00
mintakka cae3397ea0
Update .github/workflows/build.yml
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16 13:47:10 -04:00
spe2 ea578a10a6
Update build.yml
Add Pro Micro RP2040 to build.yml.
2021-03-15 21:19:51 -06:00
mintakka 49baa94446 added sparkfun_thingplus_rp2040 to .github/workflows/boards.yml and renamed board folder to include chip 2021-03-15 23:00:24 -04:00
microDev 090b6ba42f
update pre-commit
- add formatting check
- add translations check
2021-03-15 19:26:29 +05:30
felixerdy de93df6444 add senseBox MCU 2021-03-12 17:57:55 +01:00
Damien George 6129b8e401 tests: Rename run-tests to run-tests.py for consistency.
Signed-off-by: Damien George <damien@micropython.org>
2021-03-12 19:56:09 +11:00
Scott Shawcroft f0965b1ef7
Merge pull request #4350 from nitz/board-add-sparkfun-micromod-nrf52840
Add new nRF port for SF MicroMod nRF52840.
2021-03-10 18:13:11 -08:00
FBSeletronica 1aad93baa3 Fixing build.yml 2021-03-09 13:58:02 -03:00
Dan Halbert 7029783985 funhouse board 2021-03-08 21:24:28 -05:00
Fábio Souza 8dc6c5bf24
Merge branch 'main' into franzininhoWIFI_wrover 2021-03-08 20:58:22 -03:00
FBSeletronica 5d2631281a Adding franzininho_wifi_wroom in build.yml 2021-03-08 09:46:28 -03:00
FBSeletronica 6052b4e06b Fix build.yml 2021-03-08 09:31:10 -03:00
FBSeletronica 9b0b59d75f updating build.yml with franzininho wifi wroom 2021-03-08 09:01:36 -03:00
nitz 8e8368d594
Add sparkfun_nrf52840_micromod to `build.yml` 2021-03-07 01:25:31 -05:00
FBSeletronica e68ab5ae2a Fix build.yml wifi Franzininho WIFI wrover Board 2021-03-06 18:33:24 -03:00
FBSeletronica 67e598a863 Fix build.yml wifi Franzininho WIFI wroom Board 2021-03-06 18:26:13 -03:00
FBSeletronica 48e727f7d6 adding port for Franzininho WIFI board ESP32S2 w/Wrover 2021-03-06 17:47:27 -03:00
FBSeletronica 6cf9c5158c adding port for Franzininho WIFI board 2021-03-06 17:15:54 -03:00
Jeff Epler f7e42bfebc build.yml: Fix 'Print failure info' to not error
Print Failure Info is for printing differences detected by 'Test all'.  When some other step fails, then "*.exp" doesn't match any files at all, and _this_ step fails too.

We will assume that Github Actions always runs with bash as the shell (as it does today). In this case, we can set the  "nullglob" shell option, so that a non-existent glob expands to nothing, instead of to itself.
2021-03-05 12:50:15 -06:00
Dan Halbert b1268107af change esp build cache key (again) 2021-03-04 15:22:56 -05:00
Scott Shawcroft 7970c882a6
Merge pull request #4316 from microDev1/issue-template
Add issue templates
2021-03-04 10:16:09 -08:00
microDev 9aa11ec51e
Apply suggestions from code review 2021-03-04 02:38:46 +05:30
Dan Halbert d6836047a8 force a new idf-cache id to fix build issues 2021-03-03 14:04:56 -05:00
microDev eafcd7d364
add issue templates 2021-03-03 11:22:33 +05:30
Scott Shawcroft e41137c745
Merge pull request #4244 from UnexpectedCircuitPython/main
Added Unexpected Maker TinyS2 board definition
2021-02-23 10:40:06 -08:00
Seon Rozenblum 78b2daa2a7 Added Unexpected Maker TinyS2 board definition 2021-02-23 17:55:17 +11:00
ZodiusInfuser 312bbdaa6c
Added board names to build.yml 2021-02-19 18:27:23 +00:00
Damien George aa3d6b6aa5 tools/ci.sh: Change esp32 CI to work with idf.py and IDF v4.0.2.
Signed-off-by: Damien George <damien@micropython.org>
2021-02-15 16:40:11 +11:00
Dan Halbert 08f30fedf5
Merge pull request #4188 from ladyada/main
QT Py with RP2040
2021-02-11 22:19:56 -05:00
lady ada 6428b9e728 sort 2021-02-11 19:31:10 -05:00
lady ada 6c914b8722 QT Py with RP2040 2021-02-11 19:21:42 -05:00
Scott Shawcroft f6603aa566
Merge pull request #4168 from BHDynamics/main
Add DynaLoRa-USB Dongle
2021-02-10 11:03:16 -08:00
Enrique Casado 795ec21f6c Fix alphabetic order or build.yml 2021-02-10 12:55:08 +01:00
Enrique Casado 4c8ba3519b Edit build.yml 2021-02-10 12:45:14 +01:00
Scott Shawcroft 0c0b517112
Merge pull request #4105 from xorbit/main
Add board Silicognition LLC M4-Shim
2021-01-31 20:02:36 -08:00
iTitou b8f5f5cd85 github/workflows/ports_unix.yml: Add job for a reproducible build.
With a check for reproducible build date.  Invocation of the test suite is
not needed because it's already run in another job.

Signed-off-by: iTitou <moiandme@gmail.com>
2021-02-01 11:20:18 +11:00
Aditya 6dba7a146d Add support for Lilygo TTGO T8 ESP32-S2 2021-01-31 14:30:31 +01:00
Patrick Van Oosterwijck 414db718e4 Add board to github workflow 2021-01-30 19:17:20 -07:00
stijn 37c2f507a0 github/workflows: Add workflow to verify commit message format.
Using the new tools/verifygitlog.py script.
2021-01-30 14:09:21 +11:00
Jeff Epler 66e0f2dcff workflows: use actions/cache@v2 2021-01-29 11:36:27 -06:00
Damien George b8f4c623f9 github/workflows: Add CI workflow for rp2 port.
Signed-off-by: Damien George <damien@micropython.org>
2021-01-30 00:42:29 +11:00
Jeff Epler 65a883a74c bump esp-idf cache tag
.. we are seeing failures that we have previously diagnosed as a bad
cache.  The github ui provides no way to update or delete a cache, so
this is our workaround.
2021-01-28 13:52:30 -06:00
Damien George 0a079155e4 github/workflows: Fix code-size CI workflow.
Changes are:
- Use ubuntu-20.04 so that gcc-multilib installs without error.
- Use "fetch-depth: 100" to get history prior to pull request.

Signed-off-by: Damien George <damien@micropython.org>
2021-01-24 14:56:40 +11:00
Dan Halbert f72c1474c5
Merge branch 'main' into connect 2021-01-22 03:56:57 -05:00
Dan Halbert d74097c8a7 update github actions cache key for xtensa build 2021-01-22 03:54:51 -05:00
Dan Halbert dbd5b7d9f0
Change xtensa cache key
again, we need to stop using a bad cache for ESP32-S2 builds
2021-01-21 07:29:54 -05:00
Scott Shawcroft 733094aead
Add initial RP2040 support
The RP2040 is new microcontroller from Raspberry Pi that features
two Cortex M0s and eight PIO state machines that are good for
crunching lots of data. It has 264k RAM and a built in UF2
bootloader too.

Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf
2021-01-20 19:16:56 -08:00
djix123 35c836f096
Update .github/workflows/build.yml
Change name from _haxpress to _with_flash

Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-01-19 11:32:41 -05:00
Jonathan Giles 368751b6e9 Add support for a 'haxpress' external SPI flash build for the stm32f411ce blackpill board 2021-01-19 07:48:52 -05:00
Dan Halbert c4f0325ff8
Merge pull request #3991 from TG-Techie/main
Revision to TG-Watch
2021-01-14 18:43:52 -05:00
Dan Halbert 54cc9ab4b9 change extensa github actions cache key to avoid bad cache 2021-01-14 11:29:21 -05:00
Jonah Yolles-Murphy 8f8af90098 final name and extra board 2021-01-13 23:51:34 -05:00
lady ada 748d44892d fix some precommit complaints 2021-01-12 12:55:02 -05:00
Scott Shawcroft bfdaa6eb9c
Merge pull request #3959 from ladyada/main
try adding new feather def
2021-01-12 08:26:29 -08:00
Jonah Yolles-Murphy 8652d69614 update TG-Watch pins, name, and frozen libraries 2021-01-10 04:04:50 -05:00
lady ada b5b0d45b73 add tft 2021-01-09 22:36:54 -05:00
Limor "Ladyada" Fried 9253351fa4
Merge branch 'main' into main 2021-01-09 12:25:16 -05:00
lady ada 999ee68e12 try adding new feather def 2021-01-09 12:22:53 -05:00
Jeff Epler 288c54c70a need to find strings in ulab 2021-01-08 18:54:08 -06:00
Jeff Epler 96dd3d3fef ensure gettext program is available to pre-commit 2021-01-08 18:21:27 -06:00
microDev f7cafbf5f9
re-arrange ci actions 2020-12-26 12:54:36 +05:30
Scott Shawcroft fb0c74c5f1
Merge pull request #3662 from ElectronicCats/bastble
Add new board BastBLE
2020-12-21 17:39:08 -08:00
Dan Halbert f202eb734a
Merge pull request #3842 from StackRduino/main
add stackrduino_m0_pro
2020-12-18 12:33:34 -05:00
Dan Halbert 8f9cd7075e
Merge pull request #3752 from jepler/gcc10
build: Update to gcc10
2020-12-17 11:03:40 -05:00
Hany Elkomy c6de41b4ea
Update build.yml
added stackrduino_m0_pro board
2020-12-17 17:14:49 +08:00
Dan Halbert 845cf03a45
typo 2020-12-14 15:55:31 -05:00
Dan Halbert d2cb58a2df
suod apt-get update 2020-12-14 15:54:38 -05:00
Dan Halbert eea8bc4999
Use Dec 11 gcc 10.2 release 2020-12-14 15:41:17 -05:00
Damien George 69262a11dc tools/ci.sh: Put echo of CI path in a separate function.
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-14 13:05:43 +11:00
Dan Halbert 37c9f768b5 add apt-get update 2020-12-11 16:03:28 -05:00
Damien George f7225d1c95 github/workflows: Run unix and qemu-arm workflows when tests change.
Signed-off-by: Damien George <damien@micropython.org>
2020-11-30 10:48:41 +11:00
Damien George a598ae5b4d github/workflows: Add workflows for all CI tasks, builds and tests.
Signed-off-by: Damien George <damien@micropython.org>
2020-11-29 22:21:28 +11:00
Scott Shawcroft 8364734ba3
Merge pull request #3749 from skerr92/add-cpsapling-spiflash
Add cpsapling spiflash
2020-11-24 15:22:21 -08:00
Jeff Epler 1553a647ca build: Update to gcc10 preview 2020-11-24 13:09:37 -06:00
jgillick 570353b946 Merge remote-tracking branch 'circuitpython/main' into thunderpack1.2 2020-11-23 22:40:47 -08:00
Seth Kerr 0e628caa6f forgot the build.yml files 2020-11-23 19:23:22 -05:00
jgillick 56634eb00e Rename thunderpack to v11 2020-11-22 01:31:41 -08:00
Seth Kerr 8301dcada0 I need to revisit the alphabet... 2020-11-20 16:26:33 -05:00
Seth Kerr 0fb075ab7e changed tab to spaces in build.yml, passes local pre-commit 2020-11-20 16:15:50 -05:00
Seth Kerr b34e36d1db fixing build.yml 2020-11-20 15:44:53 -05:00
Jeff Epler a0d305042c fix ubuntu-latest stragglers 2020-11-17 09:02:30 -06:00
Jeff Epler 7750b4d671 actions: Disable pagination of 'aws' commands
An anticipatory workaround for
https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html#cliv2-migration-output-pager
2020-11-17 09:02:30 -06:00
Jeff Epler 9c4b6c34b8 see what happens if workflows move to ubuntu 20.04 2020-11-16 16:03:29 -06:00
Ricardo 7253b2eb31 fix name board 2020-11-13 09:22:42 -06:00
Scott Shawcroft d1f15d314b
Rename to include display details 2020-11-09 15:03:22 -08:00
Ricardo ee57bc4d83 fix name 2020-11-09 14:25:42 -06:00
Ricardo 78dffd8ef8 add board on build.yml 2020-11-09 14:17:25 -06:00
Scott Shawcroft 9ef23e8659
Fix build board list 2020-11-06 15:29:58 -08:00
Scott Shawcroft 9bf77905e3
Merge pull request #3622 from sw23/main
Fixing remaining stub mypy issues + run check-stubs to CI
2020-11-02 18:16:32 -08:00
Jeff Epler 3845db4bb9
Update build.yml
Need to request zip to recurse, because it is not the default
2020-10-31 20:13:51 -05:00
Dan Halbert 073dc8751c
Use correct stubs directory name
The stubs directory is called `circuitpython-stubs`, not `stubs`.
2020-10-31 14:50:13 -04:00
Dan Halbert 0c30a26c9b
Update .github/workflows/build.yml 2020-10-31 13:19:13 -04:00
Jeff Epler 80ad300cad workflows: Fix typo that broke builds while trying to upload stubs 2020-10-31 11:58:28 -05:00
sw23 8e72b68e3d Adding mypy to dep list and clarifying Stubs stage name 2020-10-30 19:16:26 -04:00
sw23 6a63d20a5d Fixing remaining stub mypy issues + run check-stubs to CI 2020-10-30 18:56:40 -04:00
Scott Shawcroft 09ae9aefa8
Merge pull request #3610 from Edrig/main
Add new board to nrf port: holyiot_nrf52840
2020-10-30 12:03:34 -07:00
Scott Shawcroft f47ec650ca
Merge pull request #3601 from jepler/upload-stubs-s3
workflows: Upload stubs to s3
2020-10-30 11:53:44 -07:00
Jeff Epler e83be19d0f actions: Fix location of stubs upload 2020-10-28 17:48:12 -05:00
Noel Gaetan 34ce8d8642
Update build.yml 2020-10-28 22:43:54 +01:00
Gaetan 3dcee5be80 Fix: .github/workflows/build.yml 2020-10-28 22:38:13 +01:00
Gaetan 5ab2f16f64 Change Board Name to ADM_B_NRF52840_1
edit   :         .github/workflows/build.yml
rename :         ports/nrf/boards/holyiot_nrf52840/board.c -> ports/nrf/boards/ADM_B_NRF52840_1/board.c
rename :         ports/nrf/boards/holyiot_nrf52840/mpconfigboard.h -> ports/nrf/boards/ADM_B_NRF52840_1/mpconfigboard.h
rename :         ports/nrf/boards/holyiot_nrf52840/mpconfigboard.mk -> ports/nrf/boards/ADM_B_NRF52840_1/mpconfigboard.mk
rename :         ports/nrf/boards/holyiot_nrf52840/pins.c -> ports/nrf/boards/ADM_B_NRF52840_1/pins.c
2020-10-28 22:08:10 +01:00
Scott Shawcroft d86c6a74a4
Add to CI build 2020-10-26 17:06:04 -07:00
Gaetan 5deb045a81 Ready to PR
* ../../.github/workflows/build.yml
	+ boards/holyiot_nrf52840/board.c
	+ boards/holyiot_nrf52840/mpconfigboard.h
	+ boards/holyiot_nrf52840/mpconfigboard.mk
	+ boards/holyiot_nrf52840/pins.c
2020-10-26 23:32:57 +01:00
Jeff Epler b4eb27557d workflows: Upload stubs to s3 2020-10-24 07:28:27 -05:00
Jeff Epler fa4c4c2c10
Merge pull request #3587 from adafruit/6.0.x
Merge in two fixes from 6.0.x
2020-10-21 20:12:20 -05:00
Scott Shawcroft 50e90088a2
Merge pull request #3586 from Targett363/esp32s2_module_clip
Esp32s2 module clip
2020-10-21 12:58:23 -07:00
Jeff Epler 599bacb0b4 build.yml: Fix building mpy-cross-mac
Recently, the macos-10.15 image was updated with a non-brew version of awscli.  This made our CI script, which does a `brew install awscli` fail:
```
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/aws
Target /usr/local/bin/aws
already exists. You may want to remove it:
  rm '/usr/local/bin/aws'
```
2020-10-20 13:25:17 -05:00
Enrique Casado 97fae54659 Add DynOSSAT-EDU boards 2020-10-15 12:39:14 +02:00
Brian Dean af2a23bd18 workflows/build.yml - Add forgotten vina_d51 board. 2020-10-13 17:08:30 -04:00
Targett363 2aee2b7dc7 Corecting spelling mistake in build.yml 2020-10-10 22:33:52 +01:00
Targett363 cd935346ec Updating the build.yml to include both Module Clip boards 2020-10-10 22:11:44 +01:00
Scott Shawcroft 699f19f44a
Merge pull request #3522 from tannewt/imx_metro
Unify iMX RT flash config and add Metro M7 1011
2020-10-09 13:48:58 -07:00
Jeff Epler 3149f5bfd8 workflows: Replace deprecated ::set-env 2020-10-08 16:20:23 -05:00
Scott Shawcroft 09bc415751
Unify iMX flash config and add Metro M7 1011
This unifies the flash config to the settings used by the Boot ROM.
This makes the config unique per board which allows for changing
quad enable and status bit differences per flash device. It also
allows for timing differences due to the board layout.

This change also tweaks linker layout to leave more ram space for
the CircuitPython heap.
2020-10-07 15:23:47 -07:00
Scott Shawcroft 2ad54f8413
Merge pull request #3463 from UnexpectedCircuitPython/UM_S2_Boards
Updated UM FeatherS2 boards
2020-10-01 10:56:55 -07:00
Scott Shawcroft a6cfa507b6
Add to board list 2020-09-30 12:59:56 -07:00
Seon Rozenblum 4b1a7d812e Updated UM boards 2020-09-30 10:16:24 +10:00
Jeff Epler 8b27febf32 add new board to actions build 2020-09-26 11:43:46 -05:00
Dan Halbert 9cc803eb95
Merge pull request #3432 from bd34n/rename-bdmicro-vina-m0-d21
Rename board bdmicro_vina_m0 to bdmicro_vina_d21 and update boardfiles.
2020-09-19 13:41:21 -04:00
Scott Shawcroft 4b827b25ad
Merge pull request #2966 from sommersoft/ci_check_vid_pid
Automate USB VID/PID Uniqueness Check
2020-09-17 11:48:46 -07:00
Brian Dean 847d609ddc rename board bdmicro_vina_m0 to bdmicro_vina_d21 and update boardfiles appropriately 2020-09-16 16:27:24 -04:00
Rémi Sarrailh 4225f8348f
Change build-arm to build-xtensa in build.yml 2020-09-16 14:59:35 +02:00
Rémi Sarrailh d538918cfd
Fix name in build.yml 2020-09-16 13:59:59 +02:00
Rémi Sarrailh 8be5d616e4
Fix invalid indentation on build.yml 2020-09-16 13:44:09 +02:00
Rémi Sarrailh c06aeda399 Add Muselab nanoesp32 s2 definition 2020-09-16 13:10:01 +02:00
Dan Halbert 3c6af94fb3
Merge pull request #3384 from jepler/feather_m4_can
atmel-samd: add same51, feather_m4_can
2020-09-14 23:57:51 -04:00
lady ada cc57ef8368 add to buildyml! 2020-09-12 19:58:27 -04:00
Jeff Epler baa2d7fd56 add new board to CI 2020-09-08 14:08:52 -05:00
Dan Halbert ee1b142f5d
Merge pull request #3363 from dhalbert/matrix-portal
matrix portal board
2020-09-01 10:25:00 -04:00
Dan Halbert 4ac7650f22 matrix portal board 2020-08-31 23:56:38 -04:00
Jeff Epler ef8cde94a4 actions: Clone the esp-idf submodules ourselves
Builds of the esp32s2 targets frequently fail:
```
-- Found Git: /usr/bin/git (found version "2.28.0")
-- Initialising new submodule components/asio/asio...
warning: could not look up configuration 'remote.origin.url'. Assuming this repository is its own authoritative upstream.
Submodule 'components/asio/asio' (/home/runner/work/circuitpython/circuitpython/ports/espressif/asio.git) registered for path 'components/asio/asio'
fatal: repository '/home/runner/work/circuitpython/circuitpython/ports/espressif/asio.git' does not exist
fatal: clone of '/home/runner/work/circuitpython/circuitpython/ports/espressif/asio.git' into submodule path '/home/runner/work/circuitpython/circuitpython/ports/esp32s2/esp-idf/components/asio/asio' failed
Failed to clone 'components/asio/asio'. Retry scheduled
fatal: repository '/home/runner/work/circuitpython/circuitpython/ports/espressif/asio.git' does not exist
fatal: clone of '/home/runner/work/circuitpython/circuitpython/ports/espressif/asio.git' into submodule path '/home/runner/work/circuitpython/circuitpython/ports/esp32s2/esp-idf/components/asio/asio' failed
Failed to clone 'components/asio/asio' a second time, aborting
CMake Error at esp-idf/tools/cmake/git_submodules.cmake:48 (message):
  Git submodule init failed for components/asio/asio
Call Stack (most recent call first):
  esp-idf/tools/cmake/build.cmake:78 (git_submodule_check)
  esp-idf/tools/cmake/build.cmake:160 (__build_get_idf_git_revision)
  esp-idf/tools/cmake/idf.cmake:49 (__build_init)
  esp-idf/tools/cmake/project.cmake:7 (include)
  CMakeLists.txt:8 (include)
```

It's not clear how/why this happens--is it something to do with our
multithreaded build?.  Attempt to clear it up by manually checking out these
submodules ourselves.
2020-08-30 20:51:04 -05:00
Scott Shawcroft a09243472c
Add Kaluga board definition 2020-08-28 16:08:24 -07:00
Dan Halbert ac06202c21
Merge pull request #3238 from ElectronicCats/bastwifi
Add Bastwifi by Electronic Cats
2020-08-28 11:03:52 -04:00
Dan Halbert 0c9513a2e7
Remove trailing whitespace 2020-08-26 09:00:16 -04:00
microDev 964a39164e
Changed microS2 board name 2020-08-26 08:23:54 +05:30
microDev c79389c4d4
Added microS2 board to build.yml 2020-08-24 11:10:34 +05:30
sommersoft e0fd85bc45 build.yml: more texlive/latex dependencies 2020-08-15 16:24:21 -05:00
sommersoft 6e67c4f7d4 build.yml: ensure 'latexmk' is installed 2020-08-15 14:42:12 -05:00