Commit Graph

16818 Commits

Author SHA1 Message Date
Scott Shawcroft dcf80e39dc
Merge pull request #3067 from jepler/stm-spi-pin-search
STM32: revamp SPI pin search code
2020-07-08 11:32:26 -07:00
Radomir Dopieralski 83a27edd20 SAMD: make the brownout detection level configurable per board
Not all boards have external flash or other components that make them
require 2.7V -- sometimes we can get considerably longer battery life
by decreasing this requirement.

In particular, pewpew10 and pewpew_m4 are powered directly from
battery, with no LDO, and should work fine down to 1.6V.
2020-07-08 19:59:53 +02:00
Arudinne 768149fb01 modified: ports/nrf/boards/raytac_mdbt50q-db-40/pins.c 2020-07-08 10:36:41 -05:00
Jeff Epler 959b4da9bb make translate 2020-07-07 14:38:34 -05:00
Arudinne 5a9aac472a modified: ports/nrf/boards/raytac_mdbt50q-db-40/pins.c 2020-07-07 14:37:59 -05:00
Jeff Epler 57ab4f1329 stm: SPI: revamp pin search code
I discussed with Hierophect on Discord about how to "de-nest" the code
for configuring SPI objects on STM, because the problems with one
nesting level per pin becomes unmanageable with the up to 10 pins of
SDIO.

This code (which is only compile-tested so far) demonstrates the concept
we discussed.

The SCK pin is always required.  Loop over all possibilities of the SCK
pin.  When we are considering a particular item in the mcu_spi_sck_list
we have now become committed to using a particular periph_index.  If all
the other pins can be satisfied by that periph_index, then we have a
working combination.  Once we have a working combination that is not
reserved, we can return that combination.  On reaching the end, we have
checked all the possible possibilities and can give the same errors as
before: One if there was a possibility that worked but was reserved;
and another if no possibility worked.
2020-07-07 14:37:50 -05:00
Arudinne dc2f729d19 modified: ports/nrf/boards/raytac_mdbt50q-db-40/mpconfigboard.mk
modified:   ports/nrf/boards/raytac_mdbt50q-db-40/pins.c
2020-07-07 14:37:08 -05:00
Jeff Epler 9b4b655b03
Merge pull request #3124 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-07-07 14:35:09 -05:00
Arudinne 3a9e01e185 modified: .github/workflows/build.yml 2020-07-07 13:01:21 -05:00
Arudinne b5af05cd31 new file: ports/nrf/boards/raytac_mdbt50q-db-40/board.c
new file:   ports/nrf/boards/raytac_mdbt50q-db-40/bootloader/6.0.0/pca10056_bootloader_6.0.0_s140.zip
	new file:   ports/nrf/boards/raytac_mdbt50q-db-40/mpconfigboard.h
	new file:   ports/nrf/boards/raytac_mdbt50q-db-40/mpconfigboard.mk
	new file:   ports/nrf/boards/raytac_mdbt50q-db-40/pins.c
