Dan Halbert
364ee62d10
Address review comments.
2019-07-16 19:53:36 -04:00
Dan Halbert
1cf8a3e8d8
Merge remote-tracking branch 'adafruit/master' into ble-scanner
2019-07-11 18:42:16 -04:00
Hierophect
f31a0d9cf5
Serial REPL support
2019-07-11 13:41:10 -04:00
siddacious
d12e1a8d74
Merge pull request #1990 from kattni/pyruler
...
Adding PyRuler to CircuitPython.
2019-07-10 12:28:43 -07:00
Hierophect
a0e6975b9d
Add some usb reference material, non functional
2019-07-10 14:26:57 -04:00
Kattni Rembor
582acdaa0a
Requested changes.
2019-07-09 16:12:24 -04:00
Kattni Rembor
d905958db1
Adding PyRuler to CircuitPython.
2019-07-09 16:02:39 -04:00
Scott Shawcroft
6fad383367
Merge pull request #1925 from C47D/rgb_status
...
Initial support for RGB led as Status indicator, fixes #1382
2019-07-09 10:31:34 -07:00
Hierophect
7742a97c22
Add STM32F412-DISCO support, cleanup
2019-07-09 13:03:22 -04:00
Scott Shawcroft
f0cf9a4e75
Merge pull request #1988 from jandjstudios/datum
...
Add support for boards in the datum series.
2019-07-09 09:33:13 -07:00
Dan Halbert
6a001786a9
merge from master
2019-07-09 08:58:49 -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
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
jandjstudios
46b7575550
Initial commit to support boards in the datum series.
2019-07-06 13:41:03 -07:00
Scott Shawcroft
5610e05b8c
Fix up nrf so that it is initialized properly. Also, do not reset
...
it's pins.
2019-07-06 12:48:16 -07:00
iot49
4c72a3991e
updated samd and esp8266 ports
2019-07-05 10:01:51 -07:00
Anthony DiGirolamo
55f15e3c05
Update Arch Linux ARM compiler installation instructions
...
- Add copy-pasteable Arch Linux `arm-none-eabi-gcc` install line similar to Ubuntu example
- Add `arm-none-eabi-newlib` as a required package for Arch
- Reformat Ubuntu and Arch install code-blocks to catch the eye for the impatient
Arch Linux changed their packaging for [arm-none-eabi-gcc](https://www.archlinux.org/packages/community/x86_64/arm-none-eabi-gcc/ ) by creating [arm-none-eabi-newlib](https://www.archlinux.org/packages/community/any/arm-none-eabi-newlib/ ) as an optional package. Without it users will get errors about missing header files like:
```
In file included from asf4/samd51/include/samd51j19a.h:49,
from asf4/samd51/include/sam.h:38,
from ./mpconfigport.h:31,
from ../../py/mpconfig.h:45,
from ../../py/emitnx64.c:3:
/usr/lib/gcc/arm-none-eabi/9.1.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
9 | # include_next <stdint.h>
| ^~~~~~~~~~
compilation terminated.
```
2019-07-04 11:14:50 -07:00
iot49
6e5d70fa19
changed type of receiver_buffer_size to uint16_t
2019-07-03 12:02:01 -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
Hierophect
040acc3a32
remove dependencies for stable build
2019-07-01 19:47:10 -04: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
Dan Halbert
6ea01ea9b0
Central is connecting; characteristics can be read and written
2019-06-29 00:20:06 -04:00
Hierophect
94a2eff05c
remove build, fix link issues)
2019-06-28 19:22:23 -04:00
Hierophect
04a9bc0d35
case changes
2019-06-28 16:45:07 -04:00
Hierophect
b93f93f174
name change but actually
2019-06-28 16:34:27 -04:00
Hierophect
caed59ec64
name change
2019-06-28 16:21:13 -04:00
Hierophect
16ba035ba7
first commit, very crude
2019-06-28 15:36:08 -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
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
d3adfde22a
Merge pull request #1968 from adafruit/4.0.x
...
Merge in nrf neopixel fix
2019-06-25 11:35:58 -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
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
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
Scott Shawcroft
352bf7eaf5
Add PyGamer Advance and fix Joystick pins
2019-06-18 12:22:20 -07:00
Radomir Dopieralski
5803245009
Add support for PyGamer to Stage library
2019-06-18 19:05:51 +02:00
Dan Halbert
1356819de1
Handle None for BLE name; fix ScanEntry bug; compile issue
2019-06-17 23:16:40 -04:00
Scott Shawcroft
2dddccb99e
Update board inits for new api.
2019-06-17 18:03:30 -07:00
brentru
ea2c068e11
COLMOD is 1 param, remove CASET/RASET in CircuitPython
2019-06-17 11:20:25 -04:00
brentru
207dc885a6
removed incorrect gamma code, looks better now
2019-06-14 16:34:30 -04:00
brentru
4092294e7c
tft working init. sequence, still undersaturated
2019-06-14 16:17:05 -04:00
brentru
0bc74172a2
Add pybadge airlift, sans-tft
2019-06-14 14:46:19 -04:00
Dan Halbert
bed6d43a76
merge from upstream; WIP redo Address; no more AddressType
2019-06-13 21:55:07 -04:00
Scott Shawcroft
0b1f605a9b
Turn off gc opt for more M0 boards
2019-06-12 13:20:21 -07:00
Scott Shawcroft
a91ad05774
Change to one lto partition for ultimate optimization.
2019-06-12 11:37:46 -07:00
Scott Shawcroft
eb21fc3e31
Add partial display update support.
...
Different operations to the display tree have different costs. Be
aware of these costs when optimizing your code.
* Changing tiles indices in a TileGrid will update an area
covering them all.
* Changing a palette will refresh every object that references it.
* Moving a TileGrid will update both where it was and where it moved to.
* Adding something to a Group will refresh each individual area it
covers.
* Removing things from a Group will refresh one area that covers all
previous locations. (Not separate areas like add.)
* Setting a new top level Group will refresh the entire display.
Only TileGrid moves are optimized for overlap. All other overlaps
cause sending of duplicate pixels.
This also adds flip_x, flip_y and transpose_xy to TileGrid. They
change the direction of the pixels but not the location.
Fixes #1169 . Fixes #1705 . Fixes #1923 .
2019-06-12 11:32:39 -07:00
Dan Halbert
ba1b36a800
Uncomment vm.c SUPEROPT (debugging typo); trim a few builds
2019-06-12 13:09:09 -04:00
Dan Halbert
1bb4fccc3b
Turn off SUPEROPT on gc.c instead of trying to squueze inline limit so much; reorganize mpconfigboard.mk files
2019-06-12 11:08:22 -04:00
Dan Halbert
0b3f29780a
shrink a bunch of builds to fit
2019-06-11 18:46:06 -04:00
Dan Halbert
4fc189b60c
Merge latest 4.0.x fixes into master
2019-06-11 16:16:29 -04:00
shazz
9c49af0597
Added pin for SD CS
2019-06-08 12:04:27 -04:00
Dan Halbert
62de2506e4
Include display objects in gc.
2019-06-06 17:49:32 -04:00
Dan Halbert
1905d90eaa
Make advertising data buffers long-lived
2019-06-05 20:08:53 -04:00
Elvis Pfützenreuter
1da8d4b4da
Add PS/2 support -- ps2io module
2019-06-04 18:05:46 -03:00
Tavish Naruka
4a7122d354
boards: add support for Electronut labs Blip
...
Signed-off-by: Tavish Naruka <tavishnaruka@gmail.com>
2019-06-05 00:49:29 +05:30
Dan Halbert
613e12f99f
Replace Broadcaster with enhanced Peripheral
2019-06-03 20:40:05 -04:00
Dan Halbert
63ac37946d
1. Remove advertising data construction in C: it's all done in Python now
...
2. Add scan response capability to advertising.
2019-06-02 23:21:30 -04:00
Dan Halbert
bcda5e133d
Merge pull request #1903 from tannewt/get_area
...
Rework the pixel computation to use areas
2019-05-31 21:27:06 -04:00
Dan Halbert
12f1d9d30c
fix advertisement length check; add Service.secondary attribute
2019-05-31 18:03:05 -04:00
Dan Halbert
4e85c1ef91
Implement forced clean builds for boards so designated.
...
Mark boards that set CFLAGS_INLINE_LIMIT for particular langauges as needing clean builds.
Fixes #1910 .
2019-05-24 15:32:24 -04:00
Dan Halbert
6cec81bcb5
Need to enable ble before scanning
2019-05-23 22:05:16 -04:00
Dan Halbert
e84f3b1c6a
make crickit cpx pinyin build fit
2019-05-23 21:22:50 -04:00
Dan Halbert
1639354e5f
Scanner working, but not very first time
2019-05-23 16:07:54 -04:00
Scott Shawcroft
3fad7de8db
Rework the pixel computation to use areas
...
This changes the displayio pixel computation from per-pixel to
per-area. This is precursor work to updating portions of the screen
(#1169 ). It should provide mild speedups because bounds checks are
done once per area rather than once per pixel. Filling by area also
allows TileGrid to maintain a row-associative fill pattern even when
the display's refresh is orthogonal to it.
2019-05-21 17:41:06 -07:00
Dan Halbert
0199d9810b
Make pinyin fit on cpx
2019-05-21 15:18:56 -04:00
Dan Halbert
008bbc944c
correct USB PIDs for several boards
2019-05-16 10:54:15 -04:00
Scott Shawcroft
f3ab820fc2
Merge pull request #1884 from CapableRobot/capablerobot-usbhub
...
Added board definition for Capable Robot Programmable USB Hub
2019-05-14 13:42:51 -07:00
Chris Osterwood
a0497553fc
Fix to prevent critical pins from being reset when MCU restarts or enters REPL
2019-05-14 15:23:33 -04:00
Chris Osterwood
420dbafa9d
Added board definition for Capable Robot Programmable USB Hub
2019-05-14 13:28:24 -04:00
sabas1080
9f082ba5cb
Fix pin lost
2019-05-13 10:18:53 -05:00
Scott Shawcroft
36e2faf8d2
Merge pull request #1873 from ElectronicCats/escornabot_makech
...
Add Escornabot Makech of Electronic Cats
2019-05-10 12:39:58 -07:00
sabas1080
d174ce8821
Update pins define
2019-05-10 13:34:02 -05:00
Scott Shawcroft
67007282c9
Tighten down inlining on the pIRkey
2019-05-10 11:19:27 -07:00
Scott Shawcroft
80a752da87
Merge latest adafruit/master in.
2019-05-10 10:09:56 -07:00
Scott Shawcroft
9feb844b7e
Fix crash in internal filesystem on nrf
...
Fixes #1842
2019-05-08 15:43:18 -07:00
sabas1080
27ea1df710
Init escornabot
2019-05-08 15:48:17 -05:00
Scott Shawcroft
9ba8191a04
Merge pull request #1855 from dhalbert/frequencyin-no-double-arith
...
avoid double float arithmetic in FrequencyIn
2019-05-08 14:40:18 -04:00
sabas1080
08a170388d
fix VID and PID inverted
2019-05-08 10:09:49 -05:00
Dan Halbert
f59dadbb4f
avoid double float arithmetic in FrequencyIn
2019-05-07 00:25:22 -04:00
ladyada
ed8e6e8f45
re-add i2s (its J not G!)
2019-04-29 20:30:53 -04:00
ladyada
fa3a52bc1e
similar to pybadge, has pin defs for joystick - comes up with filesys and display so good enough to start hacking :)
2019-04-29 20:29:48 -04:00
wallarug
aa3c28787c
removed problem libraries from frozen build.
2019-04-28 00:09:13 +10:00
wallarug
b4a70daf17
updated lots
2019-04-27 22:35:12 +10:00
wallarug
cd4aaa13a3
added robohatmm1 board defs.
2019-04-25 21:13:41 +10:00
ladyada
9b593cd154
update periph submodule
2019-04-23 18:20:13 -04:00
ladyada
a5697470e1
fix up pybadge for final release board (swap backlite and reset)
2019-04-23 16:43:20 -04:00
Dan Halbert
15b7946fc4
Off-by-one error for usage of MAX_TX_IN_PROGRESS
2019-04-22 22:07:48 -04:00
Scott Shawcroft
f548305c07
Merge pull request #1815 from dhalbert/stop-flicker
...
Turn off auto_brightness if brightness is set
2019-04-18 15:48:39 -07:00
Dan Halbert
0113e0970e
add Display.__init__() args for brightness and auto_brightness
2019-04-18 15:59:16 -04:00
Scott Shawcroft
f7c7904e2b
Correct call structure for throwing errors
2019-04-17 13:54:29 -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