Commit Graph

9870 Commits

Author SHA1 Message Date
microbuilder
60a23f0fb6 nRF52 update with internal file system support 2017-12-21 13:49:14 +01:00
sommersoft
36ec29d4e8 Documentation Updates (mcu.delay() and Design Guide) (#481)
/docs/design_guide: added links to firmware build learning guides for SAMD21 & ESP8266. Changes were placed in the "Adding native modules" section, since that seemed to me the best place based on target audience.

Updated documentation for `delay()` which fixes #243.
2017-12-14 10:02:43 -08:00
Dan Halbert
00bf60db28
Merge pull request #477 from tannewt/always_test_enumerate
Always test enumerate. This will ensure that all supported ports include it
2017-12-13 09:57:04 -05:00
Scott Shawcroft
8a50fe8982 Always test enumerate. This will ensure that all supported ports
include it and therefore support our drivers that use it.

Related to https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel/pull/18
2017-12-11 17:07:28 -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 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
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
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
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 b4fc464a4d:

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
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
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
Scott Shawcroft
182a946b0e atmel-samd: Tweak mass storage code to finish read sooner. 2017-11-06 16:30:11 -08:00
Scott Shawcroft
a8ee0012d7 atmel-samd: Enable -Os for SAMD51 and update neopixel accordingly. 2017-11-06 16:30:11 -08:00
Jerry Needell
e2867eb4e9 enable framebuf for ESP8266 2017-11-06 14:54:54 -08:00
Dan Halbert
5ff641772a
Merge pull request #405 from tannewt/remove_double_csw
atmel-samd: Stop double CSW after MSC reads
2017-11-03 20:34:10 -04:00
Scott Shawcroft
4140b3b944 atmel-samd: Stop double CSW after MSC reads
This explicit zero length xfer leads to a second CSW packet. If
another read was started between the two CSWs then the host gets
confused and resets the device.

On reads, the CSW is automatically sent when we reply with the
total length. Writes must do it manually so they can wait for the
disk to flush the data.
2017-11-03 15:08:55 -07:00
Dan Halbert
e7d6df7f7c
Merge pull request #403 from tannewt/fix_swclk51
atmel-samd: Fix SAMD51 SWCLK reset so we can connect the JLink
2017-11-02 17:56:34 -04:00
Scott Shawcroft
c90a2d9b42 atmel-samd: Fix SAMD51 SWCLK reset so we can connect the JLink
while CircuitPython is running.
2017-11-02 14:00:38 -07:00
Dan Halbert
e267b2c666
Merge pull request #402 from tannewt/update_deps
Update deps: ASF, micropython and usb_descriptor.
2017-11-02 16:20:13 -04:00
Scott Shawcroft
a49200d5cb tools: Switch to using separate usb_descriptor repo. 2017-11-02 13:00:50 -07:00