Commit Graph

13326 Commits

Author SHA1 Message Date
Dan Halbert 0113e0970e add Display.__init__() args for brightness and auto_brightness 2019-04-18 15:59:16 -04:00
Dan Halbert 4fc0f8b25c Turn off auto_brightness if brightness is set 2019-04-18 13:57:27 -04:00
Scott Shawcroft 70dd6167c0
Merge pull request #1811 from tannewt/doc_build_tweak
Tweak RTD to install svg2pdfconverter
2019-04-17 21:00:21 -07:00
Scott Shawcroft 5f5e456e58
Tweak RTD to install svg2pdfconverter 2019-04-17 18:22:19 -07:00
Dan Halbert 00379dbb7e
Merge pull request #1810 from tannewt/black_line_ondisk
Fix off by one error in OnDiskBitmap
2019-04-17 20:27:31 -04:00
Dan Halbert fcfafe6ced
Merge pull request #1809 from tannewt/board_i2c_crash_v2
Unify VM cleanup code
2019-04-17 20:25:12 -04:00
Scott Shawcroft c372567330
Fix off by one error in OnDiskBitmap
It resulted in the first row of pixels being pulled for out of bounds.

Fixes #1801
2019-04-17 15:17:11 -07:00
Scott Shawcroft 5b94b7727d
Merge pull request #1793 from C47D/fix_audiobusio_msg
Fix I2SOut message, fix #1765
2019-04-17 15:01:43 -07:00
Scott Shawcroft 92ba5c26b0
Unify VM cleanup code
Before we were skipping reset of the standard busses after boot and
repl which could lead to a crash in a subsequent VM run.

