Commit Graph

18648 Commits

Author SHA1 Message Date
microDev
f7cafbf5f9
re-arrange ci actions 2020-12-26 12:54:36 +05:30
Hosted Weblate
ffedfdd6e0
Merge branch 'origin/main' into Weblate. 2020-12-25 23:42:54 +01:00
Jeff Epler
5c4cb43679
Merge pull request #3880 from digixx/patch-1
SAMD51: change of DAC power setting
2020-12-25 16:42:46 -06:00
Uwe Gartmann
2729666d82
SAMD51: change of DAC power setting
Fixes wrong DAC output levels at high data rate
closes adafruit#3796
2020-12-25 17:53:43 +01:00
BennyE
64bb055700 Updating comment to reflect feedback of espressif from IDFGH-4486 -> works correct as per the protocol 2020-12-24 15:40:53 +01:00
Sean Cross
2f95cc95a4 litex: move more critical code to RAM
The XIP SPI flash on Fomu is slow, which results in certain operations
taking a long time. This becomes a problem for time-critical operations
such as USB.

Move various calls into RAM to improve performance.

This includes the call to __modsi3 and __udivsi3 which are used by the
supervisor handler to determine if periodic callbacks need to be run.

This finishes fixing #3841

Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-24 14:06:57 +08:00
Sean Cross
f3e54414e5 litex: ensure we don't re-enable interrups during ISR
During an interrupt handler, interrupts are implicitly disabled. They
will be re-enabled when the interrupt handler returns.

Due to some changes that were made, varous calls will re-enable
interrupts after they're finished. Examples of this include calling
`CALLBACK_CRITICAL_END` and getting the number of ticks with
`port_get_raw_ticks()`.

This patch prevents this from happening by doing two things:

1. Use standard calls in `port_get_raw_ticks()` to disable and re-enable
interrupts, preventing nesting issues, and
2. Increase the nesting count inside `isr()`, reflecting the implicit
call that is made by hardware when an interrupt is handled

