Commit Graph

13500 Commits

Author SHA1 Message Date
Dan Halbert 6a001786a9 merge from master 2019-07-09 08:58:49 -04:00
Dan Halbert ddd4d616db make translate 2019-07-09 08:43:54 -04:00
Dan Halbert 118b26b335 UARTClient now works both directions 2019-07-09 00:21:46 -04:00
Scott Shawcroft f4a64a2e80
Merge pull request #1989 from rce1086/master
Added conditional compilation around selection of TX pad candidates
2019-07-08 14:07:04 -07:00
Scott Shawcroft 380f1d6ae6
Merge pull request #1984 from iot49/uart
changed type of receiver_buffer_size to uint16_t
2019-07-07 18:14:52 -07:00
Carl Elkins 64507207da Added conditional compilation around selection of TX pad candidates
Original code was correct for SAMD21
New code for SAMD51 only permits pad-0 for TX
2019-07-08 02:08:39 +01:00
Dan Halbert 09ddff8df1 WIP: Need descriptors for Central CCCD discovery; not done yet 2019-07-07 00:07:47 -04:00
iot49 4c72a3991e updated samd and esp8266 ports 2019-07-05 10:01:51 -07:00
iot49 6e5d70fa19 changed type of receiver_buffer_size to uint16_t 2019-07-03 12:02:01 -07:00
Scott Shawcroft 69460b943b
Merge pull request #1983 from tannewt/fix_group_subscr_delete
Fix Group subscr to detect delete correctly
2019-07-03 09:47:34 -07:00
Dan Halbert bf8a35b2f8 WIP: CharacteristicBuffer for Central; not working: need to set remote Characteristic Service 2019-07-02 22:34:54 -04:00
Scott Shawcroft 745ff8f8c1
Fix Group subscr to detect delete correctly
Fixes #1957
2019-07-02 18:15:23 -07:00
Scott Shawcroft 2761ae6754
Merge pull request #1978 from pewpew-game/ugame-font
Switch the terminal font for ugame10
2019-07-02 11:52:58 -07:00
Radomir Dopieralski e45eac5016 Switch the terminal font for ugame10
I designed this really tiny, minimalist font for use on very small
displays. On uGame it lets one see the whole text that CircuitPython
prints on boot. The characters are 4x6 pixels each, and they are
optimized for legibility (large x-height, right angles, blocky shapes).

It might make sense to also use that font in other boards.
2019-07-01 23:05:07 +02:00
Scott Shawcroft f76021ef82
Merge pull request #1979 from pewpew-game/font-boundingbox
Use FONTBOUNDINGBOX for font metrics
2019-07-01 13:43:29 -07:00
Radomir Dopieralski 7c908b08ee Use FONTBOUNDINGBOX for font metrics
Instead of iterating over all the glyphs and calculating the maximum
width and height, use the FONTBOUNDINGBOX to determine the size of a
tile for terminalio.

This works better with fonts such as generated by FontForge, that don't
include the empty space in the glyph bitmap itself. It also lets the
font author specify vertical spacing they want.

