foamyguy
cbff9dd8e3
add new argument for all boards with built-in display
2022-06-04 11:08:20 -05:00
Melissa LeBlanc-Williams
726bf02ea8
Add PortalBase and Fake Requests and update Frozen Libs on Portal boards
2022-02-16 10:12:54 -08:00
Neradoc
b2c8fd3938
add board.STEMMA_I2C alias to some boards
2022-02-02 01:18:46 +01:00
Dan Halbert
57c33059f3
board_deinit() everywhere
2021-11-30 11:00:10 -05:00
Neradoc
8625e53817
change board dicts to include a common macro with __name__
2021-09-03 21:03:55 +02:00
Jeff Epler
7520feed1c
Move ParallelBus to its own module
2021-08-29 07:33:54 -05:00
Neradoc
4d05bb26bf
change board.ID to board.board_id
2021-08-26 23:11:55 +02:00
Neradoc
b14b294516
add board.ID
2021-08-26 23:11:55 +02:00
Jeff Epler
379461df7d
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 09:17:59 -05:00
Scott Shawcroft
ca2cb9af2b
Remove MICROPY_PORT_* macros used for never reset
...
Now we use never_reset which is generally more correct and easier
to get right.
Fixes #5001 and fixes #4997
2021-07-15 16:20:04 -07:00
Kattni Rembor
294ef59f27
Add LED pin to Adafruit boards.
2021-05-10 16:39:01 -04:00
Scott Shawcroft
aec0ef3cbf
Switch devices.h to nvm.toml data
2021-03-25 09:57:18 -07:00
Mark
e326d7ca80
Merge branch 'main' into rp_dp_parallel
2021-03-15 20:00:13 -05:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
gamblor21
7321411962
Added frequency to parallel display
2021-03-11 19:32:43 -06:00
Jeff Epler
f1ada8e880
Automatically count EXTERNAL_FLASH_DEVICES
2021-03-07 11:48:39 -06:00
Scott Shawcroft
40118bcf57
Add board_deinit
for use with sleep
...
This changes lots of files to unify `board.h` across ports. It adds
`board_deinit` when CIRCUITPY_ALARM is set. `main.c` uses it to
deinit the board before deep sleeping (even when pretending.)
Deep sleep is now a two step process for the port. First, the
port should prepare to deep sleep based on the given alarms. It
should set alarms for both deep and pretend sleep. In particular,
the pretend versions should be set immediately so that we don't
miss an alarm as we shutdown. These alarms should also wake from
`port_idle_until_interrupt` which is used when pretending to deep
sleep.
Second, when real deep sleeping, `alarm_enter_deep_sleep` is called.
The port should set any alarms it didn't during prepare based on
data it saved internally during prepare.
ESP32-S2 sleep is a bit reorganized to locate more logic with
TimeAlarm. This will help it scale to more alarm types.
Fixes #3786
2020-12-08 10:52:25 -08:00
Dan Halbert
dbfabddf58
rename ESP TX and RX pins; remove support
2020-11-30 11:11:04 -05:00
Dan Halbert
848eb28132
esp-uart-pins
2020-11-28 14:52:56 -05:00
Mark Roberts
b921543571
Requested changes take 1
2020-09-25 21:27:29 -04:00
Scott Shawcroft
b580b34cbf
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-14 17:14:44 -07:00
Jeff Epler
09dc46a984
Add Protomatter and FramebufferDisplay
2020-04-14 18:24:54 -05:00
Scott Shawcroft
8fe512c7e9
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-03-31 15:13:58 -07:00
Scott Shawcroft
798118b74f
Update board.c's to remove remaining tick.h
2020-03-27 14:52:35 -07:00
siddacious
9e0c00dfd4
adding a backlight polarity flag to Display
2020-03-25 22:51:20 -07:00
Dan Halbert
7b79ac3739
Parameterize linker script
2019-10-20 23:50:12 -04:00
Scott Shawcroft
36a23e0fe3
Rework refresh API and factor common display stuff out
...
NOT TESTED! Just compiles
Fixes #1691
2019-08-22 14:23:27 -07:00
Dan Halbert
e2a4c76a37
make nrf touchio be generic: now available for SAMD51 too
2019-08-18 08:44:10 -04:00
Scott Shawcroft
4e7de436b4
Update constructors of boards with displays
2019-07-25 22:48:11 -07:00
Scott Shawcroft
1d1b8703b6
Review feedback including NO_BRIGHTNESS_COMMAND macro
2019-07-19 16:11:13 -07:00
Scott Shawcroft
6797ec6ed3
Add support for grayscale displays that are < 8 bit depth.
...
This also improves Palette so it stores the original RGB888 colors.
Lastly, it adds I2CDisplay as a display bus to talk over I2C. Particularly
useful for the SSD1306.
Fixes #1828 . Fixes #1956
2019-07-19 16:06:11 -07: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
008bbc944c
correct USB PIDs for several boards
2019-05-16 10:54:15 -04:00
Dan Halbert
0113e0970e
add Display.__init__() args for brightness and auto_brightness
2019-04-18 15:59:16 -04:00
Scott Shawcroft
0f003ac5b8
Reorganize board busses into shared-bindings and shared-module.
2019-04-08 16:58:50 -07:00
Melissa LeBlanc-Williams
af3d809980
Updated boards files with displays
2019-04-04 23:18:15 -07:00
Melissa LeBlanc-Williams
f4cede4747
Removed parameter so CS is always toggled
2019-03-26 18:46:13 -07:00
Melissa LeBlanc-Williams
b2ad16f5c8
Removed parameter so CS is always toggled
2019-03-26 18:34:07 -07:00
Melissa LeBlanc-Williams
c3329e224d
Added Single Byte Boundaries option for certain displays
2019-03-24 23:59:28 -07:00
Melissa LeBlanc-Williams
0c33f7fdb4
Enable CS toggle for displayio by default
2019-03-23 20:23:23 -07:00
Melissa LeBlanc-Williams
d2a0ec28a0
Fixed display init on boards with displays
2019-03-23 19:32:15 -07:00
caternuson
46fc8a8a86
change order so SPEAKER is first
2019-03-11 17:45:27 -07:00
caternuson
53b7055283
add SPEAKER pin alias for PyPortal
2019-03-11 15:12:29 -07:00
Dan Halbert
fb027f2024
Update PyPortal pins to rev C
2019-03-01 09:06:03 -05:00
ladyada
85421f9766
final pin names, tested with final release
2019-02-23 15:40:28 -05:00
Scott Shawcroft
53fa65e318
Speed up pyportal by writing memory on the same access as our rotation.
2019-02-19 14:51:39 -08:00
TG-Techie
d453b605d3
make it easier for people to hookup in spi mode without looking inspecting schematic
2019-02-18 15:00:14 -05:00
Dan Halbert
cf545cd477
WIP: fix issues with remaining atmel-samd builds
2019-02-15 09:52:45 -05:00
Dan Halbert
5154e0581e
WIP: atmel-samd trinket build works
2019-02-15 00:28:20 -05:00
TG-Techie
e901317fd7
PYPORTAL: pindefs incorrect
...
@jerryneedell suggested the pins could be wrong when I told him I was getting reading that didn't change, having corrected the pinout to match the schematic I was given it now works!
used:
```
ts = adafruit_touchscreen.Touchscreen(board.TOUCH_XL, board.TOUCH_XR,
board.TOUCH_YD, board.TOUCH_YU,
calibration=((5200, 59000), (5800, 57000)),
size=(320, 240))
while True:
p = ts.touch_point
if p:
time.sleep(.5)
print(p)
```
2019-02-12 22:18:36 -05:00