This helps to address #3841.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-24 14:03:10 +08:00
Dan Halbert
578abae0f5
make translate yet again; forgot to fetch submodules to fresh clone 2020-12-23 23:05:10 -05:00
Dan Halbert
cf4862e96e
make translate again 2020-12-23 22:52:27 -05:00
Dan Halbert
8061a2574d
Merge branch 'main' into pin_alarm 2020-12-23 22:05:02 -05:00
Hosted Weblate
ce01aed5cf
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-12-24 03:25:47 +01:00
Hosted Weblate
34c90b6ecd
Merge branch 'origin/main' into Weblate. 2020-12-24 03:25:45 +01:00
Dan Halbert
a1e3ab1293
Merge pull request #3874 from dhalbert/ble-fixes-6.0.x-to-main
Merge ble-fixes from 6.0.x to main
2020-12-23 21:25:36 -05:00
BennyE
1a6b1b1953 implementing suggested changes 2020-12-24 00:37:37 +01:00
Scott Shawcroft
c371119da4
Make translate 2020-12-23 15:00:53 -08:00
Hosted Weblate
98afc9a066
Merge branch 'origin/main' into Weblate. 2020-12-23 23:49:56 +01:00
Dan Halbert
966f4de215
Merge pull request #3869 from jepler/disable-busdevice-in-core
circuitpy_mpconfig.mk: Unconditionally disable CIRCUITPY_BUSDEVICE
2020-12-23 17:49:51 -05:00
Dan Halbert
153a686837 make translate for main 2020-12-23 16:41:56 -05:00
Dan Halbert
a11ad25727 BLE fixes 2020-12-23 16:39:27 -05:00
Scott Shawcroft
1a8033470a
Stub out mp_hal_is_interrupted for UNIX 2020-12-23 12:22:50 -08:00
Hosted Weblate
414d21626b
Merge branch 'origin/main' into Weblate. 2020-12-23 21:14:23 +01:00
_fonzlate
ad4939ed5c
Translated using Weblate (Dutch)
Currently translated at 100.0% (882 of 882 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/nl/
2020-12-23 21:14:23 +01:00
Scott Shawcroft
eb65765d52
Merge pull request #3867 from dhalbert/frequencyin-fix-6.0.x
FrequencyIn: do not raise in interrupt handler
2020-12-23 12:14:16 -08:00
Jeff Epler
42a229c08b circuitpy_mpconfig.mk: Unconditionally disable CIRCUITPY_BUSDEVICE
Several issues have been found in the implementation.  While they're
unresolved, it may be better to disable the built-in module.  (This
means that to work on fixing the module, it'll be necessary to
revert this commit)
2020-12-23 10:45:07 -06:00
BennyE
e9c9fce15d Remove debug log messages 2020-12-23 14:59:09 +01:00
Scott Shawcroft
1fca297a2d
A couple sleep fixes
* Better messaging when code is stopped by an auto-reload.
* Auto-reload works during sleeps on ESP32-S2. Ticks wake up the
  main task each time.
* Made internal naming consistent. CamelCase Python names are NOT
  separated by an underscore.
2020-12-22 16:13:02 -08:00
Dan Halbert
89079039ad FrequencyIn: do not raise in interrupt handler 2020-12-22 18:54:42 -05:00
Hosted Weblate
cda6de8c7d
Merge branch 'origin/main' into Weblate. 2020-12-22 19:17:00 +01:00
Scott Shawcroft
8b03951fee
Merge pull request #3866 from jepler/use-stub
esp32s2: make flash: use the stub
2020-12-22 10:16:54 -08:00
Hosted Weblate
e31ecd602d
Merge branch 'origin/main' into Weblate. 2020-12-22 19:12:00 +01:00
Scott Shawcroft
8b5b602ea7
Merge pull request #3862 from dhalbert/storage-remount
unmounted filesystems start as ejected
2020-12-22 10:11:54 -08:00
Hosted Weblate
3fbd45d08d
Merge branch 'origin/main' into Weblate. 2020-12-22 19:07:57 +01:00
Wellington Terumi Uemura
4db2d692e3
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (882 of 882 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-12-22 19:07:57 +01:00
Dan Halbert
65b295cd03
Merge pull request #3865 from djix123/stm32f411ce_i2c
Add default I2C pins for STM32F411CE
2020-12-22 13:07:48 -05:00
Jeff Epler
da8f023665 esp32s2: make flash: use the stub
Very long ago, this was apparently not supported in esptool yet, at
least when operating over USB CDC.  This now works just fine, and
our esp webtool relies on it as well.  It makes flashing faster,
too.
2020-12-22 10:27:42 -06:00
Dan Halbert
d4e9eea397
mark alarm.wake_alarm during gc sweep 2020-12-22 08:11:01 -08:00
Hosted Weblate
d3ae03b32e
Merge branch 'origin/main' into Weblate. 2020-12-22 15:29:29 +01:00
Dan Halbert
f226f4a233
Merge pull request #3864 from djix123/w25q64fv
Add support for Winbond W25Q64FV
2020-12-22 09:29:22 -05:00
Jonathan Giles
aaa3c61819 Add default I2C pins for STM32F411CE 2020-12-22 09:11:05 -05:00
Hosted Weblate
9e725dfcda
Merge branch 'origin/main' into Weblate. 2020-12-22 14:02:41 +01:00
Dan Halbert
d6df43b943
Merge pull request #3863 from dhalbert/adafruit-prefix
Add Adafruit to MICROPY_HW_BOARD_NAME for various boards
2020-12-22 08:02:35 -05:00
Jonathan Giles
17e7973ff2 Add support for Winbond W25Q64FV 2020-12-22 07:50:56 -05:00
askpatricw
f814a34714 Merge branch 'main' of https://github.com/adafruit/circuitpython into main 2020-12-21 22:30:13 -08:00
Dan Halbert
39ca406a31 Add Adafruit to MICROPY_HW_BOARD_NAME for various boards 2020-12-21 23:32:11 -05:00
Hosted Weblate
aa1f0e93ba
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2020-12-22 03:46:23 +01:00
Scott Shawcroft
6347a3fcdb
Merge pull request #3812 from microDev1/ota-s2
Support for OTA update
2020-12-21 18:46:13 -08:00
askpatricw
737828ccb1 Merge branch 'main' of https://github.com/adafruit/circuitpython into main 2020-12-21 17:59:35 -08:00
Scott Shawcroft
df8cba1068
Merge pull request #3834 from jepler/pr3723
displayio: Fix several bugs (transparency and palettes of OnDiskBitmaps)
2020-12-21 17:46:30 -08:00
Dan Halbert
3b4c14f3ec unmounted filesystems start as ejected 2020-12-21 20:43:46 -05:00
Scott Shawcroft
fb0c74c5f1
Merge pull request #3662 from ElectronicCats/bastble
Add new board BastBLE
2020-12-21 17:39:08 -08:00