Commit Graph

490 Commits

Author SHA1 Message Date
Dan Halbert
a48aa97974 riscv buidl: pip install -r requirements-dev.txt 2021-08-12 07:47:34 -04:00
Bruce Segal
f35afa8239 Formatting and build.yml 2021-08-11 13:43:08 -07:00
Scott Shawcroft
0632a1e681
Merge pull request #5060 from cdwilson/cdwilson/circuitpython/sparkfun-stm32f405-micromod
stm/boards: Add support for SparkFun STM32 MicroMod Processor board.
2021-08-11 12:19:16 -07:00
Chris Wilson
c0902dade6 stm/boards: Add support for SparkFun STM32 MicroMod Processor board. 2021-08-09 23:11:13 -07:00
Pierre
45d4058981 adding initial files for BlueMicro840 Board 2021-08-08 21:25:54 -06:00
Scott Shawcroft
00b617c9c4
Merge pull request #5097 from anecdata/cucumber
Add Gravitech Cucumber M, MS, R, and RS boards
2021-08-05 11:49:51 -07:00
anecdata
c2d093b6f4 fix board family in build.yml 2021-08-04 20:54:08 -05:00
anecdata
dba0427808 fix whitespace 2021-08-04 19:50:40 -05:00
anecdata
f8fd3c24d0 add boards to build.yml 2021-08-04 19:42:04 -05:00
Scott Shawcroft
4bcf0d419f
Merge pull request #5095 from dhalbert/raytac_mdbt50q-rx
Add raytac_mdbt50q-rx
2021-08-04 15:47:11 -07:00
Dan Halbert
81833035fc raytac_mdbt50q-rx 2021-08-04 15:47:19 -04:00
microDev
d35af506a5
ci: add print failure info 2021-08-04 08:16:26 +05:30
ZodiusInfuser
6663dacedb Added board configurations for Plasma and Interstate 2021-08-03 14:01:56 +01:00
Tyler Crumpton
f7727405d3 Add CrumpSpace CrumpS2 board definition 2021-07-31 17:01:48 -05:00
Scott Shawcroft
ec6e432f23
Only push main builds to S3
That will ensure it is always the latest instead of a .x or feature
branch.

Fixes #4632
2021-07-20 17:30:10 -07:00
Dan Halbert
f748bf0c67 fix stubs upload conditionals 2021-07-16 23:26:19 -04:00
Kattni Rembor
11b5873235 Update idf key. 2021-07-16 14:59:30 -04:00
Scott Shawcroft
c16f559574
Merge pull request #4907 from jepler/refine-stubs
refine stubs-building procedure
2021-07-15 12:11:58 -07:00
Scott Shawcroft
e0919c4b9c
Install intelhex on windows CI 2021-07-14 10:47:03 -07:00
Scott Shawcroft
0fadf028ef
Create first BLE-only board, Micro:Bit v2
This fixes build issues with USB off, tweaks the README to allow
for BLE-only boards and adds the Micro:Bit v2 definition.

Fixes #4546
2021-07-14 09:55:51 -07:00
Damien George
0ee256b8b1 github/workflows: Add workflow to build and test unix dev variant.
Signed-off-by: Damien George <damien@micropython.org>
2021-07-13 15:58:39 +10:00
Jeff Epler
3191357807 Merge remote-tracking branch 'origin/main' into refine-stubs 2021-07-08 19:05:26 -05:00
microDev
d99d818bf8
update issue form and template 2021-06-30 15:42:22 +05:30
ajs256
89678f79a7 Convert to using issue forms 2021-06-29 21:32:32 -07:00
Damien George
f3e4ed82a1 github/workflows: Switch from lcov to gcov.
Coverage calculated by Codecov has the same reliability/deterministic
issues as Coveralls did, so the problem is likely to do with the output of
lcov/gcov, rather than the analysis and display of the data.

Switch from lcov to gcov for data generation to try and simplify this
process of computing coverage.

Signed-off-by: Damien George <damien@micropython.org>
2021-06-26 21:34:37 +10:00
Damien George
c940597314 github/workflows: Switch from Coveralls to Codecov.
As discussed in #7455, Coveralls doesn't work properly anymore, it has
many spurious errors with reduced coverage.

