Commit Graph

247 Commits

Author SHA1 Message Date
Dan Halbert 957a82b592 add board.RX and .TX pins to metro_m4_express_revb 2018-02-23 09:54:39 -05:00
Kattni 7399a1a5c7
Merge pull request #634 from dhalbert/3.0_UART
Implement UART for 3.0 + related fixes.
2018-02-21 23:07:27 -05:00
Dan Halbert 5f101f3535 Add dummy UART implementation to nrf so it builds with UART turned on. Also add OneWire. 2018-02-21 22:53:17 -05:00
Dan Halbert 9b4477e1dc Implement UART for 3.0 + related fixes.
1. UART: ported to ASF4. Allow rx-only and tx-only. Add .baudrate r/w property.

2. Make NeoPixel timing deterministic by turning off caches during NeoPixel writes.
3. Incorporate asf4 updates:
  a. async USART driver
  b. bringing Atmel START configuration closer to what we use
  c. Clock initialization order now specified by CIRCUITPY_GCLK_INIT_1ST and _LAST.
4. supervisor/port.c: Move commented-out clock-test pin setting to correct location.
2018-02-21 17:18:49 -05:00
James Devine 9c5a9e3411
Update boards URL in README.rst
Corrected a (probably) old URL in the read me.
2018-02-21 16:14:46 +00:00
Scott Shawcroft d02251f8cd Add a new board for Metro M4 Express Rev B. This is the board
send to community members for testing.

Also tweaked and commented reset pin list for main Metro M4 Express
which is currently unreleased and is Rev D.
2018-02-20 12:34:07 -08:00
Scott Shawcroft 653fc8877d Remove breakpoint instruction used for debugging. 2018-02-19 21:38:14 -08:00
Scott Shawcroft 15f626be58 m4 qspi works. m0 compiles 2018-02-19 14:02:04 -08:00
Scott Shawcroft f20d5723aa Reorganize things. Reading jdec works. 2018-02-19 14:02:04 -08:00
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.
2018-02-19 14:02:04 -08:00
Scott Shawcroft a2bd772d5c Begin rework to add qspi support. 2018-02-19 14:02:04 -08:00
Dan Halbert cb39bfcad9
Merge pull request #625 from tannewt/pulseio3
Re-enable pulseio for SAMD21 and SAMD51
2018-02-16 14:08:01 -05:00
Scott Shawcroft a2b18b75d4 Fix loops and comma style. 2018-02-16 10:05:28 -08:00
Scott Shawcroft eb2b41810a Turn on lto 2018-02-15 16:12:58 -08:00
Scott Shawcroft 538081528d pulsein works on m0 2018-02-15 16:04:39 -08:00
Scott Shawcroft fcde138ea3 pulsein works on m4 2018-02-15 15:12:58 -08:00
Kevin Townsend fce0b0858f Removed leftover build option 2018-02-15 21:46:14 +01:00
Kevin Townsend 10497d1db0 Update for style consistency 2018-02-15 21:44:05 +01:00
Kevin Townsend 6544f4cb5c Cleanup minor typos 2018-02-15 21:42:24 +01:00
Kevin Townsend da15053e0a Fixed pin P0_00 2018-02-15 21:41:21 +01:00
Kevin Townsend d4356f9416 Added second 'P0_00' 2018-02-15 17:00:58 +01:00
Kevin Townsend cd7baed14d Added note nrfutil and flashing 2018-02-15 16:00:34 +01:00
Kevin Townsend 70596b6641 Added note on MSDDisable 2018-02-15 15:51:10 +01:00
hathach f989db25b5 more bootloader feather52840 update 2018-02-15 21:43:27 +07:00
hathach 2e0edd5a63 Merge branch 'nrf52840' of github.com:microbuilder/circuitpython into nrf52840 2018-02-15 15:19:47 +07:00
hathach 2c9cd38547 update bootloader for feather52840 2018-02-15 15:12:30 +07:00
Scott Shawcroft 07230f2637 pulsein compiles but doesn't work 2018-02-14 16:59:04 -08:00
Scott Shawcroft c7af17525b m4 pulseout works 2018-02-14 11:38:52 -08:00
Scott Shawcroft 6a7d889dd4 m0 pulseout works. Factored out shared timer code. 2018-02-13 18:17:20 -08:00
Scott Shawcroft 8479eef578 m0 tc and tcc work 2018-02-13 16:44:04 -08:00
Scott Shawcroft 6c3075bec6 m4 tc and tcc works. multi-tcc channels ok too. 2018-02-13 14:22:55 -08:00
Kevin Townsend 0981c579f0 Fixed pin names 2018-02-13 18:26:28 +01:00
Kevin Townsend b65e97bdb3 Update pin names 2018-02-13 18:17:31 +01:00
Kevin Townsend 5160dda473 Merge branch 'master' into nrf52840 2018-02-13 18:13:47 +01:00
Kevin Townsend 7b1cc9985b Merge branch 'master' of github.com:adafruit/circuitpython 2018-02-13 18:11:20 +01:00
Kevin Townsend fac488fbf8
Merge pull request #617 from arturo182/nrf_gpio_cleanup
nrf: Change pin names on DKs to match silkscreen
2018-02-13 17:54:25 +01:00
Kevin Townsend 283be4f58e Added note on installing nrfutil 2018-02-13 11:55:24 +01:00
Kevin Townsend 7b6d1052d9 Improved README 2018-02-13 11:50:51 +01:00
Kevin Townsend 6a8bafc91b Updated FATFS to 256KB 2018-02-13 11:50:29 +01:00
Kevin Townsend fc28fc4f0b Added notes on flashing bootloader 2018-02-13 11:26:10 +01:00
Kevin Townsend 4745272d6c Added feather52840 readme 2018-02-13 09:34:09 +01:00
Kevin Townsend 76eacad27b
Updated board detection macro 2018-02-13 08:52:17 +01:00
Kevin Townsend 9f1cd41d77
Update to S140 2018-02-13 08:44:35 +01:00
Kevin Townsend d2b8ae66cb
Update mpconfigboard.h 2018-02-13 08:42:44 +01:00
Scott Shawcroft cc616aea4e m4 tc output works. Watch out for the PAC! 2018-02-12 23:41:26 -08:00
Kevin Townsend 59f25fb7a5
Update to S140 2018-02-13 08:40:40 +01:00
hathach 3a54a67f3d add 52840 serial bootloader 2018-02-13 13:32:47 +07:00
hathach 3bb45511fa add feather52840 board 2018-02-13 12:26:34 +07:00
arturo182 7579057ee2 nrf: Use -O1 for debug builds
While O0 is great for debugging, the produced binary doesn't fit on the
feather52 anymore.
2018-02-12 22:50:07 +01:00
arturo182 9962ea6449 nrf: Change pin names on DKs to match silkscreen
Quite a big revamp of the make-pins script, it is now used on each
build to generate the pin files, so the static ones are not needed
anymore.
2018-02-12 22:41:19 +01:00