Commit Graph

12236 Commits

Author SHA1 Message Date
Nick Moore 9b36d33df1 move random mac address function into network module 2018-10-09 13:12:04 +11:00
Nick Moore 6e624b9c6a Split wiznet.WIZNET5K off into its own file 2018-10-09 13:05:58 +11:00
Nick Moore 4b767ff080 Change WIZNET5K.isconnected to connected property 2018-10-09 12:24:24 +11:00
Noralf Trønnes db4a8f5d1a modsys: exc_info: Add traceback
Add traceback chain to sys.exec_info()[2].
No actual frame info is added, but just enough to recreate the printed
exception traceback.

Used by the unittest module which collects errors and failures and prints
them at the end.
2018-10-07 19:37:49 +02:00
Noralf Trønnes b897603cfa py/objboundmeth: Support __func__ property as in CPython
This gives access to the function underlying the bound method.

Used in the converted CPython stdlib logging.Formatter class to handle
overrriding a default converter method bound to a class variable.
The method becomes bound when accessed from an instance of that class.

I didn't investigate why CircuitPython turns it into a bound method.
2018-10-07 19:36:24 +02:00
Noralf Trønnes a63555abc1 py/builtinimport: Set __file__ on MPY modules
This sets the __file__ property on MPY modules like how it's done on pure python modules.
2018-10-07 19:36:12 +02:00
Dan Halbert c23d2028a8
Merge pull request #1244 from urish/armthumb-fix
fix compilation errors in emitinlinethumb.c
2018-10-06 19:48:27 -04:00
Uri Shaked cea079a022
fix compilation errors in emitinlinethumb.c 2018-10-07 02:09:44 +03:00
Dan Halbert 4745dda9e6
Merge pull request #1230 from C47D/es_lang
Translate strings in nrf directory
2018-10-06 17:10:26 -04:00
Dan Halbert f7f723c590
Merge pull request #1238 from xpecex/pt_BR2
String internationalization for Brazilian Portuguese
2018-10-06 17:09:13 -04:00
Dan Halbert 122859447e
Merge pull request #1245 from jerryneedell/jerryn_erase
add force_create to nrf filesystem_init()
2018-10-06 16:57:23 -04:00
Jerry Needell fd0ea85549 add force_create to nrf filesystem_init() 2018-10-06 08:03:27 -04:00
Scott Shawcroft 2b0356c61f
Disable framebuf by default on express builds. 2018-10-05 15:19:09 -07:00
Scott Shawcroft 3c6812f2c1
Fix M0 math 2018-10-05 15:19:09 -07:00
Scott Shawcroft 15d80a8c46
Fix doc build 2018-10-05 15:19:08 -07:00
Scott Shawcroft 8587d8edf0
Fix voice ending in the middle of a buffer. 2018-10-05 15:19:08 -07:00
Scott Shawcroft 2ec7f98c90
Update translations 2018-10-05 15:19:05 -07:00
Scott Shawcroft 623f8d3b8c
Don't freeze the tests directory 2018-10-05 15:14:34 -07:00
Scott Shawcroft 76008ce304
Introduce audioio.Mixer which can mix multiple audio samples
to produce a single sample.

Only works with 16 bit samples on the M4.

Fixes #987
2018-10-05 15:12:23 -07:00
Dan Halbert 7b95818c4f
Merge pull request #1241 from hathach/nrf52_fix_tinyusb_issue
fix tinyusb cdc issue
2018-10-05 11:21:53 -04:00
hathach 21ddb6b9b9 fix tinyusb cdc issue 2018-10-05 21:37:16 +07:00
Carlos bd2044fb39 Update translation 2018-10-04 22:22:17 -05:00
Carlos 22f6869bdf Address suggestions @carlosperate 2018-10-04 21:57:09 -05:00
Carlos 14f52c52cb Translate strings in nrf directory 2018-10-04 21:57:06 -05:00
Pedro Filipe 661743ebff String internationalization for Brazilian Portuguese 2018-10-04 22:55:28 -03:00
Nick Moore 15b59bee1b change initialization method + mod_network names 2018-10-04 22:31:47 +10:00
Nick Moore f9bda0ff93 Makefile & mpconfigport for atmel-samd with wiznet 2018-10-04 22:02:25 +10:00
Nick Moore d33f6214f1 modify modnetwork and modusocket for circuitpython 2018-10-04 22:02:25 +10:00
Nick Moore f4c32139f5 Copy modnetwork and modusocket across from MicroPython 2018-10-04 22:02:25 +10:00
Nick Moore 27fc84a157 Modify wiznet module for circuitpython 2018-10-04 22:02:25 +10:00
Nick Moore 3c32d046bf Copy wiznet module across from MicroPython 2018-10-04 21:22:09 +10:00
Nick Moore 8670215ecc Fixups for wiznet 5500 driver 2018-10-04 21:17:51 +10:00
Nick Moore 38d99b11c1 Copy wiznet drivers over from MicroPython 1.9.4 2018-10-04 21:13:01 +10:00
Dan Halbert f7ebbacf58
Merge pull request #1212 from hathach/nrf52_uart_io
Nrf52 uart io
2018-10-03 23:57:56 -04:00
Dan Halbert 6049776b26
Merge branch 'master' into nrf52_uart_io 2018-10-03 13:31:48 -04:00
Scott Shawcroft 86ae707b08
Merge pull request #1223 from dhalbert/spi-baudrate
nrf: remove error check for SPI baudrate too high; round to nearest baudrate
2018-10-03 10:11:44 -07:00
hathach a47eaa521b update translate 2018-10-03 23:16:02 +07:00
hathach b8884ccc8b Merge branch 'master' into nrf52_uart_io 2018-10-03 23:13:56 +07:00
Dan Halbert b95865939f
Merge pull request #1231 from furlaneto/master
String internationalization for Brazilian Portuguese
2018-10-03 09:15:17 -04:00
Dan Halbert d79b0a6b17
Merge pull request #1232 from platipo/master
Fix 'advertisement' typo
2018-10-03 09:14:28 -04:00
Enrico Paganin 4b9099358f Fix 'advertisement' typo 2018-10-03 09:56:30 +02:00
hathach 08cbb03bdd implement common_hal_busio_uart_clear_rx_buffer 2018-10-03 11:39:01 +07:00
hathach f543c8415d "busio.UART not yet implemented -> not available 2018-10-03 11:30:31 +07:00
Lucas Furlaneto 67d9aef4c7
Update pt_BR.po 2018-10-03 01:01:11 -03:00
Dan Halbert da48fc9d45
Merge pull request #1228 from xpecex/pt_BR
String internationalization for Brazilian Portuguese
2018-10-02 23:37:11 -04:00
Pedro Filipe ddd2a90eee String internationalization for Brazilian Portuguese 2018-10-02 23:20:15 -03:00
Dan Halbert 73de5f7980
Merge pull request #1229 from gcvasconcelos/patch-1
Added new portuguese translations
2018-10-02 22:11:51 -04:00
Gabriel Vasconcelos 1d287d066b
Added new portuguese translations 2018-10-02 22:16:37 -03:00
Dan Halbert 21d331c8cc round SPI freq down; check max freq 2018-10-02 21:06:40 -04:00
Dan Halbert 036a1490e3
Merge pull request #1227 from tannewt/trellis_m4
Update Trellis M4 Express for Rev C
2018-10-02 20:33:27 -04:00