2020-07-07 12:27:23 -05:00
Alvaro Figueroa cceab2af65 Translated using Weblate (Spanish)
Currently translated at 100.0% (778 of 778 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-07-07 17:59:36 +02:00
oon arfiandwi d73d7488b7 Translated using Weblate (Indonesian)
Currently translated at 43.0% (335 of 778 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/id/
2020-07-07 17:59:36 +02:00
Scott Shawcroft 965a4961ce
Merge pull request #3120 from DavePutz/issue#3049
Issue#3049 -PulseIn not working in CP5.4
2020-07-07 08:59:22 -07:00
DavePutz 0932b64ae7
Correct for SAMD51 build 2020-07-06 23:25:33 -05:00
DavePutz 1b3cb17abd
Corrected file for SAMD51 build 2020-07-06 21:47:11 -05:00
DavePutz ab4a453006
Made requested changes 2020-07-06 21:40:38 -05:00
Scott Shawcroft a7844205bd
Merge pull request #3123 from kamtom480/sdk2.0
spresense: update SDK to 2.0.1
2020-07-06 15:09:46 -07:00
Scott Shawcroft 846f01b2c8
Merge pull request #3113 from ansonhe97/main
ADD: Added Wio Terminal's functional pins and LCD driver to board init
2020-07-06 14:50:47 -07:00
Diego Elio Pettenò 34b4993d63 Add license to some obvious files. 2020-07-06 19:16:25 +01:00
Diego Elio Pettenò d7e57259f9 Add copyright and license information to translations.
Since these have multiple copyright lines already, preserve those in
addition to the generic 'contributors' line, but make them appear as SPDX lines.
2020-07-06 19:16:21 +01:00
Diego Elio Pettenò eed7e84d94 Add an explicit SPDX license file for ter-u12n.
While the .bdf file already includes copyright information, this makes it
visible as part of REUSE SPDX identification.
2020-07-06 19:15:41 +01:00
Diego Elio Pettenò f4a1cfb116 Add LICENSES as identified by REUSE tooling. 2020-07-06 19:15:41 +01:00
Diego Elio Pettenò 9dbb6fdb38 Add a `.mailmap` file to collate together multiple author entries.
This reduces the 484 separate authors into 405, removing some obviously
invalid addresses on the way.
2020-07-06 19:15:41 +01:00
Radomir Dopieralski 2f80460a2f Fluff M0: additional pins on version 1.3 of the board 2020-07-06 19:15:41 +01:00
Dan Halbert 632cd9f992
Merge pull request #3122 from tylercrumpton/patch-2
Fix minor typo in MicroPython libraries page
2020-07-06 14:10:36 -04:00
Kamil Tomaszewski 97355f8fb7 spresense: update SDK to 2.0.1 2020-07-06 17:13:28 +02:00
Tyler Crumpton d1c9bb30e2
Fix minor typo in MicroPython libraries page 2020-07-06 09:56:52 -05:00
DavePutz ac33c3fe2c
Implementation of continuous synchronization of RTC during pulsein
Flags and code to implement continuous synchronization of RTC during pulsein
2020-07-04 21:17:19 -05:00
DavePutz 94d90742dd
Implementation of RTC continuous synchronization during pulsein
Flags and code to implement RTC continuous synchronization during pulsein
2020-07-04 21:15:38 -05:00
DavePutz 22d67b45f0
Merge pull request #10 from adafruit/main
updating my branch
2020-07-04 20:55:24 -05:00
ndgarage e514782cc6 update-with-new-usb-PID 2020-07-04 10:39:21 -06:00
Jeff Epler f6aee98000
Merge pull request #3117 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-07-04 06:27:27 -05:00
ansonhe97 36ef3476de Fix depreciate terminology 2020-07-04 11:21:58 +08:00
Jeff Epler 01b2682842
Translated using Weblate (Indonesian)
Currently translated at 29.1% (227 of 778 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/id/
2020-07-04 04:45:21 +02:00
oon arfiandwi 2345b57373
Translated using Weblate (Indonesian)
Currently translated at 29.1% (227 of 778 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/id/
2020-07-04 04:34:42 +02:00
Jeff Epler 4df19753e0
Merge pull request #3116 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-07-03 21:34:34 -05:00
Wellington Terumi Uemura 5375e54603
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (778 of 778 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-07-04 00:53:02 +02:00
Dan Halbert 77b5a38ec7
Merge pull request #3114 from tannewt/shrink_files.json
Shrink files.json by using one space instead of four.
2020-07-03 18:52:54 -04:00
dherrada bce77adecd Added type hints previously missed 2020-07-03 16:03:19 -04:00
Scott Shawcroft 50a6342f6d
Shrink files.json by using one space instead of four.
Also:
- Remove download count update because the files are no longer
  on GitHub.
- Add "extensions" and "languages" to each board dictionary so we
  can stop using "files" entirely.
2020-07-03 12:54:48 -07:00
dherrada 9911b64fa1 Added type hints to ustack 2020-07-03 15:52:53 -04:00
dherrada 657c651e0e Added type hints to uheap 2020-07-03 15:51:39 -04:00
dherrada 4c5a9d1e3a Added type hints to time 2020-07-03 15:49:51 -04:00
dherrada 4758081e10 Added type hints to struct 2020-07-03 15:45:29 -04:00
dherrada 45b6e0174e Added type hints to storage 2020-07-03 15:38:40 -04:00
dherrada a88004e509 Added type hints to rtc 2020-07-03 15:27:11 -04:00
dherrada 97d405e109 Added type hints to random 2020-07-03 15:25:58 -04:00
dherrada e237dfe3c5 Added type hints to os 2020-07-03 15:18:44 -04:00
dherrada aaa550b33e Added type hints to network 2020-07-03 15:10:56 -04:00
dherrada 9122d0b9f4 Added type hints to multiterminal 2020-07-03 15:08:16 -04:00