Scott Shawcroft
6ef5241f59
Merge pull request #5267 from pewpew-game/meowbit-stage
...
stm32: Add support for Stage games to Meowbit
2021-08-30 18:35:41 -07:00
Scott Shawcroft
5fb4fa6f12
Merge pull request #5260 from jepler/paralleldisplay
...
Split out paralleldisplay to its own module
2021-08-30 18:35:15 -07:00
Scott Shawcroft
3ea90dbc1e
Merge pull request #5263 from jepler/printf-0xp
...
Include leading 0x on addresses printed with %p
2021-08-30 18:00:43 -07:00
Scott Shawcroft
838d30b3a4
Fix incorrect macros
2021-08-30 14:40:14 -07:00
Scott Shawcroft
8fbb3e6d25
Merge pull request #5239 from durapensa/s2mini
...
Add board Lolin S2 Mini
2021-08-30 14:12:56 -07:00
Radomir Dopieralski
89fc1890af
stm32: Add support for Stage games to Meowbit
...
This enables the _stage library and adds stage and ugame modules to the
frozen modules, so that all Stage games should work.
I had to do several hacks:
* Since displayio.release_displays doesn't release the pins, I couldn't
re-initialize the display inside the ugame module. Instead I changed
the default display initialization for the board to match what Stage
expects.
* I wanted to make the MENU key works as K_Z, but when I try to use it
with the keypad module, I get "pin in use" error. So for now only the
A and B buttons are used.
2021-08-30 20:27:50 +02:00
Durapensa
80cadc6ec1
Added Espressif-assigned PID for "Lolin S2 Mini - CircuitPython"
2021-08-30 06:31:20 -04:00
lady ada
d50dc064ee
fix i2c
2021-08-29 17:53:57 -04:00
Jeff Epler
68af5fd040
unix: Filter out -std=gnu11
...
On Debian Bullseye, it is an error to include this flag when building
a C++ file, which caused the unix coverage build to fail.
2021-08-29 11:36:17 -05:00
Jeff Epler
d7193dcf7c
remove debug print
2021-08-29 11:36:17 -05:00
Jeff Epler
8f024316ad
explicitly disable paralleldisplay on a few boards
2021-08-29 07:33:54 -05:00
Jeff Epler
468558896c
remove paralleldisplay from ports where it was unimplemented
2021-08-29 07:33:54 -05:00
Jeff Epler
7520feed1c
Move ParallelBus to its own module
2021-08-29 07:33:54 -05:00
Dan Halbert
5a4029059e
Merge pull request #5246 from jpconstantineau/board-CNCEncoderPad-RP2040
...
Add New Board: EncoderPad RP2040
2021-08-28 10:44:10 -04:00
microDev
b90a16b67c
Merge pull request #5255 from tannewt/fix_rp_countio
...
Fix RP2 countio reset
2021-08-28 08:45:00 +05:30
Scott Shawcroft
6e7e703f89
Fix RP2 countio reset
...
Fixes #5251
2021-08-27 17:39:19 -07:00
Scott Shawcroft
ca989c4357
Update the idf to a newer 4.3 commit
...
Also, make all port-level CIRCUITPY_ settings overridable.
2021-08-27 10:49:57 -07:00
Scott Shawcroft
3e9daeca8f
Merge pull request #5244 from dhalbert/stop-pio-on-deinit
...
Stop StateMachine explicitly on deinit
2021-08-27 08:59:04 -07:00
Scott Shawcroft
8edf0c5d3c
Merge pull request #5243 from dhalbert/user-interruptible-pio
...
Allow PIO to be user-interruptible
2021-08-27 08:57:08 -07:00
Pierre Constantineau
ada178893d
updated PID as per OpenMoko PR
2021-08-27 09:02:49 -06:00
Dan Halbert
09897dbc82
Merge pull request #5238 from tannewt/fix_rp2_usb
...
Fix usb irq race
2021-08-27 10:40:06 -04:00
Dan Halbert
0261cacb06
Stop StateMachine explicitly on deinit
2021-08-27 10:07:14 -04:00
Dan Halbert
f1d25af7ba
Allow PIO to be user-interruptible
2021-08-27 08:38:51 -04:00
Jeff Epler
c174b7c7e7
Merge pull request #5229 from warmbit/warmbit_bluepixel
...
add warmbit_bluepixel
2021-08-27 06:48:34 -05:00
Pierre Constantineau
e07bce2bf1
fixing trailing space
2021-08-27 00:25:22 -06:00
Pierre Constantineau
873729149d
adding EncodderPad RP2040
2021-08-26 23:08:10 -06:00
Neradoc
1302ef62f7
rebase, add adafruit_led_glasses_nrf52840
2021-08-26 23:18:44 +02:00
Neradoc
4d05bb26bf
change board.ID to board.board_id
2021-08-26 23:11:55 +02:00
Neradoc
fed6e8ea99
Spresense: add CIRCUITPY_BOARD_ID because it doesn't use BASE_CFLAGS
2021-08-26 23:11:55 +02:00
Neradoc
b14b294516
add board.ID
2021-08-26 23:11:55 +02:00
Durapensa
05874f3fab
pre-commit fixes
2021-08-26 14:29:04 -04:00
Durapensa
b0d0880f80
Add some more pin definitions, for NEOPIXEL_POWER, I2C, SPI
2021-08-26 13:53:04 -04:00
Scott Shawcroft
9663a227a3
Fix usb irq race
...
Run the USB background once after we hook our IRQ up in case we
missed one.
Related to #5212
2021-08-26 10:20:26 -07:00
Durapensa
b9c7badb56
fix for default names for BUTTON, NEOPIXEL, SDA/SCL, LED, SPI MOSI/MISO/SCK
2021-08-26 10:31:35 -04:00
Durapensa
ffaad96310
fix for GPIO0 / CIRCUITPY_BOOT_BUTTON
2021-08-26 10:15:15 -04:00
Durapensa
da1e29d9e4
fix in pins.c for build
2021-08-26 08:59:02 -04:00
Durapensa
5211a492cc
Merge branch 'main' of github.com:adafruit/circuitpython into s2mini
2021-08-26 08:28:05 -04:00
Durapensa
c6ab3b3a97
nitial try at Lolin S2 Mini board definition
2021-08-25 21:16:22 -04:00
Durapensa
52001f1678
Initial try at Lolin S2 Mini board definition
2021-08-25 21:08:42 -04:00
Scott Shawcroft
13cba8a17f
Merge pull request #5224 from dhalbert/adafruit_led_glasses_nrf52840
...
Add adafruit_led_glasses_nrf52840
2021-08-25 15:50:56 -07:00
WarmBit
da644bebb3
add warmbit_bluepixel
2021-08-25 15:16:59 -06:00
Jeff Epler
7098d4ccd7
8Kib may align better with flash blocks than 9KiB
2021-08-25 13:39:56 -05:00
Jeff Epler
4621cd54fb
esp32s2: update how nvm is mapped onto nvs
...
The old way mapped each byte of nvm onto a distinct nvs key, but this
allowed storage of only a very small number of bytes out of the
theoretical capacity.
Reworked like this, about half of the nvs capacity can be used for
nvm, so you're guaranteed the ability to store 9kB this way.
2021-08-25 11:39:45 -05:00
Jeff Epler
870aa2d79d
espidf: Add function to erase nvs
...
This may be necessary for some cases of migrating from 6.3.0 to 7.0.0.
2021-08-25 11:37:58 -05:00
Dan Halbert
c0c9892887
Add adafruit_led_glasses_nrf52840
2021-08-25 11:29:31 -04:00
microDev
df13bef3a1
Merge pull request #5220 from tannewt/fix_esp_i2c_display
...
Allocate I2C mutex with IDF
2021-08-25 08:42:11 +05:30
microDev
5484a2de25
Merge pull request #5219 from tannewt/multiple_status_dotstars
...
Support multiple status dotstars
2021-08-25 08:38:09 +05:30
Scott Shawcroft
0552ce2d3b
Allocate I2C mutex with IDF
...
This keeps the mutex info in the same spot in memory. "Statically
allocating it" with CircuitPython meant that the buffer moved when
the I2C object is moved to keep it alive for a display.
Fixes #4962
2021-08-24 16:06:14 -07:00
Scott Shawcroft
f9f3894888
Support multiple status dotstars
...
Only supporting one left a white dotstar stranded.
Fixes #5170
2021-08-24 14:35:11 -07:00
Jeff Epler
bef07961ab
raspberrypi: audiopwmout: subtle for #5092
...
I noticed that the loop over 65535 possible denominators took a long time,
causing up to 100ms wait for a sound sample to start playing!
This algorithm, adapted from an algorithm shown in Python's fractions.py,
is guaranteed to find the best denominator in a small number of steps
(I think log2-many steps but I'm not sure). In practice, it means the time
between samples playing is just 10ms, and some of that is recreating the
sine wave sample in Python each time.
It often finds the same solution as the old code, but sometimes it finds
one a bit better since it compares the ratios using float point instead
of integer arithmetic.
2021-08-24 16:33:20 -05:00