glennrub
3193bcc7ee
nrf5: Updating readme with BLE REPL
2017-06-09 22:33:51 +02:00
Daniel Tralamazza
a6b138c9ef
Merge pull request #78 from glennrub/fixes
...
Fixes
2017-06-09 22:27:13 +02:00
Scott Shawcroft
43881f933d
py: Prevent mp_arg_check_num from being optimized away by the compiler.
...
Also, change the MICROPY_ERROR_REPORTING checks to macros to make it
clear the compiler can handle it immediately.
Fixes #154
2017-06-09 11:20:53 -07:00
Glenn Ruben Bakke
c9a7a50c74
Merge remote-tracking branch 'upstream/master' into fixes
2017-06-09 17:05:46 +02:00
Paul Sokolovsky
07241cd37a
py/objstringio: If created from immutable object, follow copy on write policy.
...
Don't create copy of immutable object's contents until .write() is called
on BytesIO.
2017-06-09 17:33:01 +03:00
Ben Whitten
60ad0157f7
nrf/boards: Add DVK BL652 from Laird
...
To build run 'make BOARD=dvk_bl652 SD=s132'
To flash with jlink run 'make sd BOARD=dvk_bl652 SD=s132'
This will remove the existing licences in the bl652
2017-06-09 15:15:19 +02:00
Ben Whitten
8326d777cc
nrf/drivers/bluetooth: Allow s132 to use LFCLK
2017-06-09 15:15:19 +02:00
Ben Whitten
decb260890
nrf: Add nordic sd folders to the .gitignore
2017-06-09 15:15:19 +02:00
Damien George
b24ccfc639
py/makeqstrdefs.py: Make script run correctly with Python 2.6.
2017-06-09 13:42:13 +10:00
Damien George
a8a5d1e8c8
py: Provide mp_decode_uint_skip() to help reduce stack usage.
...
Taking the address of a local variable leads to increased stack usage, so
the mp_decode_uint_skip() function is added to reduce the need for taking
addresses. The changes in this patch reduce stack usage of a Python call
by 8 bytes on ARM Thumb, by 16 bytes on non-windowing Xtensa archs, and by
16 bytes on x86-64. Code size is also slightly reduced on most archs by
around 32 bytes.
2017-06-09 13:36:33 +10:00
Scott Shawcroft
a884acc7f6
atmel-samd: Fix PWMOut duty_cycle when used with TCC peripherals.
...
Fixes #148 . Fixes #151
2017-06-08 18:56:13 -07:00
Glenn Ruben Bakke
72a564b065
nrf/boards: Updating microbit pin mapping for SPI and I2C.
2017-06-09 00:48:37 +02:00
Glenn Ruben Bakke
30b27b1370
nrf/boards: Correcting feather52 I2C SDA pin assigned to the board.
2017-06-09 00:06:26 +02:00
Glenn Ruben Bakke
708571834a
nrf/examples: Update ssd1306 modification example to import correct class.
2017-06-09 00:05:31 +02:00
Glenn Ruben Bakke
5d28a99114
nrf/boards: Activate RTC and Timer module and HAL on pca10056. Also swapping out UART with UART DMA variant on this target board.
2017-06-08 21:42:13 +02:00
Glenn Ruben Bakke
8906084d80
nrf/boards: Activate RTC, Timer, I2C, ADC and HW_SPI module and HAL on pca10031.
2017-06-08 21:23:30 +02:00
Glenn Ruben Bakke
362e2946a5
nrf/boards: Activate RTC, Timer, I2C and ADC module and HAL on pca10001.
2017-06-08 21:06:42 +02:00
Glenn Ruben Bakke
4b4fee8b78
nrf/boards: Adding RTC and Timer module and HAL to pca10000.
2017-06-08 20:58:19 +02:00
Paul Sokolovsky
4352b944d2
zephyr: Define MICROPY_PY_SYS_PLATFORM (to "zephyr").
2017-06-08 17:58:55 +03:00
Paul Sokolovsky
e094200750
tests/float/builtin_float_minmax: PEP8 fixes.
2017-06-08 17:23:22 +03:00
Damien George
fde54350a8
tests/float: Convert "sys.exit()" to "raise SystemExit".
...
The latter is shorter and simpler because it doesn't require importing the
sys module.
2017-06-08 14:00:57 +10:00
Tamas TEVESZ
d80c951f71
unix/Makefile: replace references to make with $(MAKE)
...
make is not always GNU make; the latter may go by different names.
This helps builds on systems where the default make is not GNU make.
2017-06-08 13:42:23 +10:00
Tamas TEVESZ
1dd18c5260
esp8266/Makefile: replace references to make with $(MAKE)
...
make is not always GNU make; the latter may go by different names.
This helps builds on systems where the default make is not GNU make.
2017-06-08 13:42:23 +10:00
Damien George
22cedef95f
stmhal/usbdev: For MSC implement SCSI SYNCHRONIZE_CACHE command.
...
Currently just a dummy command that returns "success", but it's needed for
some O/S's to correctly talk with the SCSI layer.
2017-06-08 12:29:10 +10:00
Scott Shawcroft
9345562cc8
docs: Add note about composition to the design guide.
2017-06-07 14:57:55 -07:00
Scott Shawcroft
714521a4c7
shared-bindings: Update docs to remove with statements from examples but add more detail to the design guide about their use.
2017-06-07 14:39:12 -07:00
Daniel Tralamazza
f730ea9602
Merge pull request #76 from glennrub/readme_update
...
nrf: Updating README.
2017-06-07 21:57:37 +02:00
Daniel Tralamazza
52f1fbdd70
Merge pull request #75 from glennrub/remove_unused_file
...
nrf: Removing unused font header.
2017-06-07 21:56:33 +02:00
Glenn Ruben Bakke
10965eef5c
nrf: Updating README.
2017-06-07 21:33:47 +02:00
Scott Shawcroft
c5e515b8fe
docs: Add module support matrix.
2017-06-07 12:00:15 -07:00
Scott Shawcroft
2ecb9a3dbf
docs: Fix header lines that are too short.
2017-06-07 11:58:04 -07:00
Glenn Ruben Bakke
d6905b961e
nrf: Removing unused font header.
2017-06-07 20:54:36 +02:00
Daniel Tralamazza
6d1be3dc65
Merge pull request #73 from tralamazza/nrf5_rename_to_nrf
...
rename nrf5 folder to nrf
2017-06-07 20:02:40 +02:00
Daniel Tralamazza
bf09cdff60
rename temperature example
2017-06-07 19:44:09 +02:00
Glenn Ruben Bakke
f0485c06a1
nrf5/examples: Adding ubluepy peripheral example that works across nrf51 and nrf52. The example uses Environmenting Sensing Service to provide the temperature characteristic. The temperature is fetched from the machine.Temp module. One note is that the example uses 1 LED which is not present on all boards.
2017-06-07 19:44:08 +02:00
Glenn Ruben Bakke
fc26a2ef7c
nrf5/modules/ubluepy: Adding new event constant for gatts write (80) events from bluetooth stacks.
2017-06-07 19:44:08 +02:00
Glenn Ruben Bakke
d53596145a
nrf5/hal/timer: Add support for fetching temperature if bluetooth stack is enabled.
2017-06-07 19:44:08 +02:00
Glenn Ruben Bakke
4a52f8401b
nrf5/drivers/bluetooth: Make printf in 'ble_drv_service_add' function part of debug log.
2017-06-07 19:44:08 +02:00
Daniel Tralamazza
e5802fd9f8
implement #50
2017-06-07 18:57:47 +02:00
Daniel Tralamazza
5552864196
Merge pull request #66 from glennrub/ble_support_for_feather52
...
nrf5/boards/feather52: Update s132 target makefile with dfu-gen and d…
2017-06-07 18:24:57 +02:00
Daniel Tralamazza
0dbb06f9a5
Merge pull request #67 from glennrub/leds_update
...
Leds update
2017-06-07 18:24:06 +02:00
Daniel Tralamazza
277905534b
Merge pull request #68 from glennrub/generic_frozen_module
...
Generic frozen module
2017-06-07 18:23:03 +02:00
Daniel Tralamazza
9de43eb545
Merge pull request #70 from glennrub/rename_examples
...
nrf5/examples: Renaming servo.py to nrf52_servo.py as it is only impl…
2017-06-07 18:19:47 +02:00
Daniel Tralamazza
bc1aec8a0d
Merge pull request #71 from glennrub/update_ssd1306_examples
...
nrf5/examples: Removing copy of ssd1306 driver, creating a new class …
2017-06-07 18:19:29 +02:00
Daniel Tralamazza
50a12a40a3
Merge pull request #72 from glennrub/sdcard_example
...
Sdcard example
2017-06-07 18:19:08 +02:00
Damien George
e1cda00387
py/modsys: Allow to compile with obj-repr D and PY_ATTRTUPLE disabled.
2017-06-08 00:41:27 +10:00
Damien George
326e8860ab
py/objstr: Allow to compile with obj-repr D, and unicode disabled.
2017-06-08 00:40:38 +10:00
Damien George
72732fea1a
py/persistentcode: Allow to compile with complex numbers disabled.
2017-06-08 00:28:28 +10:00
Damien George
4d2778c9fb
examples/embedding: Use core-provided KeyboardInterrupt object.
2017-06-07 20:28:18 +10:00
Damien George
f86c57fedf
stmhal/usb: Make state for USB device private to top-level USB driver.
2017-06-07 16:03:45 +10:00