Dan Halbert
7b79ac3739
Parameterize linker script
3 years ago
Scott Shawcroft
fd8050b369
Turn off features to make room for ePaper
4 years ago
Scott Shawcroft
0b1f605a9b
Turn off gc opt for more M0 boards
4 years ago
Dan Halbert
1bb4fccc3b
Turn off SUPEROPT on gc.c instead of trying to squueze inline limit so much; reorganize mpconfigboard.mk files
4 years ago
Dan Halbert
4e85c1ef91
Implement forced clean builds for boards so designated.
...
Mark boards that set CFLAGS_INLINE_LIMIT for particular langauges as needing clean builds.
Fixes #1910 .
4 years ago
Scott Shawcroft
defc6dceb0
Slim down feather m0 express
4 years ago
Scott Shawcroft
0f003ac5b8
Reorganize board busses into shared-bindings and shared-module.
4 years ago
Dan Halbert
88068876ed
turn off frequencyio for all SAMD21 builds
4 years ago
Scott Shawcroft
96a924f5f0
Turn off networking on M0s.
...
It takes 10k of code space and isn't very useful because of the
M0's limited RAM. Disabling it allows us to add other things.
4 years ago
Scott Shawcroft
2e500a8a29
Copy inline setting on feather m0 express that the metro has.
4 years ago
sommersoft
2cd6a79016
better handle frequencyio inclusion
4 years ago
Dan Halbert
5154e0581e
WIP: atmel-samd trinket build works
4 years ago
Scott Shawcroft
2d136d58bf
Fix other builds and hallowing
4 years ago
Scott Shawcroft
6ef8639971
Rework safe mode and have heap overwrite trigger it.
...
This creates a common safe mode mechanic that ports can share.
As a result, the nRF52 now has safe mode support as well.
The common safe mode adds a 700ms delay at startup where a reset
during that window will cause a reset into safe mode. This window
is designated by a yellow status pixel and flashing the single led
three times.
A couple NeoPixel fixes are included for the nRF52 as well.
Fixes #1034 . Fixes #990 . Fixes #615 .
4 years ago
Scott Shawcroft
9d91111b1b
Move atmel-samd to tinyusb and support nRF flash.
...
This started while adding USB MIDI support (and descriptor support is
in this change.) When seeing that I'd have to implement the MIDI class
logic twice, once for atmel-samd and once for nrf, I decided to refactor
the USB stack so its shared across ports. This has led to a number of
changes that remove items from the ports folder and move them into
supervisor.
Furthermore, we had external SPI flash support for nrf pending so I
factored out the connection between the usb stack and the flash API as
well. This PR also includes the QSPI support for nRF.
4 years ago
Nick Moore
f6482699a0
Merge remote-tracking branch 'origin/master' into circuitpython/nickzoic/703-wiznet-5500-native
4 years ago
Paul Sajna
1447df3fa6
change BAT to BATTERY
4 years ago
Paul Sajna
f1028b5f96
add pin def for BAT
4 years ago
Nick Moore
8d75c3d339
Changed to only build wiznet for {feather|metro}_m[04]_express
4 years ago
Pierrick C
53853289eb
Move VOLTAGE_BATTERY line just under D9 line
4 years ago
Pierrick C
8eda4bb473
Add VOLTAGE_MONITOR alias for D9 pin to feather boards
4 years ago
Noralf Trønnes
11cbeb87ad
ports/atmel-samd: Implement i2cslave.I2CSlave
...
This adds support for SAMD acting as a I2C slave in polled mode.
5 years ago
Scott Shawcroft
769788d3c7
Turn off USB pin objects since they are always used for USB.
5 years ago
Scott Shawcroft
fd71e56891
atmel-samd: Re-org helper peripheral files into their own subdirectory.
...
Ideally in the future they won't depend on ASF4 or MicroPython.
5 years ago
Dan Halbert
45db48bbaa
make longint choice mechanism more readable
5 years ago
Dan Halbert
5680933483
refactor longint settings; make crickit cpx build
5 years ago
Noralf Trønnes
cf33ad9a54
atmel-samd/samd21: Enable long int on Express boards
...
This is necessary for using 1970 epoch in the time module.
5 years ago
Matt Land
173a0a5faa
arduino, circuitplayground, feather boards
5 years ago
Matt Land
c2fa892a02
fix formatting
5 years ago
Matt Land
de885e81b1
Merge branch 'feature-i2c-gemma' into feature-default-spi-circuit-playground
5 years ago
Matt Land
2c067edf54
used pins.c instead of README.rst
5 years ago
Matt Land
3144654854
SPI for all boards
5 years ago
Matt Land
244866c2c3
spi on much
5 years ago
Matt Land
4e65752d6e
feather m0 boards
5 years ago
Noralf Trønnes
2893e795fc
atmel-samd/samd21: Use XOSC32K on boards with a crystal
...
Use XOSC32K on boards that have BOARD_HAS_CRYSTAL defined and set to 1.
5 years ago
Scott Shawcroft
812fe0c93f
Turn on nvm in 3.0.
...
Its 256b on M0 and 8k on M4 to match flash erase sizes.
Fixes #758
5 years ago
Scott Shawcroft
01aceaae50
Support all boards and remove erase and page sizes because they never change.
5 years ago
Scott Shawcroft
15f626be58
m4 qspi works. m0 compiles
5 years ago
Scott Shawcroft
4710a2adba
Compiles for m4. Untested on m0.
...
This introduces a new spi_flash_api.h that works for both SPI and
QSPI. The previous spi_flash functions are now called external_flash
to minimize confusion.
5 years ago
Dan Halbert
d8686cc002
use correct LD_FILE in mpconfigboard.mk for boards with external flash
5 years ago
Dan Halbert
72c911be97
Support SPI flash chips for CIRCUITPY, using non-DMA SPI for now.
5 years ago
mrmcwethy
e0eae5cb2a
Enable the Neopixel status light on Metro M0 Express and Feather M0 Express boards
5 years ago
Scott Shawcroft
3cb5e7ea58
atmel-samd: Update Feather M0 Express USB PID
...
This makes it different from the bootloaders and Arduino.
5 years ago
Scott Shawcroft
4aeef100f6
atmel-samd: More USB polish
...
* Introduce a python script to generate the USB descriptor instead of
a bunch of C macros. In the future, we can use this dynamically in
CircuitPython.
* Add support for detecting read-only mass storage mounts.
Fixes #377
5 years ago
Scott Shawcroft
73c15dcf8b
Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge
...
This is prep for merging in the NRF5 pull request.
5 years ago