This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
T-minus 10 | |
Up we go 1 | |
poll(0): [<generator object 'reader' at 200043a0>] | |
poll(0): [<generator object 'reader' at 200043a0>] | |
poll(92): [<generator object 'reader' at 200043a0>, <generator object 'async_i2c' at 20004430>] | |
poll(100): [<generator object 'reader' at 200043a0>, <generator object 'async_i2c' at 20004430>] | |
poll(100): [<generator object 'reader' at 200043a0>, <generator object 'async_i2c' at 20004430>] | |
poll(100): [<generator object 'reader' at 200043a0>, <generator object 'async_i2c' at 20004430>] | |
poll(96): [<generator object 'reader' at 200043a0>, <generator object 'async_i2c' at 20004430>] | |
poll(100): [<generator object 'reader' at 200043a0>, <generator object 'async_i2c' at 20004430>] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/py/gc.c b/py/gc.c | |
old mode 100755 | |
new mode 100644 | |
index 1f5cd8d01..ba3f8d625 | |
--- a/py/gc.c | |
+++ b/py/gc.c | |
@@ -747,6 +747,8 @@ void *gc_make_long_lived(void *old_ptr) { | |
// we ensure we don't delete memory that has a second reference. (Though if there is we may | |
// confuse things when its mutable.) | |
memcpy(new_ptr, old_ptr, n_bytes); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@agl:~/circuitpython/stdlib/CPython-Lib-v3.4.9$ grep -RE "\.__init__|\.__new__|\.__class__|\.__class__|\.__name__" . | |
./_collections_abc.py: return '{0.__class__.__name__}({0._mapping!r})'.format(self) | |
./ntpath.py: "not '{}'".format(s.__class__.__name__)) | |
./ast.py: rv = '%s(%s' % (node.__class__.__name__, ', '.join( | |
./ast.py: raise TypeError('expected AST, got %r' % node.__class__.__name__) | |
./ast.py: raise TypeError("%r can't have docstrings" % node.__class__.__name__) | |
./ast.py: method = 'visit_' + node.__class__.__name__ | |
./site.py: (err.__class__.__name__, err)) | |
./site.py: (err.__class__.__name__, err)) | |
./imaplib.py: IMAP4.__init__(self, host, port) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ports/atmel-samd/mpconfigport.h b/ports/atmel-samd/mpconfigport.h | |
index 576325461..bb86e060e 100644 | |
--- a/ports/atmel-samd/mpconfigport.h | |
+++ b/ports/atmel-samd/mpconfigport.h | |
@@ -21,7 +21,7 @@ | |
#define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN (1) | |
#define MICROPY_COMP_TRIPLE_TUPLE_ASSIGN (1) | |
// Turn off for consistency | |
-#define MICROPY_CPYTHON_COMPAT (0) | |
+#define MICROPY_CPYTHON_COMPAT (1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@agl:~/circuitpython/workdirs/i2cslave$ bash call_graph circuitpython/ports/atmel-samd/build-feather_m0_express/firmware.elf | |
("<.$ ", "< 5 . Z.z A H.B "), | |
("acosf", "acosf)"), | |
("acosf", "__aeabi_fadd"), | |
("acosf", "__aeabi_fdiv"), | |
("acosf", "__aeabi_fmul"), | |
("acosf", "__aeabi_fsub"), | |
("acosf", "R"), | |
("acosf", "sqrtf"), | |
("_adc_set_resolution.constprop.41", "hri_adc_wait_for_sync.lto_priv.192.lto_priv.427"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@agl:~/circuitpython/workdirs/i2cslave/circuitpython$ /home/pi/opt/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-nm --print-size --size-sort --reverse-sort ports/atmel-samd/build-feather_m0_express/firmware.elf | grep i2c_slave | |
0002e86c 00000268 T i2cslave_i2c_slave_make_new.lto_priv.811 | |
0002da7c 00000188 T i2cslave_i2c_slave_request.lto_priv.974 | |
0002bcb4 00000120 t i2cslave_i2c_slave_request_read | |
00029f98 000000a4 T common_hal_i2cslave_i2c_slave_close | |
0002bc18 0000009c t i2cslave_i2c_slave_request_write | |
0002b59c 00000054 t i2cslave_i2c_slave_request_make_new | |
0002b550 0000004c t i2cslave_i2c_slave_request_ack | |
0003a54c 00000048 t i2cslave_i2c_slave_request_locals_dict_table | |
0003a5f0 0000003c T i2cslave_i2c_slave_type |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Archive member included to satisfy reference by file (symbol) | |
/home/pi/opt/gcc-arm-none-eabi-7-2017-q4-major/bin/../lib/gcc/arm-none-eabi/7.2.1/thumb/v6-m/libgcc.a(_thumb1_case_sqi.o) | |
/tmp/ccV1dZ3S.ltrans0.ltrans.o (__gnu_thumb1_case_sqi) | |
/home/pi/opt/gcc-arm-none-eabi-7-2017-q4-major/bin/../lib/gcc/arm-none-eabi/7.2.1/thumb/v6-m/libgcc.a(_thumb1_case_uqi.o) | |
/tmp/ccV1dZ3S.ltrans0.ltrans.o (__gnu_thumb1_case_uqi) | |
/home/pi/opt/gcc-arm-none-eabi-7-2017-q4-major/bin/../lib/gcc/arm-none-eabi/7.2.1/thumb/v6-m/libgcc.a(_thumb1_case_shi.o) | |
/tmp/ccV1dZ3S.ltrans0.ltrans.o (__gnu_thumb1_case_shi) | |
/home/pi/opt/gcc-arm-none-eabi-7-2017-q4-major/bin/../lib/gcc/arm-none-eabi/7.2.1/thumb/v6-m/libgcc.a(_thumb1_case_uhi.o) | |
/tmp/ccV1dZ3S.ltrans0.ltrans.o (__gnu_thumb1_case_uhi) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import random | |
import subprocess | |
import sys | |
import time | |
import pytest | |
import cpboard | |
if not pytest.config.option.i2cbus: | |
pytest.skip("--bus is missing, skipping tests", allow_module_level=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
import sys | |
sys.path.append('/home/pi') | |
import cpboard | |
test_obj_data = [ | |
None, | |
True, False, | |
5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import serial | |
import sys | |
import time | |
import serial.tools.list_ports | |
import sh | |
import shutil |