Commit Graph

10201 Commits

Author SHA1 Message Date
Dan Halbert 78db6c32cd
Merge pull request #473 from dhalbert/2.x_esp8266_bidi_spi
add SPI.write_readinto() to esp8266 port
2017-12-05 16:41:09 -05:00
Dan Halbert 2900ed22e7 add SPI.write_readinto() to esp8266 port 2017-12-05 16:03:22 -05:00
Dan Halbert e75fd0e166 add SPI.write_readinto() - bidirectional SPI 2017-12-05 11:17:16 -08:00
Dan Halbert 9ac6890d20 update CPX frozen modules to latest versions 2017-12-03 20:31:01 -08:00
Christopher Hiller b31c2ea748 fix markdown-styled link in design_guide.rst 2017-12-02 22:43:48 -08:00
Dan Halbert 93978bcd25
Merge pull request #465 from dhalbert/3.0_spi_flash
Support SPI flash chips for CIRCUITPY, using non-DMA SPI for now.
2017-11-28 13:59:16 -05:00
Dan Halbert 72c911be97 Support SPI flash chips for CIRCUITPY, using non-DMA SPI for now. 2017-11-27 21:00:24 -05:00
Stewart fb1dcd326d ports/atmel-samd: feather_m0_adalogger readme updates (#460)
- Added D4 and moved associated SD_CS so that they are paired within list
- Added D7 and SD_CD which is the SD Card Detect pin
- Added D8 and GREEN_LED
- Added RED_LED associated with D13
- Added Setup information regarding arm complier packages
- README - Updated to reflect that feather_m0_adalogger microSD is supported
2017-11-26 21:10:01 -08:00
Stewart a41272dcd3 atmel-samd: Added missing adalogger pins (#461)
- Added D4 and moved associated SD_CS so that they are paired within list
- Added D7 and SD_CD which is the SD Card Detect pin
- Added D8 and GREEN_LED
- Added RED_LED associated with D13
- Added Setup information regarding arm complier packages
2017-11-26 21:08:27 -08:00
Stewart Colborne 5eb7958425 ports/atmel-samd/boards/feather_m0_adalogger/pins: Added missing pins
- Added D4 and moved associated SD_CS so that they are paired within list
- Added D7 and SD_CD which is the SD Card Detect pin
- Added D8 and GREEN_LED
- Added RED_LED associated with D13
2017-11-25 22:00:32 -08:00
Kevin Townsend ce75a21e50 Revert "Supervisor REPL support for ports/nrf/boards/feather52"
This reverts commit 92113dde81.
2017-11-23 13:38:38 +01:00
Kevin Townsend 92113dde81 Supervisor REPL support for ports/nrf/boards/feather52 2017-11-23 09:22:11 +01:00
mrmcwethy a38d8948b3 M4 status LED flashing with no main.py present #447 Initialized stack variable 2017-11-22 22:57:50 -08:00
Dan Halbert d016bcdf82
Merge pull request #455 from kattni/pdmin-doc-update
Resolved formatting issue in doc
2017-11-22 22:13:04 -05:00
Kattni 4902f0937f Resolved formatting issue in doc 2017-11-22 21:44:18 -05:00
mrmcwethy e0eae5cb2a Enable the Neopixel status light on Metro M0 Express and Feather M0 Express boards 2017-11-21 14:39:56 -08:00
Dan Halbert 26862f8a52
Merge pull request #453 from pewpew-game/stage
Fix display orientation for _stage module
2017-11-21 17:19:02 -05:00
Radomir Dopieralski 1276ce59c3 Fix display orientation for _stage module
Initially this library assumed the display is rotated by 90 degrees, so
the x and y were swapped. I'm now handling the display rotation in the
driver, with the hardware display settings, so the library should use
a sane order of x and y. This way it will work with any display
orientation.
2017-11-21 23:12:55 +01:00
Dan Halbert 6f662e9bbc samd51 peripheral clocks were defined as 12MHz, but were really 120MHz 2017-11-20 21:11:30 -08:00
Kattni 1d6bf8e04a Updated frequency minimum requirements in docs and examples (#444)
Updated frequency minimum requirements in docs and examples
2017-11-19 22:19:22 -08:00
Limor "Ladyada" Fried 27d5f27831 Add ItsyBitsy M0 support with 1MB flash support (#445) 2017-11-17 09:25:36 -08:00
Dan Halbert a9f75a71c5
Merge pull request #443 from dhalbert/3.0_spi
non-DMA SPI working; adding this now for testing; will continue with DMA
2017-11-16 19:28:24 -05:00
Dan Halbert 312444bbd2 non-DMA SPI working; adding this now for testing; will continue with DMA
Also, fixed pin mappings for rev B Metro M4:
swap PA12 and PA13 on SPI 2x3 header
swap A3 and A5

Comment out all frozen modules in CPX again to make room while waiting
for SPI flash.
2017-11-16 19:09:35 -05:00
Dan Halbert ea4b08de20
Merge pull request #441 from tannewt/samd_reenable
Create supervisor module.
2017-11-16 15:05:35 -05:00
Scott Shawcroft 99153569f4 tests: Fixup tests for 3.x on Rosie 2017-11-16 10:56:20 -08:00
Scott Shawcroft ecc47d5258 Create supervisor module.
It can control autoreload and the rgb status led.
2017-11-16 09:04:17 -08:00
Dan Halbert 2d34450872
Merge pull request #440 from tannewt/toolchain_included
Speed up Travis
2017-11-16 01:00:03 -05:00
Scott Shawcroft b1998cb0b1 Speed up the Travis build.
This does two major things:

1. It stores the arm gcc in the repo. The download from the PPA was taking between 2 and 7 minutes.
2. It splits each board into a separate job so they are built in parallel.
2017-11-15 21:31:21 -08:00
Dan Halbert 065a319100 Update info about erasing CIRCUITPY to include flash erasers for non-… (#427)
Update info about erasing CIRCUITPY to include flash erasers for non-Express boards.
2017-11-14 07:58:26 -08:00
Dan Halbert 2d0d1ef5f2
Merge pull request #431 from microbuilder/master
Added feather52 DFU support
2017-11-10 07:42:15 -05:00
Kevin Townsend 237cc954e3 Fixed feather52 DFU support 2017-11-10 09:17:24 +01:00
Dan Halbert 9564f7b90e
Merge pull request #425 from tannewt/align_usb
atmel-samd: USB mass storage tweaks.
2017-11-09 17:19:33 -05:00
Dan Halbert 5e04780148
Merge pull request #430 from dhalbert/restore_182a946_msc
Unrevert the revert below, in preparation for PR #425 (tannewt/circuitpython, align_usb branch).
2017-11-09 17:17:18 -05:00
Dan Halbert 609ebe5cad Unrevert the revert below, in preparation for PR #425 (tannewt/circuitpython, align_usb branch).
Roll back to b4fc464a4dd260bae9c2a49f996ffeb96268228d:

git revert -m 1 -n b82cfcb064
git revert -n 0e6928b087
git revert -n bfe7e055e9
git commit
2017-11-09 16:23:59 -05:00
Dan Halbert b82cfcb064
Merge pull request #424 from dhalbert/revert_182a946_msc
Revert "atmel-samd: Tweak mass storage code to finish read sooner."
2017-11-08 23:38:13 -05:00
Scott Shawcroft 0e6928b087 atmel-samd: Align SCSI responses. 2017-11-08 22:00:17 -05:00
Scott Shawcroft ef9a7f262a atmel-samd: Turn off nvmctl cache and rework active_read. 2017-11-08 16:01:38 -08:00
Scott Shawcroft 971bd7e9a6 atmel-samd: Improve MSC reliability.
* Be more liberal with critical sections to ensure ordering.
* Correct usb_busy so that it is busy when no errors occur on
  transfer. I believe it worked before because it would be false
  momentarily until a second transfer was attempted and a busy
  error was returned, therefore setting usb_busy to true. That
  risks the first "failed" transfer completing before a second one
  is attempted.
2017-11-08 12:42:50 -08:00
Scott Shawcroft 7a901cfccd atmel-samd: Align SCSI responses. 2017-11-08 10:47:22 -08:00
Dan Halbert bfe7e055e9 Revert "atmel-samd: Tweak mass storage code to finish read sooner."
This reverts commit 182a946b0e.
2017-11-08 11:17:10 -05:00
bsiepert b4fc464a4d support for doubled file extensions ala issue #383 (#415)
Fixes #383
2017-11-07 23:00:44 -08:00
Dan Halbert 1c12e9aaba
Merge pull request #418 from tannewt/usb_pids
atmel-samd: Update Feather M0 Express USB PID
2017-11-07 20:56:07 -05:00
Dan Halbert d183b66e52
Merge pull request #419 from tannewt/2.x_usb_pids
atmel-samd: Update Feather M0 Express USB PID in 2.x
2017-11-07 20:55:24 -05:00
Scott Shawcroft aa817de7f0 atmel-samd: Update Feather M0 Express USB PID
This makes it different from the bootloaders and Arduino.

Fixes #324.
2017-11-07 14:32:58 -08:00
Scott Shawcroft 3cb5e7ea58 atmel-samd: Update Feather M0 Express USB PID
This makes it different from the bootloaders and Arduino.
2017-11-07 14:26:37 -08:00
Dan Halbert 9060df5af6 DigitalInOut: Use pin value % 32 to accomodate PORTB and up.
Fixes #407.
2017-11-07 10:08:34 -08:00
Radomir Dopieralski 216fcedfbb Add a _stage module (#398)
This is a C module with some low-level functions required for the
CircuitPython "stage" library. It provides support for fast
rendering of tile grids and sprites on SPI-based RGB displays.
2017-11-07 10:05:25 -08:00
Dan Halbert 7292984204 Implement busio.I2c.
* Added asf4_conf/samd*/hpl_sercom_config.h
* Adjusted clocks in peripheral_clk_config.h.
* Put some frozen libs back in CPX for testing.
* Implement common-hal I2C
* Add samd*_peripherals.h in parallel with samd*_pins.h for common
  functions and data.
* Store SERCOM index in pins table for convenience.
* Canonicalize some #include guard names in various .h files.

simpler reset of SERCOMs; remove unused routine
2017-11-07 09:59:54 -08:00
Dan Halbert 048f0f0e4f
Merge pull request #414 from tannewt/new_opt
Turn on -Os and tweak neopixel for new code output.
2017-11-06 21:53:16 -05:00
Dan Halbert d9a19c4c65
Merge pull request #413 from dhalbert/fix_round
Fix round().
2017-11-06 21:39:02 -05:00