Signed-off-by: Damien George <damien@micropython.org>
2021-06-25 16:17:54 +10:00
Damien George
2dc4f843bc github/workflows: Add workflow to build and test javascript port.
Signed-off-by: Damien George <damien@micropython.org>
2021-06-25 11:31:00 +10:00
Scott Shawcroft
dc76306cfa
Enable a BLE workflow
nRF CircuitPython boards will now provide the file transfer
service defined here: https://github.com/adafruit/Adafruit_CircuitPython_BLE_File_Transfer

USB capable boards will only advertise if previously bonded to a
device or if the reset button is pressed during the fast blue
flashes on start up. When pressed, the board will restart again but
the blue period will not flash.

Boards without USB will always advertise.

When previously bonded, the advertisement is private so that no
other peers can connect. If advertising publicly, the tx power is
lowered to reduce the likelihood of bonding from a distance.

This PR also fixes issues with loading identities of bonded peers
so that our address can now be resolved and we can resolve others'
addresses when scanning.
2021-06-24 12:59:14 -07:00
Jeff Epler
6a48c69419 tighten conditions under which pypi upload is attempted 2021-06-24 11:08:34 -05:00
Jeff Epler
a8e599a3de upload the 'sdist' file as an artifact / to s3, not the whole circuitpython-stubs folder 2021-06-22 15:01:19 -05:00
Jeff Epler
f51ca53553 refine stubs-building procedure
* so that excess files are not included in sdist, perform build down
   in circuitpython-stubs
 * This means we need to
   * Remove the need-pypi check
   * Copy a setup.py, README, and MANIFEST.in into the stubs build location
   * Revamp how the overall `mypy --strict` check lists its inputs
 * Add a new test that actually installing the stubs lets us do type
   checking (tools/test-stubs.sh)
 * Add a missing return type to a __init__ function (why was this not
   an error under `mypy --strict`, I wonder)
2021-06-22 08:59:05 -05:00
foamyguy
c81f3fd789 Merge branch 'adafruit_main' into upload_stubs_action
# Conflicts:
#	setup.py
2021-06-19 12:36:13 -05:00
foamyguy
1fe38138e8 use scm_version for stubs. seperate stubs upload from S3 mpy-cross upload steps in actions. 2021-06-19 12:33:34 -05:00
Jeff Epler
124c7b785a Add kaluga version 1.3
.. this board is nearly the same as the "1.2" version originally
released, but makes a few changes to reduce pin conflicts between the 13-pin
camera header and the bootstrapping pins.  "1.3" was introduced in summer
2020-- check the bottom of your board silk to find out whether you have a 1.2
or a 1.3, because it's not clear whether there is remaining 1.2 stock.

Another vexing fact about the 1.3 is that its LCD can have one of two
chipets, and the chipset used is not marked anywhere!
2021-06-08 13:28:48 -05:00
Limor "Ladyada" Fried
c4f685aab1
Merge pull request #4865 from ZodiusInfuser/pimoroni_boards
Added definition for upcoming Pimoroni RP2040 board
2021-06-07 11:13:01 -04:00
foamyguy
abfeb69454 remove hashes from version. upload to pypi in same step as S3 2021-06-06 10:14:02 -05:00
foamyguy
5a22a0f601 upload stubs step in actions 2021-06-05 12:07:12 -05:00
Damien George
b15e1ef5a6 github/workflows: Add workflow to build and run unix port on ARM.
Following on from ef16834887, this adds a
coverage build and running of the test suite on an ARM 32-bit Linux-based
architecture.

Signed-off-by: Damien George <damien@micropython.org>
2021-06-05 11:03:09 +10:00
ZodiusInfuser
6011db3aec Added board definition 2021-06-03 15:49:23 +01:00
George White
db1830d62b Add Sparkfun MicroMod SAMD51 2021-06-02 21:53:23 -04:00
Scott Shawcroft
892dfa84ed
Merge pull request #4826 from jepler/actions-windows-build
Check that select firmwares build on Windows with MSYS2
2021-06-01 13:04:06 -07:00
Scott Shawcroft
dea5c82d51
Merge pull request #4834 from reppad/muselab_nanoesp32_s2_wrover
Muselab nanoESP32-S2 w/WROVER
2021-06-01 12:46:47 -07:00
Dan Halbert
aade07492f
Merge pull request #4832 from jepler/mpy-cross-macos-arm64-universal
mpy-cross: Build an arm64 (M1) bin and a universal bin
2021-05-31 09:05:52 -04:00
Jeff Epler
ed977e9f25 mpy-cross: Build an arm64 (M1) bin and a universal bin 2021-05-30 13:03:12 -05:00
reppad
625fa881c6 Add Muselab Nanoesp32_s2 w/Wrover 2021-05-30 16:14:21 +02:00
Jeff Epler
49db85cb3d Check that select firmwares build on Windows with MSYS2
This configuration is used by @ladyada and more often than it should
we've discovered late that a change introduced problems building
there.

