Commit Graph

10277 Commits

Author SHA1 Message Date
microbuilder
a3289c3c2f Added D13 for standard LED examples 2017-12-22 11:42:33 +01:00
microbuilder
393bc9bce9 Removed leftover code snippet 2017-12-22 11:39:40 +01:00
microbuilder
c868b66f5b Minor typo removed in path 2017-12-22 11:33:17 +01:00
microbuilder
99dd0a61ff Spaces to tabs 2017-12-22 11:29:39 +01:00
Dan Halbert
2d2735c9d4 Error in PDMIn filter loop. 2017-12-21 13:59:16 -08:00
microbuilder
60a23f0fb6 nRF52 update with internal file system support 2017-12-21 13:49:14 +01:00
Dan Halbert
e671fa2f7a
Merge pull request #495 from tannewt/fix_baud_reset
Fix 1200 baud reset.
2017-12-20 18:32:55 -05:00
Scott Shawcroft
39f30aeec6 Fix 1200 baud reset.
Fixes #494
2017-12-20 15:17:06 -08:00
Dan Halbert
ec1d29f4ae check twice for bad filesystem 2017-12-20 09:02:30 -08:00
Dan Halbert
23dd19757a Wait 2 secs before creating new filesystem in case power is jittery 2017-12-20 09:02:30 -08:00
Dan Halbert
22bbb6ab86 Don't include examples directories in frozen libraries 2017-12-20 09:00:45 -08:00
Dan Halbert
7f8972b842
Merge pull request #489 from adafruit/test_2.x
Add root .readthedocs.yml config
2017-12-19 13:11:22 -05:00
Scott Shawcroft
e3df0104b0 Add root readthedocs.yml file. 2017-12-19 09:24:12 -08:00
Kattni
aca4b60d28
Merge pull request #486 from dhalbert/2.x_lis3dh_3.0.0
update CPX frozen Adafruit_CircuitPython_LIS3DH to library version 3.0.0
2017-12-15 13:42:09 -05:00
Dan Halbert
054cac3e4b update CPX frozen Adafruit_CircuitPython_LIS3DH to library version 3.0.0 2017-12-15 13:25:46 -05:00
Dan Halbert
0c0a09aeb6 Speed up AnalogIn.value. 2017-12-15 09:56:39 -08:00
Kattni
6d603e462d
Merge pull request #483 from dhalbert/2.x
bring CPX frozen modules up to date
2017-12-14 18:38:05 -05:00
Dan Halbert
a37cc171e8 bring CPX frozen modules up to date 2017-12-14 17:43:59 -05: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
f2ad1a3679 Write version info to boot_out.txt. 2017-12-14 09:59:40 -08:00
Dan Halbert
43650b6896 Fix PDMIn MEMS microphone support (#479)
Changes:

    * New faster filter loop, by @ladyada. New filter coefficients as well.
    * Turn on microphone clock when PDMIn object is created, and run it all the time, so the user code doesn't have to wait for microphone startup, which can be 10ms or even 100ms.
    * Wait for microphone startup when PDMIn is first created, based on new optional parameter microphone_startup in seconds (takes a float).
    * record() returns number of samples actually recorded, so you can see if it's not keeping up.
    * Fix buffer overflow errors when buffer size was not a multiple of 16 or something like that.
    * Tweak a few peripheral settings.
    * Minimum sampling frequency is now 16kHZ or so, because 8kHz runs microphone at only 0.5MHz, which is too slow for many mics.

Note: I tried 128x oversampling instead of 64x, but the code cannot keep up at 24kHz or above sampling. 128x would reduce the high-frequency noise by 6db.
2017-12-13 10:12:49 -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
Dan Halbert
3c49f53eac
Merge pull request #474 from tannewt/mcu_reset
Introduce reset mechanics to microcontroller.
2017-12-05 19:20:26 -05:00
Scott Shawcroft
a91e1cb682 Fix a couple spelling errors. 2017-12-05 16:04:47 -08:00
Scott Shawcroft
b4d3699047 Introduce reset mechanics to microcontroller.
This allows one to configure how a subsequent reset will behave and
also trigger a reset.

Fixes #350 and fixes #173
2017-12-05 14:50:58 -08:00
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