Glenn Ruben Bakke
4b4fee8b78
nrf/boards: Adding RTC and Timer module and HAL to pca10000.
2017-06-08 20:58:19 +02: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
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
Sylvain Pelissier
3bb69f645a
stmhal/usb: Use local USB handler variable in Start-of-Frame handler.
2017-06-07 16:03:19 +10:00
Sylvain Pelissier
6adcf7bb82
stmhal: Pass USB handler as parameter to allow more than one USB handler
2017-06-07 15:50:26 +10:00
Damien George
7ecfbb8267
extmod/vfs: Allow "buffering" and "encoding" args to VFS's open().
...
These args are currently ignored but are parsed to make it easier to
write portable scripts between CPython and MicroPython.
2017-06-07 15:29:53 +10:00
Damien George
f6ef8e3f17
extmod/vfs: Allow to statvfs the root directory.
2017-06-07 15:17:45 +10:00
Dave Hylands
551a731755
stmhal: Add support for NUCLEO_F446RE board.
2017-06-07 13:14:40 +10:00
Glenn Ruben Bakke
391cb3ebe8
nrf5/examples: Updating mountsd example with comment from deleted sdcard.py on how to wire SD directly to SPI.
2017-06-06 22:17:35 +02:00
Glenn Ruben Bakke
d21b11fe0e
nrf5/examples: Removing copy of sdcard.py also found in drivers/sdcard.
2017-06-06 22:16:49 +02:00
Glenn Ruben Bakke
dbc184816a
nrf5/examples: Removing copy of ssd1306 driver, creating a new class that overrides the needed function for i2c. Also adding some example usage in the comment in top of the file for both SPI and I2C variant.
2017-06-06 21:43:51 +02:00
Paul Sokolovsky
9db1c50f18
qemu-arm: Enable micropython.mem_*() functions to allow more tests.
2017-06-06 00:23:48 +03:00
Glenn Ruben Bakke
de3a78a097
nrf5/hal/gpio: Updating toggle inline function to work correctly, currently only used by LED module.
2017-06-05 21:59:37 +02:00
Glenn Ruben Bakke
e35a552f1f
nrf5/examples: Renaming servo.py to nrf52_servo.py as it is only implemented machine.PWM for nrf52.
2017-06-05 21:38:41 +02:00
Glenn Ruben Bakke
56c28d2ba6
nrf5/freeze: Adding generic example to freeze. Hello world with board name as parameter.
2017-06-05 17:54:39 +02:00
Glenn Ruben Bakke
35a3abb998
nrf5/examples: Moving nrf52 specific HW example from freeze to examples to replace test.py with a more generic example.
2017-06-05 17:46:56 +02:00
Glenn Ruben Bakke
2f983d3ef9
nrf5: Update pyb module, and led module to only be compiled in if MICROPY_HW_HAS_LED is set to 1.
2017-06-05 17:39:47 +02:00
Glenn Ruben Bakke
9779910e3e
nrf5/boards: Updating boards with correct LED count. Also adding new flag, MICROPY_HW_HAS_LED, to select whether the board has LED's at all. If not, this will unselect LED module from being compiled in.
2017-06-05 17:36:56 +02:00
Glenn Ruben Bakke
044e36f26f
nrf5/boards: Updating pca10040 board header to set the LED count.
2017-06-05 15:30:45 +02:00
Glenn Ruben Bakke
c4304d69e0
nrf5: Generalize script setting LED(1) on to be applied only when there are leds present on the board.
2017-06-05 15:29:55 +02:00
Glenn Ruben Bakke
e645b0b425
nrf5: Updating mpconfigport.h to set default values for MICROPY_HW_LED_COUNT (0) and MICROPY_HW_LED_PULLUP (0).
2017-06-05 15:28:54 +02:00
Paul Sokolovsky
cd64b3082e
docs/network: First step to describe standard network class interface.
...
This adds description of implied AbstractNIC base class, which should be
"subclasses" and implemented by a particular network device class.
This is just an initial step in that direction, the API and description
will be elabotated further.
2017-06-04 21:25:23 +03:00
Glenn Ruben Bakke
3996ed7183
nrf5/boards/feather52: Update s132 target makefile with dfu-gen and dfu-flash. This enables feather52 with Bluetooth LE. Features to be configured in bluetooth_conf.h.
2017-06-04 12:50:14 +02:00
Paul Sokolovsky
50de6d2fab
extmod/modlwip: accept: Fix error code for non-blocking mode.
...
In non-blocking mode, if no pending connection available, should return
EAGAIN, not ETIMEDOUT.
2017-06-04 13:45:37 +03:00
Paul Sokolovsky
5da8de2b66
extmod/modlwip: Fix error codes for duplicate calls to connect().
...
If socket is already connected, POSIX requires returning EISCONN. If
connection was requested, but not yet complete (for non-blocking
socket), error code is EALREADY.
http://pubs.opengroup.org/onlinepubs/7908799/xns/connect.html
2017-06-04 12:30:41 +03:00
Glenn Ruben Bakke
227eeb1408
Merge remote-tracking branch 'upstream/master' into nrf5_no_sdk
2017-06-03 23:23:08 +02:00
Daniel Tralamazza
d83c4fa130
Merge pull request #51 from glennrub/ubluepy_char_write_with_response
...
Ubluepy char write with response
2017-06-03 22:58:40 +02:00
Daniel Tralamazza
5be53808c9
Merge pull request #57 from glennrub/make_use_of_music_pin_define
...
Make use of music pin define
2017-06-03 22:56:31 +02:00
Daniel Tralamazza
bbd778c690
Merge pull request #63 from glennrub/dfu_serial_flag
...
nrf5/boards/feather52: Add SERIAL makeflag if dfu-flash target is used.
2017-06-03 22:56:05 +02:00
Daniel Tralamazza
e619b837c0
Merge pull request #62 from glennrub/raw_repl_support
...
nrf5: Updating main.c to support RAW REPL.
2017-06-03 22:53:16 +02:00