By adding this to regular CI, hopefully we learn about and fix these
issues sooner rather than later.
2021-05-28 16:47:29 -05:00
Kong Wai Weng
5920ac647a Modified the essential files for Maker Pi RP2040. 2021-05-28 22:42:54 +08:00
Dan Halbert
5eb4cc6489 Remove non-product Adafruit boards 2021-05-26 16:01:17 -04:00
Damien George
ef16834887 github/workflows: Add workflow to build and run unix port on MIPS.
This adds a coverage build and running of the test suite on a MIPS 32-bit
big endian architecture.  It uses the feature of qemu to execute foreign
code as though it were native to the system (using qemu user mode).  The
code compiled for MIPS will run under the qemu VM, but all syscalls made by
this code go to the host (Linux) system.

See related #7268 and #7273.

Signed-off-by: Damien George <damien@micropython.org>
2021-05-26 16:33:18 +10:00
Philipp Ebensberger
5f68f0d08a github/workflows: Add CI workflow for mimxrt port. 2021-05-26 00:12:45 +10:00
BlitzCityDIY
9f4eb48e70 Updating MISO
While testing WIFI realized MISO was defined incorrectly
2021-05-22 01:02:06 -04:00
ladyada
38ffc4352d add workflow for makropad 2021-05-18 11:09:03 -04:00
Jeff Epler
47947dc23c
Merge pull request #4749 from tannewt/merge_1.15
Merge in MicroPython 1.15
2021-05-12 20:52:11 -05:00
Scott Shawcroft
966d25c6a5
Merge MicroPython v1.15 into CircuitPython 2021-05-12 17:51:42 -07:00
lady ada
502b66eac0 moar trinkz 2021-05-11 22:03:05 -04:00
Jeff Epler
446169e078
Merge pull request #4720 from tannewt/merge_1.13
Merge in MicroPython 1.13
2021-05-08 08:46:03 -05:00
Dan Halbert
c6b9885573
Merge pull request #4721 from dhalbert/update-xtensa-cache-id
update github actions xtensa cache id; fix a typo
2021-05-06 16:48:20 -04:00
Dan Halbert
0773e355a7 update github actions xtensa cache id; fix a typo 2021-05-06 15:10:45 -04:00
Scott Shawcroft
42f4065c8a
Merge remote-tracking branch 'adafruit/main' into merge_1.13 2021-05-06 11:17:53 -07:00
Dan Halbert
ebf9dcb47a
Merge pull request #4689 from dhalbert/dynamic-usb-descriptors
Dynamic USB descriptors
2021-05-06 13:51:38 -04:00
Scott Shawcroft
d8701e5136
Update binary path 2021-05-05 15:48:01 -07:00
Jeff Epler
b9f349779e Build an aarch64 version of mpy-cross 2021-05-05 14:43:53 -05:00
Dan Halbert
c37f021791 regularize and shrink many builds 2021-05-05 12:35:41 -04:00
Scott Shawcroft
f0bb26d70f
Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
Mark
5679eb4fd7
Merge pull request #4677 from skerr92/add-cp-sapling-rev-b
Add cp sapling rev b
2021-04-29 19:22:49 -05:00
Seth Kerr
710397fd84 adding board to build.yml 2021-04-27 16:54:13 -06:00
Dan Halbert
454e78f41f merge #4645 from 6.2.x to main 2021-04-23 13:33:58 -04:00
Dan Halbert
c931c84e49 new cache id to fix failing xtensa builds 2021-04-22 10:45:25 -04:00
Limor "Ladyada" Fried
83c768b25d
Merge pull request #4627 from aramcon-badge/aramcon2-badge
Add board definition files for ARAMCON2 Badge
2021-04-19 15:17:47 -04:00
Benny Meisels
f0b04d403d Add board definition files for ARAMCON2 Badge 2021-04-19 20:41:01 +03:00
Eddie Espinal
626f786e6b Add the atmegazero_esp32s2 to the build.yml file. 2021-04-19 09:07:32 -04:00
Limor "Ladyada" Fried
b6fa90d0b5
Merge pull request #4625 from stonehippo/sparkfun_micromod_atp_rp2040
Added Sparkfun MicroMod RP2040
2021-04-18 21:14:47 -04:00
George White
e0bb7385a1
Added Sparkfun MicroMod RP2040
Added board definition for the Sparkfun MicroMod RP2040.

