Commit Graph

10155 Commits

Author SHA1 Message Date
Scott Shawcroft 3be456629b
Merge pull request #496 from microbuilder/nrf52_3.x
nRF52 update with internal file system support
2018-01-02 12:09:20 -08:00
Scott Shawcroft a1a02c5427
Conditionally install build deps to speed up Travis 2018-01-02 11:54:11 -08:00
Dan Halbert d9ae709045
Merge pull request #505 from dhalbert/2.2_update_cpx_frozen_libs
update CPX frozen modules to latest versions
2017-12-30 12:16:27 -05:00
Dan Halbert 9a50fa4a50 update CPX frozen modules to latest versions 2017-12-30 11:22:29 -05:00
Dan Halbert 18f3dfcd90
Merge pull request #503 from sommersoft/master
shared-bindings/index.rst: added audiobusio
2017-12-30 08:53:27 -05:00
sommersoft 881fa8e2b9 shared-bindings/index.rst: added audiobusio
shared-bindings/index.rst: added `aduiobusio` to Support Matrix. Used `audiobusio/_init_.c` to verify applicable ports; SAMD21 was the only one listed...ESP8266 wasn't. This fixes issue #448.
2017-12-30 01:36:23 -06:00
hathach a997ab258e spacing clean up 2017-12-29 23:07:32 +07:00
hathach 6c8d60afc0 Merge branch 'nrf52_3.x' of github.com:microbuilder/circuitpython into nrf52_3.x 2017-12-29 22:44:40 +07:00
hathach 7f79a0e78c added Ctrl+C interrupt 2017-12-29 22:43:31 +07:00
hathach a021a9e5f0 update uart to remove dependency on machine uart module 2017-12-29 21:25:43 +07:00
microbuilder 7a69382f36 Added script to download SD files 2017-12-28 22:41:38 +01:00
microbuilder 5da455e398 Added feather52 to travis build list 2017-12-28 22:35:03 +01:00
microbuilder 178925640b Moved comment to avoid abbreviation 2017-12-27 21:13:39 +01:00
microbuilder f1e1699c9f Added feather52 to travis build 2017-12-27 13:54:16 +01:00
Dan Halbert 94e645defa
Merge pull request #499 from dhalbert/2.x_frozen_module_version_info
Add git version info to frozen modules.
2017-12-24 14:58:42 -05:00
Dan Halbert 31be20744d preprocess_frozen_modules.py: yet more Python 3.4 compatibility changes 2017-12-24 14:29:03 -05:00
Dan Halbert 644ad74ea1 preprocess_frozen_modules.py: make compatible with Python 3.4. 2017-12-24 13:49:58 -05:00
Dan Halbert 2dcb2f06cb Add git version info to frozen modules. 2017-12-23 23:46:19 -05:00
Dan Halbert e44fbca272 PDMIn: Make last DMA buffer be exactly the right length. 2017-12-23 09:35:45 -08:00
Dan Halbert 7918714043 certain odd-sized PDMIn record buffers would crash or not fill properly 2017-12-23 09:35:45 -08:00
microbuilder a14bfeba64 Merge branch 'nrf52_3.x' of github.com:microbuilder/circuitpython into nrf52_3.x 2017-12-22 12:03:41 +01:00
microbuilder 60feb1a9aa Added .gitattributes for ZIP bin support 2017-12-22 12:03:25 +01:00
Kevin Townsend b3928288f0
Add files via upload 2017-12-22 12:02:15 +01:00
Kevin Townsend 8dcd9cc35c
Delete feather52_bootloader_5.0.0_s132_single.zip 2017-12-22 12:00:41 +01:00
Kevin Townsend de72f7fabb
Delete feather52_bootloader_2.0.1_s132_single.zip 2017-12-22 12:00:34 +01:00
microbuilder ad7cd0399d Added 'mp_raise_NotImplementedError(NULL)' 2017-12-22 11:48:07 +01:00
microbuilder b9e229f739 Removed old code snippets 2017-12-22 11:47:15 +01:00
microbuilder ace872bf11 Added 'mp_raise_NotImplementedError(NULL)' 2017-12-22 11:45:51 +01:00
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