Jeff Epler
4de8fa09ab
esp32s2: peripherals: store address of timer peripheral in its struct
...
.. this is helpful if we need to go down to the esp-idf low level
I/O routines
2021-05-26 11:18:02 -05:00
Jeff Epler
60c9a57815
esp32s2: Add pin_number, reset_pin_number needed by rgbmatrix
2021-05-26 11:18:02 -05:00
Jeff Epler
6750d3feab
esp32s2: Introduce, use NO_PIN
...
GPIO_NUM_NC is -1 so it's equivalent to the existing code.
2021-05-26 11:18:02 -05:00
Dan Halbert
d79d68705b
Merge pull request #4763 from jepler/esp32s2-build-memory-info
...
Add build_memory_info for esp32s2
2021-05-25 13:41:35 -04:00
Jeff Epler
f21eec5fe1
Work for non-psram builds
...
This is more or less a complete re-organization of the code.
* Use the actual byte size of the .bin file as the flash size,
as the algorithm for packing sections into the flash is complicated
* Match each section to a data region & find the high water mark in the
region
* Report on all the RAM regions, separately
Note that elftools is a requirement of esp-idf and so does not need to
be listed in our requirements.txt.
2021-05-25 10:06:31 -05:00
Scott Shawcroft
038c9d6194
Merge pull request #4796 from Neradoc/nera-pwmrgb-status-pimoroni
...
Enable the PWM status LED on Pimoroni Tiny 2040 and PicoSystem
2021-05-24 13:30:55 -07:00
lady ada
2e90d5ed07
clang a bit
2021-05-22 12:39:42 -04:00
lady ada
d52f149e84
add ESP CS pin to make wifi demos easier
2021-05-22 12:22:28 -04:00
lady ada
ac855afb48
Some pin neatening and updated PID to unused Adafruit one!
2021-05-22 11:57:46 -04:00
BlitzCityDIY
14dbec7c04
Merge branch 'main' of https://github.com/blitzcitydiy/circuitpython into main
2021-05-22 01:02:21 -04:00
BlitzCityDIY
9f4eb48e70
Updating MISO
...
While testing WIFI realized MISO was defined incorrectly
2021-05-22 01:02:06 -04:00
BlitzCityDIY
352281e23e
Adding Arduino Nano RP2040 Connect
...
Re-commiting to fix local GitHub config issues. Adding CircuitPython support for the Arduino Nano RP2040 Connect. Have tested all digital and analog I/O, I2C, onboard LSM6DSOX. Uses the AT25SF128A external flash.
2021-05-21 20:44:11 -04:00
Neradoc
6808d04d53
enable the PWM status LED on Pimonoroni Tiny 2040 and PicoSystem
2021-05-21 20:13:30 +02:00
Scott Shawcroft
561ffec693
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 13:46:42 -07:00
Dan Halbert
f5aa55c247
Merge pull request #4606 from hierophect/sleep-revamp
...
Internal API revisions to sleep
2021-05-20 16:00:52 -04:00
Scott Shawcroft
5643355e90
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 08:35:15 -07:00
Dan Halbert
74355e8281
Merge pull request #4783 from tannewt/fix_sm_rp2040_7
...
Fix safe mode on rp2040 (in 7.x)
2021-05-20 09:02:35 -04:00
Scott Shawcroft
499a4388cf
Handle inverted neopixel power
2021-05-19 17:29:02 -07:00
Scott Shawcroft
42ee48ccb5
Improve error for invalid parameters
2021-05-19 14:09:11 -07:00
Scott Shawcroft
ee7a701487
Switch to start_advertising arg
2021-05-19 12:21:48 -07:00
gabewillen
e29158483e
Update Adapter.h
...
Added the tx_power to the adapter object
2021-05-19 11:56:49 -07:00
gabewillen
6b39df406a
Update Adapter.c
...
Added support for setting transmitter power currently done during every time advertising starts as implemented in the Arduino library
2021-05-19 11:55:47 -07:00
Scott Shawcroft
b78e9fcd19
Improve STM reset reason
...
This causes safe mode to skip the wait for reset when waking up
from an alarm. (It also means we don't flash the LED for it.)
2021-05-19 11:48:02 -07:00
Scott Shawcroft
642fbcf87a
Handle status led power
...
This no longer turns on status LED power before running user code.
Therefore, use of the status LED on some boards will also have to
enable the power.
2021-05-19 10:57:14 -07:00
Scott Shawcroft
9dabe882f1
Fix safe mode on rp2040
2021-05-19 10:18:43 -07:00
Scott Shawcroft
14a550c395
Merge pull request #4770 from ladyada/main
...
Add rev A of macropad definition
2021-05-19 10:09:19 -07:00
Dan Halbert
4c928acbd4
Merge pull request #4774 from kamtom480/spresense_usb_fix
...
spresense: Fix USB CDC and MSC
2021-05-19 12:42:08 -04:00
lady ada
9a70aa1e8d
figure out the AREF thing later
2021-05-18 22:20:38 -04:00
Limor "Ladyada" Fried
b667736110
Merge branch 'adafruit:main' into main
2021-05-18 20:55:55 -04:00
lady ada
d8b895f1d7
add LED and speaker - natch!
2021-05-18 20:53:13 -04:00
Lucian Copeland
bce541dcc5
Minor text fixes
2021-05-18 15:16:25 -04:00
lady ada
fdbd3bc8c2
add missing AREF pin
2021-05-18 11:09:31 -04:00
ladyada
cec9015e19
iz makropad with oled
2021-05-18 11:09:03 -04:00
Kamil Tomaszewski
da248d1594
spresense: Fix USB CDC and MSC
2021-05-18 17:02:16 +02:00
root
9393467819
Update comment for spelling
2021-05-17 22:13:00 -05:00
Lucian Copeland
633d83cc3e
Merge remote-tracking branch 'upstream/main' into sleep-revamp
2021-05-17 18:57:10 -04:00
root
ff4b1b28d2
iFormatting fixes
2021-05-17 16:43:55 -05:00
root
11ef36d09d
Implement pulseout for RP2040
2021-05-17 16:24:45 -05:00
Limor "Ladyada" Fried
9752162508
Merge pull request #4765 from dhalbert/rotary-trinkey-rev-c-pins
...
Update various Trinkey pins and add _pixelbuf
2021-05-15 11:52:33 -04:00
Dan Halbert
ea0e18d2e0
fix logic for suppressing ja and ko clean builds when not necessary
2021-05-14 23:41:44 -04:00
Dan Halbert
1e2a945782
Make busio.SPI be NotImplementedError on proxlight to save space
2021-05-14 21:52:54 -04:00
Scott Shawcroft
5c33c9d597
Fix SAMD
...
RTC needed to wait for sync. NeoPixel on SAMD doesn't need disabled
caches. It just needed timing adjustment for 120mhz clock speed.
2021-05-14 16:14:24 -07:00
Dan Halbert
990e58902d
add CIRCUITPY_PIXELBUF to all trinkeys; add NeoPixel to prox
2021-05-14 17:09:15 -04:00
Dan Halbert
6a2ba83e30
Update Rotary Trinkey and Slide Trinkey pins
2021-05-14 15:40:29 -04:00
Lucian Copeland
715f7ee490
Add STM32 and NRF52 compatibility
2021-05-14 14:34:35 -04:00
Scott Shawcroft
689ec86225
Merge pull request #4754 from dhalbert/fix-endpoint-checking
...
Fix endpoint checking; Clean up safe mode printing
2021-05-14 11:25:01 -07:00
Jeff Epler
c931e5deb7
Add build_memory_info for esp32s2
...
This detects an overflowed flash partition, such as
```
1452105 bytes used, -10313 bytes free in flash firmware space out of 1441792 bytes (1408.0kB).
444428 bytes used, 1652724 bytes free in ram for stack and heap out of 2097152 bytes (2048.0kB).
```
on a metro esp32-s2 built with debugging.
2021-05-14 10:39:07 -05:00
Dan Halbert
c65986f526
shrink a bit more
2021-05-14 09:18:14 -04:00
Dan Halbert
0fcb11b7b2
shrink some STM32F4 builds: turn MIDI back off
2021-05-13 23:14:12 -04:00
Dan Halbert
fa6c06fb38
count in/out endpoints; allow more usb modules on low-endpoint boards
2021-05-13 21:59:02 -04:00