Mostly followed the format for pins from the MicroMod nRF52840 board
definition, as MicroMod tries to standardize pins across
microcontrollers.
2021-04-17 10:56:04 -04:00
Dan Halbert
0189b80aa4
Merge pull request #4605 from tannewt/build_fail_matcher
Add build file matcher to pull out which board/language builds fail
2021-04-16 16:46:49 -04:00
Dan Halbert
f55d684057
Merge pull request #4612 from ZodiusInfuser/main
Added definitions for Pimoroni RP2040-based boards
2021-04-15 19:20:24 -04:00
Scott Shawcroft
0be5cbb5b6
Bump ESP-IDF cache key
Builds are failing with current cache
2021-04-15 10:21:26 -07:00
ZodiusInfuser
51570eb58b Sorted board list 2021-04-15 12:06:58 +01:00
Damien George
a9bbf7083e tools/ci.sh: Build esp32 using IDF v4.0.2 and v4.3.
To test different IDF's, and also test building the GENERIC_S2 board.

Signed-off-by: Damien George <damien@micropython.org>
2021-04-15 10:31:06 +10:00
ZodiusInfuser
e4456bd756 Added definitions for PicoLipo boards 2021-04-14 23:09:10 +01:00
Scott Shawcroft
8bef15aa2d
Match build failures to better highlight them 2021-04-14 11:52:00 -07:00
lady ada
42abb982fe rename proxsense to proxlight 2021-04-11 18:39:14 -04:00
lady ada
ff07b8f2d1 typo 2021-04-11 17:49:57 -04:00
lady ada
9dc6d691b8 add prox trinkey and rename others to adafruit_ 2021-04-11 17:45:37 -04:00
lady ada
56be8306cd try adding a submodule? 2021-04-10 23:22:13 -04:00
Scott Shawcroft
ebfe36c9aa
Merge pull request #4576 from felixerdy/main
Add senseBox MCU
2021-04-09 10:27:37 -07:00
Brian Dean
8544249fc0 boards/bdmicro_vina_d51: Replace old rev with new rev and rename.
This update to the PR retains the earlier board rev (with a rename) so
that backward binary compatibility is not lost for the earlier board
revision. The primary name 'vina-d51' is retained for the latest
revision to make it easy for customers to select the proper UF2
download - because the name matches the commercial name.

Details:

Replace bdmicro_vina_d51 with bdmicro_vina_d51_pcb7 (revision 7 of
PCB) with boardfiles unmodified. Add _pcb7 to the workflow build.

Replace bdmicro_vina_d51 boardfile content with latest PCB updates
(revision 10 ov PCB). Add minimal comments in the board files to make
it clear which PCB revision is implemented. Update the USB PID to
reflect an updated board revision.
2021-04-07 09:11:30 -04:00
Dan Halbert
ae80378c4e
Merge pull request #4545 from ElectronicCats/huntercat_nfc
HunterCat NFC
2021-04-04 14:21:49 -04:00
Jeff Epler
27d8832868
Merge pull request #4512 from m-byte/main
Add Artisense RD00 board files
2021-04-03 18:40:59 -05:00
Matthias Breithaupt
43ba81ffa1 Add Artisense RD00 board files 2021-04-03 17:20:59 +02:00
sabas1080
d4a45d401d add hunter cat nfc buld.yml 2021-04-02 18:38:37 -06:00
microDev
1ae6f362e1 clone repo before installing deps
closes #4524
2021-04-01 10:53:06 -04:00
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