I only tested this with the default font and with one I generated with
FontForge.
2019-06-30 01:10:47 +02:00
Dan Halbert 6ea01ea9b0 Central is connecting; characteristics can be read and written 2019-06-29 00:20:06 -04:00
Dan Halbert f0a112ef5d
Merge pull request #1975 from tannewt/merge_in_402
Merge in 4.0.2
2019-06-27 18:48:03 -04:00
Scott Shawcroft 0cce7fcaa3
Merge remote-tracking branch 'adafruit/4.0.x' into merge_in_402 2019-06-27 14:06:26 -07:00
Scott Shawcroft 72ea216dce
Merge pull request #1974 from tannewt/fix_missing_lines
Properly reset the terminal each init.
2019-06-27 13:54:57 -07:00
Dan Halbert c562b19238
Merge pull request #1972 from tannewt/validate_mpy_load
Validate mpy load
2019-06-26 20:39:50 -04:00
Scott Shawcroft 2004be96ac
Properly reset the terminal each init.
Fixes #1944
2019-06-26 17:36:30 -07:00
Scott Shawcroft fe507db45f
Shrink pIRkey build down.
Rollback HID to save string space and remove board mapping for
default buses that don't exist.
2019-06-26 16:49:23 -07:00
Scott Shawcroft 1f105e0ac0
Update frozen libraries to save space 2019-06-26 15:10:51 -07:00
sommersoft f77abbd960
Merge pull request #1973 from tannewt/travis_deploy_keep_alive
Add keep alive to Travis deploy
2019-06-26 17:07:43 -05:00
Scott Shawcroft 6785e0259f
Add keep alive to Travis deploy
Some deploys take over 10 minutes and Travis kills the job. This
workaround is from https://github.com/travis-ci/dpl/issues/568
2019-06-26 11:14:45 -07:00
Scott Shawcroft 6d2072f9cb
Fix tests 2019-06-26 11:02:18 -07:00
Scott Shawcroft 2494bfdc86
Validate raw code and mpy read length 2019-06-25 17:54:27 -07:00
Scott Shawcroft 77355cbb2f
Update translations 2019-06-25 16:52:52 -07:00
Scott Shawcroft 330517bde9
Validate portions of mpy load to detect corruption
Fixes #1917
2019-06-25 15:39:33 -07:00
Scott Shawcroft d3adfde22a
Merge pull request #1968 from adafruit/4.0.x
Merge in nrf neopixel fix
2019-06-25 11:35:58 -07:00
siddacious 863de45c0a
Merge pull request #1969 from AlexHagerman/design-guide-import-update
Update import statement in design guide code snippet.
2019-06-25 07:43:36 -07:00
Alexander Hagerman 48443c9c3f Update import statement in code snippet.
The code snippets in the Design Guide article reference  without the  statement.
2019-06-25 08:36:44 -04:00
Scott Shawcroft ecf24420d5
Merge pull request #1963 from dhalbert/nrf-neopixel-fix
nrf: fix neopixel_write pwm buf size calc
2019-06-24 17:31:56 -07:00
Dan Halbert 140904ec84 getting Scanner to work 2019-06-22 22:10:15 -04:00
Dan Halbert 4881e1ff55 WIP: Central compiles; now will test 2019-06-21 18:04:04 -04:00
Dan Halbert 23bd861c9a nrf: fix neopixel_write pwm buf size calc 2019-06-20 18:02:14 -04:00
Dan Halbert 24ac1fdcab WIP: backup only; not compiled 2019-06-19 21:54:28 -04:00
Dan Halbert 3863a6ab8c
Merge pull request #1961 from tannewt/update_frozen
Update frozen libraries
2019-06-19 18:01:05 -04:00
Scott Shawcroft 232e7c7cb0
Merge pull request #1959 from cpforbes/issue1921
Documentation fixes.
2019-06-19 14:05:54 -07:00
Scott Shawcroft 14d0606fa0
update stage too 2019-06-19 12:44:10 -07:00
Scott Shawcroft 7ad229ec27
Merge pull request #1958 from tannewt/pygamer_advanced
Add PyGamer Advance and fix Joystick pins
2019-06-19 12:32:36 -07:00
Scott Shawcroft a7bed2a74e
Update frozen libraries 2019-06-19 12:23:15 -07:00
Scott Shawcroft edecddcb33
Merge pull request #1946 from C47D/master
[locale spanish] Update spanish translation.
2019-06-19 11:02:43 -07:00
Dan Halbert a1b5d800f3 Update copyrights; get ready for Central 2019-06-19 10:42:36 -04:00
Dan Halbert 35b9191857 Don't operate directly on bleio objects in shared-bindings: use common_hal
routines instead. Changes made but not yet tested.
2019-06-18 23:46:20 -04:00
Scott Shawcroft 5e5252ced0
Merge pull request #1955 from pewpew-game/pygamer-stage
Add support for PyGamer to Stage library
2019-06-18 18:23:08 -07:00
Craig Forbes 09e7f4db00 Fix reference to Bitmap in fontio.Glyph docs. 2019-06-18 18:44:50 -05:00
Craig Forbes e442efbdec Fix docs in digitalio. 2019-06-18 16:59:05 -05:00
Craig Forbes 0bb92d4fc3 Fix references to cpython in builtins documentation. 2019-06-18 16:59:05 -05:00