diff --git a/python/port/genhdr/qstrdefs.in.h b/python/port/genhdr/qstrdefs.in.h index 59eaddb0c..c6664167f 100644 --- a/python/port/genhdr/qstrdefs.in.h +++ b/python/port/genhdr/qstrdefs.in.h @@ -6,14 +6,15 @@ * - Get a clean copy of MicroPython * - Copy our mpconfigport.h over the "bare-arm" port of MicroPython * - "make" the bare-arm port of MicroPython (don't worry if it doesn't finish) - * - "cat build/genhdr/qstrdefs.preprocessed.h|grep '^Q'|sort|uniq" + * - "cat build/genhdr/qstrdefs.preprocessed.h|grep '^Q'|uniq". CAUTION: the + * order is important, don't sort. * - Insert the result below in the MicroPython QSTRs section * - remove "QSTR(urandom)" as we renamed it to random */ // Global configuration -QCFG(BYTES_IN_HASH, (2)) QCFG(BYTES_IN_LEN, (1)) +QCFG(BYTES_IN_HASH, (2)) // Kandinsky QSTRs @@ -24,21 +25,25 @@ Q(get_pixel) Q(set_pixel) // MicroPython QSTRs - -Q( ) -Q(%#o) -Q(%#x) Q() Q(*) +Q(_) Q(/) -Q() -Q() +Q(%#o) +Q(%#x) +Q({:#b}) +Q( ) +Q(\n) +Q(maximum recursion depth exceeded) +Q() Q() Q() -Q() +Q() Q() -Q() +Q() Q() +Q() +Q(utf-8) Q(ArithmeticError) Q(AssertionError) Q(AttributeError) @@ -66,8 +71,6 @@ Q(SystemExit) Q(TypeError) Q(ValueError) Q(ZeroDivisionError) -Q(\n) -Q(_) Q(_0x0a_) Q(__add__) Q(__bool__) @@ -239,7 +242,6 @@ Q(lstrip) Q(map) Q(math) Q(max) -Q(maximum recursion depth exceeded) Q(maximum_space_recursion_space_depth_space_exceeded) Q(micropython) Q(min) @@ -311,8 +313,300 @@ Q(uniform) Q(union) Q(update) Q(upper) -Q(utf-8) Q(value) Q(values) Q(zip) + +QCFG(BYTES_IN_LEN, (1)) +QCFG(BYTES_IN_HASH, (2)) +Q() +Q(*) +Q(_) +Q(/) +Q(%#o) +Q(%#x) Q({:#b}) +Q( ) +Q(\n) +Q(maximum recursion depth exceeded) +Q() +Q() +Q() +Q() +Q() +Q() +Q() +Q() +Q(utf-8) +Q(ArithmeticError) +Q(AssertionError) +Q(AttributeError) +Q(BaseException) +Q(EOFError) +Q(Ellipsis) +Q(Exception) +Q(GeneratorExit) +Q(ImportError) +Q(IndentationError) +Q(IndexError) +Q(KeyError) +Q(KeyboardInterrupt) +Q(LookupError) +Q(MemoryError) +Q(NameError) +Q(NoneType) +Q(NotImplementedError) +Q(OSError) +Q(OverflowError) +Q(RuntimeError) +Q(StopIteration) +Q(SyntaxError) +Q(SystemExit) +Q(TypeError) +Q(ValueError) +Q(ZeroDivisionError) +Q(_0x0a_) +Q(__add__) +Q(__bool__) +Q(__build_class__) +Q(__call__) +Q(__class__) +Q(__contains__) +Q(__delitem__) +Q(__enter__) +Q(__eq__) +Q(__exit__) +Q(__ge__) +Q(__getattr__) +Q(__getitem__) +Q(__gt__) +Q(__hash__) +Q(__iadd__) +Q(__import__) +Q(__init__) +Q(__isub__) +Q(__iter__) +Q(__le__) +Q(__len__) +Q(__lt__) +Q(__main__) +Q(__module__) +Q(__name__) +Q(__new__) +Q(__next__) +Q(__path__) +Q(__qualname__) +Q(__repl_print__) +Q(__repr__) +Q(__reversed__) +Q(__setitem__) +Q(__str__) +Q(__sub__) +Q(__traceback__) +Q(_brace_open__colon__hash_b_brace_close_) +Q(_lt_dictcomp_gt_) +Q(_lt_genexpr_gt_) +Q(_lt_lambda_gt_) +Q(_lt_listcomp_gt_) +Q(_lt_module_gt_) +Q(_lt_setcomp_gt_) +Q(_lt_string_gt_) +Q(_percent__hash_o) +Q(_percent__hash_x) +Q(_space_) +Q(_star_) +Q(abs) +Q(acos) +Q(acosh) +Q(add) +Q(all) +Q(any) +Q(append) +Q(args) +Q(asin) +Q(asinh) +Q(atan) +Q(atan2) +Q(atanh) +Q(bin) +Q(bool) +Q(bound_method) +Q(builtins) +Q(bytecode) +Q(bytes) +Q(callable) +Q(ceil) +Q(choice) +Q(chr) +Q(classmethod) +Q(clear) +Q(close) +Q(closure) +Q(cmath) +Q(complex) +Q(const) +Q(copy) +Q(copysign) +Q(cos) +Q(cosh) +Q(count) +Q(default) +Q(degrees) +Q(dict) +Q(dict_view) +Q(difference) +Q(difference_update) +Q(dir) +Q(discard) +Q(divmod) +Q(e) +Q(end) +Q(endswith) +Q(enumerate) +Q(erf) +Q(erfc) +Q(eval) +Q(exec) +Q(exp) +Q(expm1) +Q(extend) +Q(fabs) +Q(filter) +Q(find) +Q(float) +Q(floor) +Q(fmod) +Q(format) +Q(frexp) +Q(from_bytes) +Q(fromkeys) +Q(frozenset) +Q(function) +Q(gamma) +Q(generator) +Q(get) +Q(getattr) +Q(getrandbits) +Q(globals) +Q(hasattr) +Q(hash) +Q(heap_lock) +Q(heap_unlock) +Q(hex) +Q(id) +Q(imag) +Q(index) +Q(input) +Q(insert) +Q(int) +Q(intersection) +Q(intersection_update) +Q(isalpha) +Q(isdigit) +Q(isdisjoint) +Q(isfinite) +Q(isinf) +Q(isinstance) +Q(islower) +Q(isnan) +Q(isspace) +Q(issubclass) +Q(issubset) +Q(issuperset) +Q(isupper) +Q(items) +Q(iter) +Q(iterator) +Q(join) +Q(kandinsky) +Q(kbd_intr) +Q(key) +Q(keys) +Q(ldexp) +Q(len) +Q(lgamma) +Q(list) +Q(little) +Q(locals) +Q(log) +Q(log10) +Q(log2) +Q(lower) +Q(lstrip) +Q(map) +Q(math) +Q(max) +Q(maximum_space_recursion_space_depth_space_exceeded) +Q(micropython) +Q(min) +Q(modf) +Q(module) +Q(next) +Q(object) +Q(oct) +Q(open) +Q(opt_level) +Q(ord) +Q(pend_throw) +Q(phase) +Q(pi) +Q(polar) +Q(pop) +Q(popitem) +Q(pow) +Q(print) +Q(radians) +Q(randint) +Q(random) +Q(randrange) +Q(range) +Q(real) +Q(rect) +Q(remove) +Q(replace) +Q(repr) +Q(reverse) +Q(reversed) +Q(rfind) +Q(rindex) +Q(round) +Q(rsplit) +Q(rstrip) +Q(seed) +Q(send) +Q(sep) +Q(set) +Q(setattr) +Q(setdefault) +Q(sin) +Q(sinh) +Q(slice) +Q(sort) +Q(sorted) +Q(split) +Q(sqrt) +Q(start) +Q(startswith) +Q(staticmethod) +Q(step) +Q(stop) +Q(str) +Q(strip) +Q(sum) +Q(super) +Q(symmetric_difference) +Q(symmetric_difference_update) +Q(tan) +Q(tanh) +Q(throw) +Q(to_bytes) +Q(trunc) +Q(tuple) +Q(type) +Q(uniform) +Q(union) +Q(update) +Q(upper) +Q(value) +Q(values) +Q(zip)