Hierophect
4a25c2344e
implement os urandom
2019-11-18 18:27:25 -05:00
Dan Halbert
2da1b68956
Merge pull request #2296 from jepler/github-actions-forks
...
workflows: Don't try to upload when running in someone's fork
2019-11-18 13:49:24 -05:00
Dan Halbert
9000c88965
Merge pull request #2295 from jepler/make-translate-xargs
...
Makefile: Fix a problem where `xargs` invoked `xgettext` 2x
2019-11-18 11:04:02 -05:00
Jeff Epler
37fd08e637
workflows: Don't try to upload when running in someone's fork
...
.. which we can tell by whether the environment variable is non-empty
2019-11-17 21:21:30 -06:00
Jeff Epler
8e9ac59396
Makefile: Fix a problem where xargs
invoked xgettext
2x
...
On a Debian 10 system, the number of arguments to xargs was such that
it would not fit in a single invocation (xargs --show-limits prints
"bytes: Size of command buffer we are actually using: 131072").
In this situation, the output from the second invocation of xgettext
would replace the output of the first one, so messages that appeared only
in files early in the list would be lost. Strings in "extmod" were most
frequently the victim, including "incorrect padding" from modubinascii.c.
Unfortunately, when the github environment was similar enough to the
environment where "make translate" was invoked, the problem was not
found by "check-translate", because the same (incorrect, truncated)
potfile would be generated on both systems. Apparently Ubuntu and Debian
were different enough that the problem could become visible.
xgettext has a mode where it reads files from stdin ('-f-'), but this does
not have a zero-delimited variant documented. Still, we will assume
that files with adversarial names are not committed to circuitpython
or created by the build process, and print newline-delimited filenames
from `find` to be processed by `xgettext -f-`.
2019-11-17 21:00:07 -06:00
Limor "Ladyada" Fried
8778f367e8
Merge pull request #2293 from CedarGroveStudios/patch-1
...
Add a USB interface description for StringCar M0 Express
2019-11-16 22:21:07 -05:00
Cedar Grove Maker Studios
e7df288a34
add USB interface description
...
... to "StringCarM0Ex"
2019-11-16 16:40:40 -08:00
Dan Halbert
5d9ac8b1d9
Merge pull request #2290 from hierophect/pin-commonhal-additions
...
Add pin reset and never reset to common-hal
2019-11-15 16:49:07 -05:00
Hierophect
81223c76bd
revert error
2019-11-15 13:04:25 -05:00
Hierophect
2c6781f74d
move neopixel_in_use flag to shared-bindings
2019-11-15 12:59:52 -05:00
Hierophect
8ff1bc0132
add missing include
2019-11-15 12:49:47 -05:00
Hierophect
de5691acf5
Add never_reset and reset to pin common hal, adjust files
2019-11-15 12:47:00 -05:00
Dan Halbert
f3038e53d1
Merge pull request #2286 from hierophect/stm32-speedy-405
...
STM32: Raise clock speed of F405
2019-11-15 11:25:29 -05:00
Scott Shawcroft
4c55431bb3
Merge pull request #2287 from dhalbert/testing-fixes
...
Fix start_scan timeout default value
2019-11-13 22:09:58 -08:00
Dan Halbert
8584c1e824
Fix start_scan timeout default value
2019-11-13 21:34:20 -05:00
Jeff Epler
66148ee7f0
Merge pull request #2283 from theacodes/allow-changing-usb-interface-names
...
Allow boards to change the "CircuitPython" text in their USB interface description.
2019-11-13 14:58:58 -06:00
Hierophect
6e96b1945e
Raise clock speed, adjust divisors
2019-11-13 13:18:43 -05:00
Dan Halbert
166518fc9b
Merge pull request #2272 from hierophect/stm32-microcontroller-fillout
...
STM32: add us delay
2019-11-12 18:03:55 -05:00
Thea Flowers
67ff1c92f0
Allow boards to change the "CircuitPython" text in their USB interface description.
...
In cases where more than one board is connected to a single computer it can become pretty hard to figure out which board you're actually talking to. For example, if you have several MIDI-compatible boards they all show up as "CircuitPython MIDI". This change allows boards to replace the "CircuitPython" part of their USB descriptors with more specific text, for example, "CircuitPython Feather" or just "Feather". This will let folks more easily tell boards apart.
The new option is named `USB_INTERFACE_NAME` and is available in `mkconfigboard.mk`. For example:
```
USB_INTERFACE_NAME = "Feather"
```
2019-11-12 13:29:35 -08:00
Dan Halbert
356aa2ea28
Merge pull request #2211 from hierophect/stm32-uart
...
STM32: UART support
2019-11-12 15:20:34 -05:00
Hierophect
e40bd07fcf
fix conflicting definitions on discovery boards
2019-11-12 13:03:13 -05:00
Hierophect
bbc366b85b
Style overhaul, extra error checks
2019-11-12 11:26:14 -05:00
Hierophect
ed3e377390
Merge remote-tracking branch 'upstream/master' into stm32-uart
2019-11-12 09:49:17 -05:00
Hierophect
14b70806a5
de-init check
2019-11-11 15:47:47 -05:00
Hierophect
e076f14ea3
text fixes
2019-11-11 15:32:47 -05:00
Hierophect
c38086fc4a
fix typo
2019-11-11 15:04:22 -05:00
Hierophect
3f8b4727f5
Revise us delay to include interrupt/non-interrupt versions
2019-11-11 14:58:45 -05:00
Melissa LeBlanc-Williams
93cdf51b7f
Merge pull request #2277 from makermelissa/master
...
Fixed I2CDisplay reset issue
2019-11-08 12:57:48 -08:00
Melissa LeBlanc-Williams
39b38256fd
Fixed I2CDisplay reset issue
2019-11-08 12:35:35 -08:00
Dan Halbert
91156670e9
Merge pull request #2271 from theacodes/enable-micropython-native
...
Allow boards to enable the `micropython.native` decorator
2019-11-08 13:42:17 -05:00
hierophect
147a1bb860
Merge pull request #2268 from hierophect/stm32-dac-deinit
...
STM32: DAC auto shutoff
2019-11-07 09:38:19 -05:00
Hierophect
d42c4b082d
revert sublime being a dumb
2019-11-06 14:55:16 -05:00
Hierophect
39dbcb529a
revert git being a dumb
2019-11-06 14:54:07 -05:00
Hierophect
adfef8b520
Merge remote-tracking branch 'upstream/master' into stm32-dac-deinit
2019-11-06 14:46:56 -05:00
Dan Halbert
b8373aca0c
Merge pull request #2266 from hierophect/stm32-defaults
...
STM32: Add board defaults
2019-11-06 14:29:29 -05:00
Thea Flowers
3439c36197
Fix bad call to mp_arg_check_num
2019-11-05 17:49:47 -08:00
Thea Flowers
c7195c4bc5
Allow boards to enable the micropython.native
decorator
...
Adds the `CIRCUITPY_ENABLE_MPY_NATIVE` for `mpconfigboard.mk` that enables
the `micropython.native` decorator.
2019-11-05 14:27:53 -08:00
Hierophect
e66fcb5e1f
add missing newline
2019-11-05 16:32:34 -05:00
Hierophect
8a098c154d
Fix unsaved file
2019-11-05 16:25:30 -05:00
Hierophect
1a7060af25
Add us delay
2019-11-05 16:23:59 -05:00
Hierophect
1006c5600c
Merge remote-tracking branch 'upstream/master'
2019-11-05 12:25:10 -05:00
Hierophect
0b85c4bb20
Merge remote-tracking branch 'upstream/master' into stm32-uart
2019-11-05 10:56:57 -05:00
Hierophect
dfe73a063d
Fix error that would carry past python exception
2019-11-05 10:50:57 -05:00
Dan Halbert
01bf932169
Merge pull request #2269 from theacodes/add-winterbloom-sol
...
Add board configuration for Winterbloom Sol
2019-11-05 10:34:57 -05:00
Thea Flowers
73989dbcaf
Add board configuration for Winterbloom Sol
2019-11-04 23:11:42 -08:00
Dan Halbert
8cd2f87e99
Merge pull request #2236 from tannewt/bleio_tweaks
...
Refine _bleio
2019-11-04 22:27:54 -05:00
Dan Halbert
c87d6cc6a5
Merge pull request #2248 from hierophect/stm32-PWM
...
STM32: PWMOut
2019-11-04 22:08:01 -05:00
Dan Halbert
f185b30d71
Update PWMOut.h
2019-11-04 20:41:54 -05:00
Hierophect
38e38b9f8d
remove redundant comment
2019-11-04 17:20:10 -05:00
Hierophect
632b3267dc
Add auto-shutoff of DAC when channels de-inited
2019-11-04 17:08:00 -05:00