Fixes #1806
2019-04-17 14:52:00 -07:00
Scott Shawcroft f7c7904e2b
Correct call structure for throwing errors 2019-04-17 13:54:29 -07:00
Dan Halbert 49c4c1e2ac
Merge pull request #1805 from tannewt/readme_updates
Doc updates for 4.0.0
2019-04-17 15:19:01 -04:00
Scott Shawcroft 45b26ec383
Install rsvg 2019-04-17 11:35:30 -07:00
Carlos 71c4f100de
Update translations and use same error for PDM too 2019-04-17 11:28:43 -07:00
Carlos 5865b28592
[audiobusio-I2SOut] Fix translation error 2019-04-17 11:12:38 -07:00
Carlos 65cc366280
[audiobusio-I2SOut] Fix compilation error by using mp_raise_ValueError_varg 2019-04-17 11:12:38 -07:00
Carlos 9f63125345
Fix I2SOut message, fix #1765 2019-04-17 11:12:38 -07:00
Scott Shawcroft c415d114e1
Feedback from Dan and hopefully fix build. 2019-04-17 10:48:11 -07:00
Scott Shawcroft bfbe9323ee
Merge pull request #1807 from pewpew-game/stage-cast-native
Allow use of displayio.Display subclasses in _stage
2019-04-17 10:37:32 -07:00
Scott Shawcroft 713a38d1a2
Merge pull request #1754 from dmazzella/dmazzella-patch-1
add support for USER_C_MODULES
2019-04-17 09:41:20 -07:00
Radomir Dopieralski 3a65ff970a Allow use of displayio.Display subclasses in _stage 2019-04-17 17:21:34 +02:00
Dan Halbert b5e283af68
Merge pull request #1808 from pewpew-game/gamepad-doc
Update GamePad docs to include pull-downs
2019-04-17 11:06:19 -04:00
Dan Halbert 6684a3c723
Merge pull request #1778 from pewpew-game/gamepad-shift
Add GamePadShift for handling shift-register-based buttons
2019-04-17 10:22:24 -04:00
Radomir Dopieralski e46bf7e7c6 Update GamePad docs to include pull-downs 2019-04-17 11:18:30 +02:00
Scott Shawcroft 8b60b20f88
Tweaks based on review feedback. 2019-04-16 17:33:13 -07:00
Scott Shawcroft bebf32ad6f
Doc updates for 4.0.0
* Fixes PDF generation on RTD
* Adds links to circuitpython.org for boards
* Adds branding guidelines
2019-04-16 16:40:16 -07:00
Scott Shawcroft 608bf5076b
Merge pull request #1804 from ITACAInnovation/master
Merging updates
2019-04-16 13:54:40 -07:00
Dan Halbert c0ce820974
Merge pull request #1803 from nickzoic/circuitpython-nickzoic-1042-nrf-nvm-bytearray-3
Circuitpython nickzoic 1042 nrf nvm bytearray 3
2019-04-16 15:05:18 -04:00
Scott Shawcroft 2fa1bf4351
Merge remote-tracking branch 'adafruit/master' into gamepadshift 2019-04-16 11:23:41 -07:00
Scott Shawcroft 2011bc3485
Update stage for GamePadShift 2019-04-16 11:17:02 -07:00
Scott Shawcroft 55782901d0
Actually call gamepadshift_tick 2019-04-16 11:15:42 -07:00
Scott Shawcroft 190bdf8117
Simplify type check in tick and init last 2019-04-16 10:44:09 -07:00
Scott Shawcroft f58446e937
Merge branch 'master' into master 2019-04-16 10:32:38 -07:00
Scott Shawcroft 6132a05fd9
Include cleanup and style tweaks 2019-04-16 10:19:07 -07:00
Scott Shawcroft 7822d013cd
Merge pull request #1798 from ntavish/papyr
Add support for Electronut Labs Papyr.
2019-04-16 10:13:19 -07:00
Scott Shawcroft 0e03a321e4
Fully split gamepadshift from gamepad 2019-04-16 10:11:54 -07:00
ITACA Innovation S.R.L 2d303213ed Add files via upload 2019-04-16 16:50:54 +02:00
ITACA Innovation S.R.L 4f5a7ffe46 Updates: VID&PID, pinout
Changed VID & PID to new ones.
Changed the layout accordingly to the prototype version.
2019-04-16 16:45:47 +02:00
Tavish Naruka 32a0855d18 Add support for Electronut Labs Papyr.
Signed-off-by: Tavish Naruka <tavishnaruka@gmail.com>
2019-04-16 12:59:42 +05:30
Nick Moore 9c42a72275 Fix up single-byte access to nvm.ByteArray 2019-04-16 14:53:44 +10:00
Nick Moore 83dad37562 Fixups for adafruit/circuitpython#1042 2019-04-16 14:53:44 +10:00
Nick Moore 02dd32da60 Make some space for NVM adafruit/circuitpython#1042 2019-04-16 14:53:44 +10:00
Nick Moore f22c01a05e Switch supervisor/internal_flash to use new nrf_nvm_safe_flash_page_write
adafruit/circuitpython#1610
2019-04-16 14:53:44 +10:00
Nick Moore 66e8ceafad switch nvm.ByteArray to use new nrf_nvm_safe_flash_page_write
adafruit/circuitpython#1610
2019-04-16 14:53:44 +10:00
Nick Moore fd83cf2048 Add a peripherals/nrf/nvm.c to wrap flash page writes safely 2019-04-16 14:53:44 +10:00
Nick Moore d0e5af3b09 Working flash pages for nvm.ByteArray adafruit/circuitpython#1042
import microcontroller

def dump(n = microcontroller.nvm):
    for i in range(0,len(n)):
        print ("%02X " % n[i], end="")
        if i % 16 == 15: print('')

microcontroller.nvm[0:4096] = bytes([1,2,3,4,5,6,7,8]) * 512
microcontroller.nvm[4096:8192] = bytes([16,17,18,19]) * 1024
microcontroller.nvm[4090:4101] = b'thisisatest'
microcontroller.nvm[100:105] = b'hello'
microcontroller.nvm[8000:8007] = b'goodbye'
dump()
2019-04-16 14:53:44 +10:00
Nick Moore 531cf7eb4c switch CIRCUITPY_NVM on! 2019-04-16 14:53:44 +10:00
Nick Moore 933500c448 nvm.ByteArray reads & writes but no sensible erase yet adafruit/circuitpython#1042 2019-04-16 14:53:44 +10:00
Nick Moore df89156f2f Start on nRF nvm.ByteArray adafruit/circuitpython#1042 (doesn't do anything yet) 2019-04-16 14:53:44 +10:00
Scott Shawcroft 4826994599
Merge pull request #1802 from adafruit/revert-1779-nrf-nvm-2
Revert "nrf nvm: touchups to nickzoic PR #1768"
2019-04-15 19:19:21 -07:00
Scott Shawcroft 254d0a53ac
Revert "nrf nvm: touchups to nickzoic PR #1768" 2019-04-15 18:50:33 -07:00