Scott Shawcroft
6aad70b109
Switch to the new release event type filter
...
Fixes #2201
2019-10-14 20:16:59 -07:00
Scott Shawcroft
5971794e54
Merge pull request #2216 from jerryneedell/jerryn_nlr
...
restructure nlr.h for undefined archtectures
2019-10-14 14:51:51 -07:00
Scott Shawcroft
51582abc87
Merge pull request #2207 from kamtom480/circuitpython-spresense
...
Add Spresense board
2019-10-14 14:19:09 -07:00
Jerry Needell
051670038e
restructure nlr.h for udefined archtectures
2019-10-14 07:02:32 -04:00
Kamil Tomaszewski
150f9041e3
Fix unsafe floating point comparison
2019-10-14 09:13:35 +02:00
Kamil Tomaszewski
b750ed3a0f
Change Spresense firmware download link
2019-10-14 08:42:10 +02:00
Kamil Tomaszewski
8dfc8b584f
Change Spresense reference_voltage to 0.0 (None)
2019-10-14 08:22:14 +02:00
Kamil Tomaszewski
c67b2c1661
Return None if reference_voltage is 0.0
2019-10-14 08:22:14 +02:00
Limor "Ladyada" Fried
1a53ced167
Merge pull request #2212 from jepler/nrf-audio-issue2203
...
nrf: PWMAudioOut: deactivate PWM when deinitting self
2019-10-12 14:28:15 -04:00
Jeff Epler
fae6e29546
nrf: PWMAudioOut: deactivate PWM when deinitting self
...
.. otherwise, when an AudioPWMOut object was deinitted without being
explicitly stop()ped, it would use up a slot in active_audio[]; the
5th iteration would create a non-working audio object which would just
buzz instead of playing the right thing.
Closes : #2203
2019-10-12 14:01:35 +09:00
Jeff Epler
ef459326cb
nrf: PWMAudioOut: coding style
2019-10-12 13:57:31 +09:00
Kamil Tomaszewski
6b9375804c
Rename circuitpython.spk to firmware.spk
2019-10-11 17:15:25 +02:00
Kamil Tomaszewski
771f43591a
Add links to serial drivers
2019-10-11 12:57:43 +02:00
Kamil Tomaszewski
eb1dfd2312
Add .gitignore
2019-10-11 12:11:48 +02:00
Kamil Tomaszewski
954c1942f6
Add Spresense to build.yml
2019-10-11 12:09:51 +02:00
Kamil Tomaszewski
5cf66dfec2
Add cxd56 to build_board_info
2019-10-11 12:09:51 +02:00
Kamil Tomaszewski
0d139e4eca
Add a way to change serial device name
2019-10-11 12:09:51 +02:00
Kamil Tomaszewski
c062990830
Make Makefile work across OS
2019-10-11 12:09:51 +02:00
Kamil Tomaszewski
8f653d6238
Use CXD56 pin names
2019-10-11 12:09:51 +02:00
Kamil Tomaszewski
5f09609d41
Add Spresense board folder
2019-10-11 12:09:51 +02:00
Kamil Tomaszewski
1fa8841d20
Change port name to cxd56
2019-10-11 08:23:51 +02:00
hierophect
0ccab508f1
Merge pull request #2208 from hierophect/stm32-DAC
...
STM32: DAC Support
2019-10-10 17:08:47 -04:00
Scott Shawcroft
18e91d9302
Merge pull request #2205 from jepler/scan-build-fixes
...
Fix several trivial problems found by clang 7's scan-build
2019-10-10 12:27:17 -07:00
Jeff Epler
cd0ed65b29
mp_obj_instance_make_new: clearer way to avoid null pointer dereference
2019-10-10 13:25:24 +09:00
Hierophect
06b2fed518
improve macro readability
2019-10-09 16:06:23 -04:00
hierophect
4ce7a4cfdb
Merge branch 'master' into stm32-DAC
2019-10-09 15:47:43 -04:00
Hierophect
5f33c542b4
Fix include issues
2019-10-09 14:52:30 -04:00
Hierophect
8a94f25181
Text fixes
2019-10-09 13:54:40 -04:00
Hierophect
cb0ed264c4
Implement DAC
2019-10-09 13:34:20 -04:00
Kamil Tomaszewski
0a48282e51
Add Spresense to supported_ports
2019-10-09 13:11:22 +02:00
Kamil Tomaszewski
24c0fe26d8
Exclude spresense-exported-sdk from docs
2019-10-09 12:31:17 +02:00
Kamil Tomaszewski
6d1748fd59
Add spresense-exported-sdk submodule
2019-10-09 08:38:50 +02:00
Kamil Tomaszewski
49db102bdd
Update tinyUSB
2019-10-09 08:32:58 +02:00
Kamil Tomaszewski
526925f1c6
Add Spresense board
2019-10-09 08:27:08 +02:00
Dan Halbert
cc3e0a0d52
Merge pull request #2189 from kamtom480/circuitpython-number-endpoint
...
Add an alternative way to number the USB endpoints
2019-10-08 08:18:36 -04:00
Kamil Tomaszewski
810d802ca8
Fix invalid syntax error
2019-10-08 09:52:00 +02:00
kamtom480
f6e553f89f
Merge branch 'master' into circuitpython-number-endpoint
2019-10-08 09:41:29 +02:00
Kamil Tomaszewski
79096dbacd
Add the specific endpoint names
2019-10-08 09:35:04 +02:00
Kamil Tomaszewski
29844db332
Use boolean type for renumber_endpoints
2019-10-08 09:26:02 +02:00
Jeff Epler
8fbe19b993
mp_obj_instance_make_new: avoid undefined behavior
...
If kw_args is NULL then memcpy() gets a NULL source argument.
This is undefined behavior under the C standard, even if 0 bytes
are being copied.
This problem was found using clang 7's scan-build static analyzer.
2019-10-08 11:31:06 +09:00
Jeff Epler
85f0048d22
mp_bytecode_print_str: avoid undefined behavior
...
Left shift of negative numbers is undefined in the "C" standard. Multiplying
by 128 has the intended effect (in the absence of integer overflow, anyway),
can be implemented using the same shift instruction, but does not invoke
undefined behavior.
This problem was found using clang 7's scan-build static analyzer.
2019-10-08 11:16:11 +09:00
Jeff Epler
46b6870ffa
gc_alloc: Remove redundant 'collected' assignment
...
The remaining assignment was added in upstream micropython; the
deleted assignment was added in circuitpython as part of the long-lived
object area feature. During the merge, the redundant assignment
was not removed.
(since collected is a local variable and no pointers to it escape,
it doesn't seem possible for the placement of the assignment before
or after GC_ENTER() is important)
This diagnostic was found by clang 7's scan-build static analyzer.
2019-10-08 10:54:13 +09:00
Jeff Epler
0d96f1906b
mp_binary_get_int: avoid undefined behavior
...
Left shift of negative numbers is undefined in the "C" standard. Multiplying
by 256 has the intended effect (in the absence of integer overflow, anyway),
can be implemented using the same shift instruction, but does not invoke
undefined behavior.
This problem was found using clang 7's scan-build static analyzer.
2019-10-08 10:48:25 +09:00
Scott Shawcroft
4eb11fbde6
Merge pull request #2198 from kamtom480/circuitpython-msc-max-packet-size
...
Add a way to change max packet size for MSC
2019-10-07 13:58:06 -07:00
Dan Halbert
45c57db0ed
Merge pull request #2200 from kickbutts/patch-1
...
Update de_DE.po
2019-10-07 11:58:06 -04:00
hierophect
59ed879c8f
Merge pull request #2197 from hierophect/always-build-modules
...
Sort some modules into ALWAYS-BUILD in mpconfig
2019-10-07 09:09:28 -04:00
Kamil Tomaszewski
a020f203dc
Update usb_descriptor submodule
2019-10-07 13:44:05 +02:00
Kamil Tomaszewski
badf32e88d
Add HID OUT
2019-10-07 13:40:44 +02:00
Kamil Tomaszewski
1205d3e305
Add validation
2019-10-07 12:31:42 +02:00
Kamil Tomaszewski
7aefcc449a
Add an alternative way to number the USB endpoints
...
Two options available:
- relative numbering (USB_RELATIVE_EP_NUM = 1) - default
- absolute numbering (USB_RELATIVE_EP_NUM = 0) - new!
2019-10-07 12:31:42 +02:00