Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 5:1d19b8110e11, committed 2016-04-24
- Comitter:
- Colin Hogben
- Date:
- Sun Apr 24 21:57:21 2016 +0100
- Parent:
- 4:c6b9b315325a
- Child:
- 6:3e98ebcedb4c
- Commit message:
- Add pins module
Changed in this revision
--- a/genhdr/mpversion.h Thu Apr 21 12:52:58 2016 +0100 +++ b/genhdr/mpversion.h Sun Apr 24 21:57:21 2016 +0100 @@ -1,7 +1,8 @@ -#define MICROPY_GIT_TAG "hand-crafted" -#define MICROPY_GIT_HASH "hand-crafted" -#define MICROPY_BUILD_DATE __DATE__ +// This file was generated by py/makeversionhdr.py +#define MICROPY_GIT_TAG "v1.7-159-g91f2056" +#define MICROPY_GIT_HASH "91f2056" +#define MICROPY_BUILD_DATE "2016-04-24" #define MICROPY_VERSION_MAJOR (1) #define MICROPY_VERSION_MINOR (7) -#define MICROPY_VERSION_MICRO (3) -#define MICROPY_VERSION_STRING "1.7.3" +#define MICROPY_VERSION_MICRO (0) +#define MICROPY_VERSION_STRING "1.7.0"
--- a/genhdr/qstrdefs.generated.h Thu Apr 21 12:52:58 2016 +0100
+++ b/genhdr/qstrdefs.generated.h Sun Apr 24 21:57:21 2016 +0100
@@ -1,231 +1,3036 @@
-// This file was automatically generated by makeqstrdata.py
-
-QDEF(MP_QSTR_NULL, (const byte*)"\x00\x00\x00" "")
+// Generated by QstrParser
+QDEF(MP_QSTR_NULL, (const byte *)"\x00\x00\x00" "")
QDEF(MP_QSTR_, (const byte*)"\x05\x15\x00" "")
-QDEF(MP_QSTR__star_, (const byte*)"\x8f\xb5\x01" "*")
-QDEF(MP_QSTR__, (const byte*)"\xfa\xb5\x01" "_")
-QDEF(MP_QSTR__percent__hash_o, (const byte*)"\x6c\x1a\x03" "%#o")
-QDEF(MP_QSTR__percent__hash_x, (const byte*)"\x7b\x1a\x03" "%#x")
-QDEF(MP_QSTR__brace_open__colon__hash_b_brace_close_, (const byte*)"\x58\x37\x05" "{:#b}")
-QDEF(MP_QSTR__0x0a_, (const byte*)"\xaf\xb5\x01" "\x0a")
-QDEF(MP_QSTR_maximum_space_recursion_space_depth_space_exceeded, (const byte*)"\x73\x1e\x20" "maximum recursion depth exceeded")
-QDEF(MP_QSTR__lt_module_gt_, (const byte*)"\xbd\x94\x08" "<module>")
-QDEF(MP_QSTR__lt_lambda_gt_, (const byte*)"\x80\x8c\x08" "<lambda>")
-QDEF(MP_QSTR__lt_listcomp_gt_, (const byte*)"\xd4\x15\x0a" "<listcomp>")
-QDEF(MP_QSTR__lt_dictcomp_gt_, (const byte*)"\xcc\x8d\x0a" "<dictcomp>")
-QDEF(MP_QSTR__lt_setcomp_gt_, (const byte*)"\x54\x51\x09" "<setcomp>")
-QDEF(MP_QSTR__lt_genexpr_gt_, (const byte*)"\x34\x6a\x09" "<genexpr>")
-QDEF(MP_QSTR__lt_string_gt_, (const byte*)"\x52\x53\x08" "<string>")
-QDEF(MP_QSTR__lt_stdin_gt_, (const byte*)"\xe3\x63\x07" "<stdin>")
-QDEF(MP_QSTR_utf_hyphen_8, (const byte*)"\xb7\x82\x05" "utf-8")
-QDEF(MP_QSTR___locals__, (const byte*)"\x7b\x6a\x0a" "__locals__")
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_A0, (const byte*)"\x54\x72\x02" "A0")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_A0, (const byte*)"\x54\x72\x02" "A0")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_A0, (const byte*)"\x54\x72\x02" "A0")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_A0, (const byte*)"\x54\x72\x02" "A0")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_A1, (const byte*)"\x55\x72\x02" "A1")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_A1, (const byte*)"\x55\x72\x02" "A1")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_A1, (const byte*)"\x55\x72\x02" "A1")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_A1, (const byte*)"\x55\x72\x02" "A1")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_A2, (const byte*)"\x56\x72\x02" "A2")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_A2, (const byte*)"\x56\x72\x02" "A2")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_A2, (const byte*)"\x56\x72\x02" "A2")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_A2, (const byte*)"\x56\x72\x02" "A2")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_A3, (const byte*)"\x57\x72\x02" "A3")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_A3, (const byte*)"\x57\x72\x02" "A3")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_A3, (const byte*)"\x57\x72\x02" "A3")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_A3, (const byte*)"\x57\x72\x02" "A3")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_A4, (const byte*)"\x50\x72\x02" "A4")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_A4, (const byte*)"\x50\x72\x02" "A4")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_A4, (const byte*)"\x50\x72\x02" "A4")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_A4, (const byte*)"\x50\x72\x02" "A4")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_A5, (const byte*)"\x51\x72\x02" "A5")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_A5, (const byte*)"\x51\x72\x02" "A5")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_A5, (const byte*)"\x51\x72\x02" "A5")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_A5, (const byte*)"\x51\x72\x02" "A5")
+#endif
+QDEF(MP_QSTR_ArithmeticError, (const byte*)"\x2d\x8c\x0f" "ArithmeticError")
+QDEF(MP_QSTR_AssertionError, (const byte*)"\x97\x5a\x0e" "AssertionError")
+QDEF(MP_QSTR_AttributeError, (const byte*)"\x21\xde\x0e" "AttributeError")
+QDEF(MP_QSTR_BaseException, (const byte*)"\x07\x92\x0d" "BaseException")
QDEF(MP_QSTR_BufferError, (const byte*)"\x1d\x59\x0b" "BufferError")
+#if (MICROPY_PY_IO) && (MICROPY_PY_IO_BUFFEREDWRITER)
+QDEF(MP_QSTR_BufferedWriter, (const byte*)"\xeb\x2c\x0e" "BufferedWriter")
+#elif (MICROPY_PY_IO) && (MICROPY_PY_IO_BUFFEREDWRITER)
+QDEF(MP_QSTR_BufferedWriter, (const byte*)"\xeb\x2c\x0e" "BufferedWriter")
+#endif
+#if (MICROPY_PY_IO) && (MICROPY_PY_IO_BYTESIO)
+QDEF(MP_QSTR_BytesIO, (const byte*)"\x1a\xb7\x07" "BytesIO")
+#elif (MICROPY_PY_IO) && (MICROPY_PY_IO_BYTESIO)
+QDEF(MP_QSTR_BytesIO, (const byte*)"\x1a\xb7\x07" "BytesIO")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D0, (const byte*)"\x31\x72\x02" "D0")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D0, (const byte*)"\x31\x72\x02" "D0")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D0, (const byte*)"\x31\x72\x02" "D0")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D0, (const byte*)"\x31\x72\x02" "D0")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D1, (const byte*)"\x30\x72\x02" "D1")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D1, (const byte*)"\x30\x72\x02" "D1")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D1, (const byte*)"\x30\x72\x02" "D1")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D1, (const byte*)"\x30\x72\x02" "D1")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D10, (const byte*)"\x00\xb8\x03" "D10")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D10, (const byte*)"\x00\xb8\x03" "D10")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D10, (const byte*)"\x00\xb8\x03" "D10")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D10, (const byte*)"\x00\xb8\x03" "D10")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D11, (const byte*)"\x01\xb8\x03" "D11")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D11, (const byte*)"\x01\xb8\x03" "D11")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D11, (const byte*)"\x01\xb8\x03" "D11")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D11, (const byte*)"\x01\xb8\x03" "D11")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D12, (const byte*)"\x02\xb8\x03" "D12")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D12, (const byte*)"\x02\xb8\x03" "D12")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D12, (const byte*)"\x02\xb8\x03" "D12")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D12, (const byte*)"\x02\xb8\x03" "D12")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D13, (const byte*)"\x03\xb8\x03" "D13")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D13, (const byte*)"\x03\xb8\x03" "D13")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D13, (const byte*)"\x03\xb8\x03" "D13")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D13, (const byte*)"\x03\xb8\x03" "D13")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D14, (const byte*)"\x04\xb8\x03" "D14")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D14, (const byte*)"\x04\xb8\x03" "D14")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D14, (const byte*)"\x04\xb8\x03" "D14")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D14, (const byte*)"\x04\xb8\x03" "D14")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D15, (const byte*)"\x05\xb8\x03" "D15")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D15, (const byte*)"\x05\xb8\x03" "D15")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D15, (const byte*)"\x05\xb8\x03" "D15")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D15, (const byte*)"\x05\xb8\x03" "D15")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D2, (const byte*)"\x33\x72\x02" "D2")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D2, (const byte*)"\x33\x72\x02" "D2")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D2, (const byte*)"\x33\x72\x02" "D2")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D2, (const byte*)"\x33\x72\x02" "D2")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D3, (const byte*)"\x32\x72\x02" "D3")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D3, (const byte*)"\x32\x72\x02" "D3")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D3, (const byte*)"\x32\x72\x02" "D3")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D3, (const byte*)"\x32\x72\x02" "D3")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D4, (const byte*)"\x35\x72\x02" "D4")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D4, (const byte*)"\x35\x72\x02" "D4")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D4, (const byte*)"\x35\x72\x02" "D4")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D4, (const byte*)"\x35\x72\x02" "D4")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D5, (const byte*)"\x34\x72\x02" "D5")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D5, (const byte*)"\x34\x72\x02" "D5")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D5, (const byte*)"\x34\x72\x02" "D5")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D5, (const byte*)"\x34\x72\x02" "D5")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D6, (const byte*)"\x37\x72\x02" "D6")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D6, (const byte*)"\x37\x72\x02" "D6")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D6, (const byte*)"\x37\x72\x02" "D6")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D6, (const byte*)"\x37\x72\x02" "D6")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D7, (const byte*)"\x36\x72\x02" "D7")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D7, (const byte*)"\x36\x72\x02" "D7")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D7, (const byte*)"\x36\x72\x02" "D7")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D7, (const byte*)"\x36\x72\x02" "D7")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D8, (const byte*)"\x39\x72\x02" "D8")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D8, (const byte*)"\x39\x72\x02" "D8")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D8, (const byte*)"\x39\x72\x02" "D8")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D8, (const byte*)"\x39\x72\x02" "D8")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_D9, (const byte*)"\x38\x72\x02" "D9")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_D9, (const byte*)"\x38\x72\x02" "D9")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_D9, (const byte*)"\x38\x72\x02" "D9")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_D9, (const byte*)"\x38\x72\x02" "D9")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_DAC0_OUT, (const byte*)"\xc2\x01\x08" "DAC0_OUT")
+#endif
+#if (MICROPY_PY_MBED)
+QDEF(MP_QSTR_DigitalOut, (const byte*)"\x11\xcb\x0a" "DigitalOut")
+#elif (MICROPY_PY_MBED) && (MICROPY_MBED_DIGITALOUT)
+QDEF(MP_QSTR_DigitalOut, (const byte*)"\x11\xcb\x0a" "DigitalOut")
+#elif (MICROPY_PY_MBED) && (MICROPY_MBED_DIGITALOUT)
+QDEF(MP_QSTR_DigitalOut, (const byte*)"\x11\xcb\x0a" "DigitalOut")
+#endif
+QDEF(MP_QSTR_EOFError, (const byte*)"\x91\xbf\x08" "EOFError")
+QDEF(MP_QSTR_Ellipsis, (const byte*)"\xf0\xe0\x08" "Ellipsis")
+QDEF(MP_QSTR_Exception, (const byte*)"\xf2\x29\x09" "Exception")
QDEF(MP_QSTR_FileExistsError, (const byte*)"\x5b\x14\x0f" "FileExistsError")
+#if (MICROPY_PY_IO) && (MICROPY_PY_IO_FILEIO)
+QDEF(MP_QSTR_FileIO, (const byte*)"\xc5\x15\x06" "FileIO")
+#endif
QDEF(MP_QSTR_FileNotFoundError, (const byte*)"\x78\x89\x11" "FileNotFoundError")
QDEF(MP_QSTR_FloatingPointError, (const byte*)"\x01\x34\x12" "FloatingPointError")
-QDEF(MP_QSTR_UnboundLocalError, (const byte*)"\x99\x22\x11" "UnboundLocalError")
-QDEF(MP_QSTR_machine, (const byte*)"\x60\xab\x07" "machine")
-QDEF(MP_QSTR_reset, (const byte*)"\x10\xf4\x05" "reset")
-QDEF(MP_QSTR_mbed, (const byte*)"\x0b\xb5\x04" "mbed")
-QDEF(MP_QSTR_DigitalOut, (const byte*)"\x11\xcb\x0a" "DigitalOut")
-QDEF(MP_QSTR_write, (const byte*)"\x98\xa8\x05" "write")
+QDEF(MP_QSTR_GeneratorExit, (const byte*)"\x16\x62\x0d" "GeneratorExit")
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_I2C_SCL, (const byte*)"\x9e\x86\x07" "I2C_SCL")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_I2C_SCL, (const byte*)"\x9e\x86\x07" "I2C_SCL")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_I2C_SCL, (const byte*)"\x9e\x86\x07" "I2C_SCL")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_I2C_SCL, (const byte*)"\x9e\x86\x07" "I2C_SCL")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_I2C_SDA, (const byte*)"\x74\x87\x07" "I2C_SDA")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_I2C_SDA, (const byte*)"\x74\x87\x07" "I2C_SDA")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_I2C_SDA, (const byte*)"\x74\x87\x07" "I2C_SDA")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_I2C_SDA, (const byte*)"\x74\x87\x07" "I2C_SDA")
+#endif
+QDEF(MP_QSTR_ImportError, (const byte*)"\x20\x9c\x0b" "ImportError")
+QDEF(MP_QSTR_IndentationError, (const byte*)"\x5c\x20\x10" "IndentationError")
+QDEF(MP_QSTR_IndexError, (const byte*)"\x83\xad\x0a" "IndexError")
+QDEF(MP_QSTR_KeyError, (const byte*)"\xea\x00\x08" "KeyError")
+QDEF(MP_QSTR_KeyboardInterrupt, (const byte*)"\xaf\xe2\x11" "KeyboardInterrupt")
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_LED1, (const byte*)"\xb9\x6d\x04" "LED1")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_LED1, (const byte*)"\xb9\x6d\x04" "LED1")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768)) && (defined(MCB1700))
+QDEF(MP_QSTR_LED1, (const byte*)"\xb9\x6d\x04" "LED1")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768)) && (defined(MCB1700))
+QDEF(MP_QSTR_LED1, (const byte*)"\xb9\x6d\x04" "LED1")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_LED1, (const byte*)"\xb9\x6d\x04" "LED1")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_LED1, (const byte*)"\xb9\x6d\x04" "LED1")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_LED2, (const byte*)"\xba\x6d\x04" "LED2")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_LED2, (const byte*)"\xba\x6d\x04" "LED2")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768)) && (defined(MCB1700))
+QDEF(MP_QSTR_LED2, (const byte*)"\xba\x6d\x04" "LED2")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768)) && (defined(MCB1700))
+QDEF(MP_QSTR_LED2, (const byte*)"\xba\x6d\x04" "LED2")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_LED2, (const byte*)"\xba\x6d\x04" "LED2")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_LED3, (const byte*)"\xbb\x6d\x04" "LED3")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_LED3, (const byte*)"\xbb\x6d\x04" "LED3")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768)) && (defined(MCB1700))
+QDEF(MP_QSTR_LED3, (const byte*)"\xbb\x6d\x04" "LED3")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768)) && (defined(MCB1700))
+QDEF(MP_QSTR_LED3, (const byte*)"\xbb\x6d\x04" "LED3")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_LED3, (const byte*)"\xbb\x6d\x04" "LED3")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_LED4, (const byte*)"\xbc\x6d\x04" "LED4")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_LED4, (const byte*)"\xbc\x6d\x04" "LED4")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768)) && (defined(MCB1700))
+QDEF(MP_QSTR_LED4, (const byte*)"\xbc\x6d\x04" "LED4")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768)) && (defined(MCB1700))
+QDEF(MP_QSTR_LED4, (const byte*)"\xbc\x6d\x04" "LED4")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_LED4, (const byte*)"\xbc\x6d\x04" "LED4")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_LED_BLUE, (const byte*)"\x69\x98\x08" "LED_BLUE")
+#elif (defined(TARGET_K64F))
+QDEF(MP_QSTR_LED_BLUE, (const byte*)"\x69\x98\x08" "LED_BLUE")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_LED_BLUE, (const byte*)"\x69\x98\x08" "LED_BLUE")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_LED_GREEN, (const byte*)"\x4c\x68\x09" "LED_GREEN")
+#elif (defined(TARGET_K64F))
+QDEF(MP_QSTR_LED_GREEN, (const byte*)"\x4c\x68\x09" "LED_GREEN")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_LED_GREEN, (const byte*)"\x4c\x68\x09" "LED_GREEN")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_LED_RED, (const byte*)"\x84\xfd\x07" "LED_RED")
+#elif (defined(TARGET_K64F))
+QDEF(MP_QSTR_LED_RED, (const byte*)"\x84\xfd\x07" "LED_RED")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_LED_RED, (const byte*)"\x84\xfd\x07" "LED_RED")
+#endif
+QDEF(MP_QSTR_LookupError, (const byte*)"\xff\x69\x0b" "LookupError")
+QDEF(MP_QSTR_MemoryError, (const byte*)"\xdc\x83\x0b" "MemoryError")
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_NC, (const byte*)"\x08\x73\x02" "NC")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_NC, (const byte*)"\x08\x73\x02" "NC")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_NC, (const byte*)"\x08\x73\x02" "NC")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_NC, (const byte*)"\x08\x73\x02" "NC")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_NC, (const byte*)"\x08\x73\x02" "NC")
+#endif
+QDEF(MP_QSTR_NameError, (const byte*)"\xba\x2d\x09" "NameError")
+#if ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_None, (const byte*)"\x6f\xd1\x04" "None")
+#endif
+QDEF(MP_QSTR_NoneType, (const byte*)"\x17\x68\x08" "NoneType")
+#if (MICROPY_PY_BUILTINS_NOTIMPLEMENTED)
+QDEF(MP_QSTR_NotImplemented, (const byte*)"\x3e\xc6\x0e" "NotImplemented")
+#elif (MICROPY_PY_BUILTINS_NOTIMPLEMENTED)
+QDEF(MP_QSTR_NotImplemented, (const byte*)"\x3e\xc6\x0e" "NotImplemented")
+#endif
+QDEF(MP_QSTR_NotImplementedError, (const byte*)"\xc6\x98\x13" "NotImplementedError")
+QDEF(MP_QSTR_OSError, (const byte*)"\xa1\x65\x07" "OSError")
+#if (MICROPY_PY_COLLECTIONS) && (MICROPY_PY_COLLECTIONS_ORDEREDDICT)
+QDEF(MP_QSTR_OrderedDict, (const byte*)"\xf0\x7e\x0b" "OrderedDict")
+#elif (MICROPY_PY_COLLECTIONS_ORDEREDDICT)
+QDEF(MP_QSTR_OrderedDict, (const byte*)"\xf0\x7e\x0b" "OrderedDict")
+#endif
+QDEF(MP_QSTR_OverflowError, (const byte*)"\x81\xe1\x0d" "OverflowError")
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_0, (const byte*)"\x6a\x2c\x04" "P0_0")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_1, (const byte*)"\x6b\x2c\x04" "P0_1")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_10, (const byte*)"\xfb\xb9\x05" "P0_10")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_11, (const byte*)"\xfa\xb9\x05" "P0_11")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_12, (const byte*)"\xf9\xb9\x05" "P0_12")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_13, (const byte*)"\xf8\xb9\x05" "P0_13")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_14, (const byte*)"\xff\xb9\x05" "P0_14")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_15, (const byte*)"\xfe\xb9\x05" "P0_15")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_16, (const byte*)"\xfd\xb9\x05" "P0_16")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_17, (const byte*)"\xfc\xb9\x05" "P0_17")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_18, (const byte*)"\xf3\xb9\x05" "P0_18")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_19, (const byte*)"\xf2\xb9\x05" "P0_19")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_2, (const byte*)"\x68\x2c\x04" "P0_2")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_20, (const byte*)"\x58\xb9\x05" "P0_20")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_21, (const byte*)"\x59\xb9\x05" "P0_21")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_22, (const byte*)"\x5a\xb9\x05" "P0_22")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_23, (const byte*)"\x5b\xb9\x05" "P0_23")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_24, (const byte*)"\x5c\xb9\x05" "P0_24")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_25, (const byte*)"\x5d\xb9\x05" "P0_25")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_26, (const byte*)"\x5e\xb9\x05" "P0_26")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_27, (const byte*)"\x5f\xb9\x05" "P0_27")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_28, (const byte*)"\x50\xb9\x05" "P0_28")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_29, (const byte*)"\x51\xb9\x05" "P0_29")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_3, (const byte*)"\x69\x2c\x04" "P0_3")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_30, (const byte*)"\xb9\xb9\x05" "P0_30")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_31, (const byte*)"\xb8\xb9\x05" "P0_31")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_4, (const byte*)"\x6e\x2c\x04" "P0_4")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_5, (const byte*)"\x6f\x2c\x04" "P0_5")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_6, (const byte*)"\x6c\x2c\x04" "P0_6")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_7, (const byte*)"\x6d\x2c\x04" "P0_7")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_8, (const byte*)"\x62\x2c\x04" "P0_8")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P0_9, (const byte*)"\x63\x2c\x04" "P0_9")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_0, (const byte*)"\xeb\x38\x04" "P1_0")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_1, (const byte*)"\xea\x38\x04" "P1_1")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_10, (const byte*)"\x1a\x56\x05" "P1_10")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_11, (const byte*)"\x1b\x56\x05" "P1_11")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_12, (const byte*)"\x18\x56\x05" "P1_12")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_13, (const byte*)"\x19\x56\x05" "P1_13")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_14, (const byte*)"\x1e\x56\x05" "P1_14")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_15, (const byte*)"\x1f\x56\x05" "P1_15")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_16, (const byte*)"\x1c\x56\x05" "P1_16")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_17, (const byte*)"\x1d\x56\x05" "P1_17")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_18, (const byte*)"\x12\x56\x05" "P1_18")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_19, (const byte*)"\x13\x56\x05" "P1_19")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_2, (const byte*)"\xe9\x38\x04" "P1_2")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_20, (const byte*)"\x39\x56\x05" "P1_20")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_21, (const byte*)"\x38\x56\x05" "P1_21")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_22, (const byte*)"\x3b\x56\x05" "P1_22")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_23, (const byte*)"\x3a\x56\x05" "P1_23")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_24, (const byte*)"\x3d\x56\x05" "P1_24")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_25, (const byte*)"\x3c\x56\x05" "P1_25")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_26, (const byte*)"\x3f\x56\x05" "P1_26")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_27, (const byte*)"\x3e\x56\x05" "P1_27")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_28, (const byte*)"\x31\x56\x05" "P1_28")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_29, (const byte*)"\x30\x56\x05" "P1_29")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_3, (const byte*)"\xe8\x38\x04" "P1_3")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_30, (const byte*)"\xd8\x55\x05" "P1_30")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_31, (const byte*)"\xd9\x55\x05" "P1_31")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_4, (const byte*)"\xef\x38\x04" "P1_4")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_5, (const byte*)"\xee\x38\x04" "P1_5")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_6, (const byte*)"\xed\x38\x04" "P1_6")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_7, (const byte*)"\xec\x38\x04" "P1_7")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_8, (const byte*)"\xe3\x38\x04" "P1_8")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P1_9, (const byte*)"\xe2\x38\x04" "P1_9")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_0, (const byte*)"\xe8\x44\x04" "P2_0")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_1, (const byte*)"\xe9\x44\x04" "P2_1")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_10, (const byte*)"\x39\xe2\x05" "P2_10")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_11, (const byte*)"\x38\xe2\x05" "P2_11")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_12, (const byte*)"\x3b\xe2\x05" "P2_12")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_13, (const byte*)"\x3a\xe2\x05" "P2_13")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_14, (const byte*)"\x3d\xe2\x05" "P2_14")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_15, (const byte*)"\x3c\xe2\x05" "P2_15")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_16, (const byte*)"\x3f\xe2\x05" "P2_16")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_17, (const byte*)"\x3e\xe2\x05" "P2_17")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_18, (const byte*)"\x31\xe2\x05" "P2_18")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_19, (const byte*)"\x30\xe2\x05" "P2_19")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_2, (const byte*)"\xea\x44\x04" "P2_2")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_20, (const byte*)"\x1a\xe2\x05" "P2_20")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_21, (const byte*)"\x1b\xe2\x05" "P2_21")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_22, (const byte*)"\x18\xe2\x05" "P2_22")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_23, (const byte*)"\x19\xe2\x05" "P2_23")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_24, (const byte*)"\x1e\xe2\x05" "P2_24")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_25, (const byte*)"\x1f\xe2\x05" "P2_25")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_26, (const byte*)"\x1c\xe2\x05" "P2_26")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_27, (const byte*)"\x1d\xe2\x05" "P2_27")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_28, (const byte*)"\x12\xe2\x05" "P2_28")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_29, (const byte*)"\x13\xe2\x05" "P2_29")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_3, (const byte*)"\xeb\x44\x04" "P2_3")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_30, (const byte*)"\x7b\xe2\x05" "P2_30")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_31, (const byte*)"\x7a\xe2\x05" "P2_31")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_4, (const byte*)"\xec\x44\x04" "P2_4")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_5, (const byte*)"\xed\x44\x04" "P2_5")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_6, (const byte*)"\xee\x44\x04" "P2_6")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_7, (const byte*)"\xef\x44\x04" "P2_7")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_8, (const byte*)"\xe0\x44\x04" "P2_8")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P2_9, (const byte*)"\xe1\x44\x04" "P2_9")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_0, (const byte*)"\x69\x30\x04" "P3_0")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_1, (const byte*)"\x68\x30\x04" "P3_1")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_10, (const byte*)"\x58\x3d\x05" "P3_10")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_11, (const byte*)"\x59\x3d\x05" "P3_11")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_12, (const byte*)"\x5a\x3d\x05" "P3_12")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_13, (const byte*)"\x5b\x3d\x05" "P3_13")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_14, (const byte*)"\x5c\x3d\x05" "P3_14")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_15, (const byte*)"\x5d\x3d\x05" "P3_15")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_16, (const byte*)"\x5e\x3d\x05" "P3_16")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_17, (const byte*)"\x5f\x3d\x05" "P3_17")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_18, (const byte*)"\x50\x3d\x05" "P3_18")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_19, (const byte*)"\x51\x3d\x05" "P3_19")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_2, (const byte*)"\x6b\x30\x04" "P3_2")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_20, (const byte*)"\xfb\x3d\x05" "P3_20")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_21, (const byte*)"\xfa\x3d\x05" "P3_21")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_22, (const byte*)"\xf9\x3d\x05" "P3_22")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_23, (const byte*)"\xf8\x3d\x05" "P3_23")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_24, (const byte*)"\xff\x3d\x05" "P3_24")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_25, (const byte*)"\xfe\x3d\x05" "P3_25")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_26, (const byte*)"\xfd\x3d\x05" "P3_26")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_27, (const byte*)"\xfc\x3d\x05" "P3_27")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_28, (const byte*)"\xf3\x3d\x05" "P3_28")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_29, (const byte*)"\xf2\x3d\x05" "P3_29")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_3, (const byte*)"\x6a\x30\x04" "P3_3")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_30, (const byte*)"\x9a\x3d\x05" "P3_30")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_31, (const byte*)"\x9b\x3d\x05" "P3_31")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_4, (const byte*)"\x6d\x30\x04" "P3_4")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_5, (const byte*)"\x6c\x30\x04" "P3_5")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_6, (const byte*)"\x6f\x30\x04" "P3_6")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_7, (const byte*)"\x6e\x30\x04" "P3_7")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_8, (const byte*)"\x61\x30\x04" "P3_8")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P3_9, (const byte*)"\x60\x30\x04" "P3_9")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_0, (const byte*)"\x6e\x1c\x04" "P4_0")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_1, (const byte*)"\x6f\x1c\x04" "P4_1")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_10, (const byte*)"\x7f\xaa\x05" "P4_10")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_11, (const byte*)"\x7e\xaa\x05" "P4_11")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_12, (const byte*)"\x7d\xaa\x05" "P4_12")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_13, (const byte*)"\x7c\xaa\x05" "P4_13")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_14, (const byte*)"\x7b\xaa\x05" "P4_14")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_15, (const byte*)"\x7a\xaa\x05" "P4_15")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_16, (const byte*)"\x79\xaa\x05" "P4_16")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_17, (const byte*)"\x78\xaa\x05" "P4_17")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_18, (const byte*)"\x77\xaa\x05" "P4_18")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_19, (const byte*)"\x76\xaa\x05" "P4_19")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_2, (const byte*)"\x6c\x1c\x04" "P4_2")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_20, (const byte*)"\xdc\xa9\x05" "P4_20")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_21, (const byte*)"\xdd\xa9\x05" "P4_21")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_22, (const byte*)"\xde\xa9\x05" "P4_22")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_23, (const byte*)"\xdf\xa9\x05" "P4_23")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_24, (const byte*)"\xd8\xa9\x05" "P4_24")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_25, (const byte*)"\xd9\xa9\x05" "P4_25")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_26, (const byte*)"\xda\xa9\x05" "P4_26")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_27, (const byte*)"\xdb\xa9\x05" "P4_27")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_28, (const byte*)"\xd4\xa9\x05" "P4_28")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_29, (const byte*)"\xd5\xa9\x05" "P4_29")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_3, (const byte*)"\x6d\x1c\x04" "P4_3")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_30, (const byte*)"\x3d\xaa\x05" "P4_30")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_31, (const byte*)"\x3c\xaa\x05" "P4_31")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_4, (const byte*)"\x6a\x1c\x04" "P4_4")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_5, (const byte*)"\x6b\x1c\x04" "P4_5")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_6, (const byte*)"\x68\x1c\x04" "P4_6")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_7, (const byte*)"\x69\x1c\x04" "P4_7")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_8, (const byte*)"\x66\x1c\x04" "P4_8")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_P4_9, (const byte*)"\x67\x1c\x04" "P4_9")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_0, (const byte*)"\x5b\xf0\x04" "PA_0")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_1, (const byte*)"\x5a\xf0\x04" "PA_1")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_10, (const byte*)"\xaa\xfb\x05" "PA_10")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_11, (const byte*)"\xab\xfb\x05" "PA_11")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_12, (const byte*)"\xa8\xfb\x05" "PA_12")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_13, (const byte*)"\xa9\xfb\x05" "PA_13")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_14, (const byte*)"\xae\xfb\x05" "PA_14")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_15, (const byte*)"\xaf\xfb\x05" "PA_15")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_2, (const byte*)"\x59\xf0\x04" "PA_2")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_3, (const byte*)"\x58\xf0\x04" "PA_3")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_4, (const byte*)"\x5f\xf0\x04" "PA_4")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_5, (const byte*)"\x5e\xf0\x04" "PA_5")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_6, (const byte*)"\x5d\xf0\x04" "PA_6")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_7, (const byte*)"\x5c\xf0\x04" "PA_7")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_8, (const byte*)"\x53\xf0\x04" "PA_8")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PA_9, (const byte*)"\x52\xf0\x04" "PA_9")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_0, (const byte*)"\xd8\x0c\x04" "PB_0")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_1, (const byte*)"\xd9\x0c\x04" "PB_1")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_10, (const byte*)"\xc9\xa7\x05" "PB_10")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_12, (const byte*)"\xcb\xa7\x05" "PB_12")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_13, (const byte*)"\xca\xa7\x05" "PB_13")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_14, (const byte*)"\xcd\xa7\x05" "PB_14")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_15, (const byte*)"\xcc\xa7\x05" "PB_15")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_2, (const byte*)"\xda\x0c\x04" "PB_2")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_3, (const byte*)"\xdb\x0c\x04" "PB_3")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_4, (const byte*)"\xdc\x0c\x04" "PB_4")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_5, (const byte*)"\xdd\x0c\x04" "PB_5")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_6, (const byte*)"\xde\x0c\x04" "PB_6")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_7, (const byte*)"\xdf\x0c\x04" "PB_7")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_8, (const byte*)"\xd0\x0c\x04" "PB_8")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PB_9, (const byte*)"\xd1\x0c\x04" "PB_9")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_0, (const byte*)"\xd9\x08\x04" "PC_0")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_1, (const byte*)"\xd8\x08\x04" "PC_1")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_10, (const byte*)"\xe8\x23\x05" "PC_10")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_11, (const byte*)"\xe9\x23\x05" "PC_11")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_12, (const byte*)"\xea\x23\x05" "PC_12")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_13, (const byte*)"\xeb\x23\x05" "PC_13")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_14, (const byte*)"\xec\x23\x05" "PC_14")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_15, (const byte*)"\xed\x23\x05" "PC_15")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_2, (const byte*)"\xdb\x08\x04" "PC_2")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_3, (const byte*)"\xda\x08\x04" "PC_3")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_4, (const byte*)"\xdd\x08\x04" "PC_4")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_5, (const byte*)"\xdc\x08\x04" "PC_5")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_6, (const byte*)"\xdf\x08\x04" "PC_6")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_7, (const byte*)"\xde\x08\x04" "PC_7")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_8, (const byte*)"\xd1\x08\x04" "PC_8")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PC_9, (const byte*)"\xd0\x08\x04" "PC_9")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PD_2, (const byte*)"\x5c\xe4\x04" "PD_2")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PH_0, (const byte*)"\x52\x14\x04" "PH_0")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PH_1, (const byte*)"\x53\x14\x04" "PH_1")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA0, (const byte*)"\x90\xa0\x04" "PTA0")
+#elif (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA0, (const byte*)"\x90\xa0\x04" "PTA0")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA0, (const byte*)"\x90\xa0\x04" "PTA0")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA1, (const byte*)"\x91\xa0\x04" "PTA1")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA1, (const byte*)"\x91\xa0\x04" "PTA1")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA10, (const byte*)"\x81\xb2\x05" "PTA10")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA10, (const byte*)"\x81\xb2\x05" "PTA10")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA11, (const byte*)"\x80\xb2\x05" "PTA11")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA11, (const byte*)"\x80\xb2\x05" "PTA11")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA12, (const byte*)"\x83\xb2\x05" "PTA12")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA12, (const byte*)"\x83\xb2\x05" "PTA12")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA13, (const byte*)"\x82\xb2\x05" "PTA13")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA13, (const byte*)"\x82\xb2\x05" "PTA13")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA14, (const byte*)"\x85\xb2\x05" "PTA14")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA14, (const byte*)"\x85\xb2\x05" "PTA14")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA15, (const byte*)"\x84\xb2\x05" "PTA15")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA15, (const byte*)"\x84\xb2\x05" "PTA15")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA16, (const byte*)"\x87\xb2\x05" "PTA16")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA16, (const byte*)"\x87\xb2\x05" "PTA16")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA17, (const byte*)"\x86\xb2\x05" "PTA17")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA17, (const byte*)"\x86\xb2\x05" "PTA17")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA18, (const byte*)"\x89\xb2\x05" "PTA18")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA18, (const byte*)"\x89\xb2\x05" "PTA18")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA19, (const byte*)"\x88\xb2\x05" "PTA19")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA19, (const byte*)"\x88\xb2\x05" "PTA19")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA2, (const byte*)"\x92\xa0\x04" "PTA2")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA2, (const byte*)"\x92\xa0\x04" "PTA2")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA20, (const byte*)"\xe2\xb2\x05" "PTA20")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA20, (const byte*)"\xe2\xb2\x05" "PTA20")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA21, (const byte*)"\xe3\xb2\x05" "PTA21")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA21, (const byte*)"\xe3\xb2\x05" "PTA21")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA22, (const byte*)"\xe0\xb2\x05" "PTA22")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA22, (const byte*)"\xe0\xb2\x05" "PTA22")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA23, (const byte*)"\xe1\xb2\x05" "PTA23")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA23, (const byte*)"\xe1\xb2\x05" "PTA23")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA24, (const byte*)"\xe6\xb2\x05" "PTA24")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA24, (const byte*)"\xe6\xb2\x05" "PTA24")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA25, (const byte*)"\xe7\xb2\x05" "PTA25")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA25, (const byte*)"\xe7\xb2\x05" "PTA25")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA26, (const byte*)"\xe4\xb2\x05" "PTA26")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA26, (const byte*)"\xe4\xb2\x05" "PTA26")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA27, (const byte*)"\xe5\xb2\x05" "PTA27")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA27, (const byte*)"\xe5\xb2\x05" "PTA27")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA28, (const byte*)"\xea\xb2\x05" "PTA28")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA28, (const byte*)"\xea\xb2\x05" "PTA28")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA29, (const byte*)"\xeb\xb2\x05" "PTA29")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA29, (const byte*)"\xeb\xb2\x05" "PTA29")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA3, (const byte*)"\x93\xa0\x04" "PTA3")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA3, (const byte*)"\x93\xa0\x04" "PTA3")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA30, (const byte*)"\xc3\xb2\x05" "PTA30")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA30, (const byte*)"\xc3\xb2\x05" "PTA30")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA31, (const byte*)"\xc2\xb2\x05" "PTA31")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA31, (const byte*)"\xc2\xb2\x05" "PTA31")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA4, (const byte*)"\x94\xa0\x04" "PTA4")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA4, (const byte*)"\x94\xa0\x04" "PTA4")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA5, (const byte*)"\x95\xa0\x04" "PTA5")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA5, (const byte*)"\x95\xa0\x04" "PTA5")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA6, (const byte*)"\x96\xa0\x04" "PTA6")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA6, (const byte*)"\x96\xa0\x04" "PTA6")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA7, (const byte*)"\x97\xa0\x04" "PTA7")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA7, (const byte*)"\x97\xa0\x04" "PTA7")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA8, (const byte*)"\x98\xa0\x04" "PTA8")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA8, (const byte*)"\x98\xa0\x04" "PTA8")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTA9, (const byte*)"\x99\xa0\x04" "PTA9")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTA9, (const byte*)"\x99\xa0\x04" "PTA9")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB0, (const byte*)"\x33\xa1\x04" "PTB0")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB0, (const byte*)"\x33\xa1\x04" "PTB0")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB1, (const byte*)"\x32\xa1\x04" "PTB1")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB1, (const byte*)"\x32\xa1\x04" "PTB1")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB10, (const byte*)"\x42\xc7\x05" "PTB10")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB10, (const byte*)"\x42\xc7\x05" "PTB10")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB11, (const byte*)"\x43\xc7\x05" "PTB11")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB11, (const byte*)"\x43\xc7\x05" "PTB11")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB12, (const byte*)"\x40\xc7\x05" "PTB12")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB12, (const byte*)"\x40\xc7\x05" "PTB12")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB13, (const byte*)"\x41\xc7\x05" "PTB13")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB13, (const byte*)"\x41\xc7\x05" "PTB13")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB14, (const byte*)"\x46\xc7\x05" "PTB14")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB14, (const byte*)"\x46\xc7\x05" "PTB14")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB15, (const byte*)"\x47\xc7\x05" "PTB15")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB15, (const byte*)"\x47\xc7\x05" "PTB15")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB16, (const byte*)"\x44\xc7\x05" "PTB16")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB16, (const byte*)"\x44\xc7\x05" "PTB16")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB17, (const byte*)"\x45\xc7\x05" "PTB17")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB17, (const byte*)"\x45\xc7\x05" "PTB17")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB18, (const byte*)"\x4a\xc7\x05" "PTB18")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB18, (const byte*)"\x4a\xc7\x05" "PTB18")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB19, (const byte*)"\x4b\xc7\x05" "PTB19")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB19, (const byte*)"\x4b\xc7\x05" "PTB19")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB2, (const byte*)"\x31\xa1\x04" "PTB2")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB2, (const byte*)"\x31\xa1\x04" "PTB2")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB20, (const byte*)"\x61\xc7\x05" "PTB20")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB20, (const byte*)"\x61\xc7\x05" "PTB20")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB21, (const byte*)"\x60\xc7\x05" "PTB21")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB21, (const byte*)"\x60\xc7\x05" "PTB21")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB22, (const byte*)"\x63\xc7\x05" "PTB22")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB22, (const byte*)"\x63\xc7\x05" "PTB22")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB23, (const byte*)"\x62\xc7\x05" "PTB23")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB23, (const byte*)"\x62\xc7\x05" "PTB23")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB24, (const byte*)"\x65\xc7\x05" "PTB24")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB24, (const byte*)"\x65\xc7\x05" "PTB24")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB25, (const byte*)"\x64\xc7\x05" "PTB25")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB25, (const byte*)"\x64\xc7\x05" "PTB25")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB26, (const byte*)"\x67\xc7\x05" "PTB26")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB26, (const byte*)"\x67\xc7\x05" "PTB26")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB27, (const byte*)"\x66\xc7\x05" "PTB27")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB27, (const byte*)"\x66\xc7\x05" "PTB27")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB28, (const byte*)"\x69\xc7\x05" "PTB28")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB28, (const byte*)"\x69\xc7\x05" "PTB28")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB29, (const byte*)"\x68\xc7\x05" "PTB29")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB29, (const byte*)"\x68\xc7\x05" "PTB29")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB3, (const byte*)"\x30\xa1\x04" "PTB3")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB3, (const byte*)"\x30\xa1\x04" "PTB3")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB30, (const byte*)"\x00\xc7\x05" "PTB30")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB30, (const byte*)"\x00\xc7\x05" "PTB30")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB31, (const byte*)"\x01\xc7\x05" "PTB31")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB31, (const byte*)"\x01\xc7\x05" "PTB31")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB4, (const byte*)"\x37\xa1\x04" "PTB4")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB4, (const byte*)"\x37\xa1\x04" "PTB4")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB5, (const byte*)"\x36\xa1\x04" "PTB5")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB5, (const byte*)"\x36\xa1\x04" "PTB5")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB6, (const byte*)"\x35\xa1\x04" "PTB6")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB6, (const byte*)"\x35\xa1\x04" "PTB6")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB7, (const byte*)"\x34\xa1\x04" "PTB7")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB7, (const byte*)"\x34\xa1\x04" "PTB7")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB8, (const byte*)"\x3b\xa1\x04" "PTB8")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB8, (const byte*)"\x3b\xa1\x04" "PTB8")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTB9, (const byte*)"\x3a\xa1\x04" "PTB9")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTB9, (const byte*)"\x3a\xa1\x04" "PTB9")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC0, (const byte*)"\xd2\xa0\x04" "PTC0")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC0, (const byte*)"\xd2\xa0\x04" "PTC0")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC1, (const byte*)"\xd3\xa0\x04" "PTC1")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC1, (const byte*)"\xd3\xa0\x04" "PTC1")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC10, (const byte*)"\x03\xbb\x05" "PTC10")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC10, (const byte*)"\x03\xbb\x05" "PTC10")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC11, (const byte*)"\x02\xbb\x05" "PTC11")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC11, (const byte*)"\x02\xbb\x05" "PTC11")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC12, (const byte*)"\x01\xbb\x05" "PTC12")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC12, (const byte*)"\x01\xbb\x05" "PTC12")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC13, (const byte*)"\x00\xbb\x05" "PTC13")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC13, (const byte*)"\x00\xbb\x05" "PTC13")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC14, (const byte*)"\x07\xbb\x05" "PTC14")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC14, (const byte*)"\x07\xbb\x05" "PTC14")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC15, (const byte*)"\x06\xbb\x05" "PTC15")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC15, (const byte*)"\x06\xbb\x05" "PTC15")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC16, (const byte*)"\x05\xbb\x05" "PTC16")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC16, (const byte*)"\x05\xbb\x05" "PTC16")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC17, (const byte*)"\x04\xbb\x05" "PTC17")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC17, (const byte*)"\x04\xbb\x05" "PTC17")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC18, (const byte*)"\x0b\xbb\x05" "PTC18")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC18, (const byte*)"\x0b\xbb\x05" "PTC18")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC19, (const byte*)"\x0a\xbb\x05" "PTC19")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC19, (const byte*)"\x0a\xbb\x05" "PTC19")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC2, (const byte*)"\xd0\xa0\x04" "PTC2")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC2, (const byte*)"\xd0\xa0\x04" "PTC2")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC20, (const byte*)"\xe0\xba\x05" "PTC20")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC20, (const byte*)"\xe0\xba\x05" "PTC20")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC21, (const byte*)"\xe1\xba\x05" "PTC21")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC21, (const byte*)"\xe1\xba\x05" "PTC21")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC22, (const byte*)"\xe2\xba\x05" "PTC22")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC22, (const byte*)"\xe2\xba\x05" "PTC22")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC23, (const byte*)"\xe3\xba\x05" "PTC23")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC23, (const byte*)"\xe3\xba\x05" "PTC23")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC24, (const byte*)"\xe4\xba\x05" "PTC24")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC24, (const byte*)"\xe4\xba\x05" "PTC24")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC25, (const byte*)"\xe5\xba\x05" "PTC25")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC25, (const byte*)"\xe5\xba\x05" "PTC25")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC26, (const byte*)"\xe6\xba\x05" "PTC26")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC26, (const byte*)"\xe6\xba\x05" "PTC26")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC27, (const byte*)"\xe7\xba\x05" "PTC27")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC27, (const byte*)"\xe7\xba\x05" "PTC27")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC28, (const byte*)"\xe8\xba\x05" "PTC28")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC28, (const byte*)"\xe8\xba\x05" "PTC28")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC29, (const byte*)"\xe9\xba\x05" "PTC29")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC29, (const byte*)"\xe9\xba\x05" "PTC29")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC3, (const byte*)"\xd1\xa0\x04" "PTC3")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC3, (const byte*)"\xd1\xa0\x04" "PTC3")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC30, (const byte*)"\xc1\xba\x05" "PTC30")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC30, (const byte*)"\xc1\xba\x05" "PTC30")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC31, (const byte*)"\xc0\xba\x05" "PTC31")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC31, (const byte*)"\xc0\xba\x05" "PTC31")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC4, (const byte*)"\xd6\xa0\x04" "PTC4")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC4, (const byte*)"\xd6\xa0\x04" "PTC4")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC5, (const byte*)"\xd7\xa0\x04" "PTC5")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC5, (const byte*)"\xd7\xa0\x04" "PTC5")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC6, (const byte*)"\xd4\xa0\x04" "PTC6")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC6, (const byte*)"\xd4\xa0\x04" "PTC6")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC7, (const byte*)"\xd5\xa0\x04" "PTC7")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC7, (const byte*)"\xd5\xa0\x04" "PTC7")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC8, (const byte*)"\xda\xa0\x04" "PTC8")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC8, (const byte*)"\xda\xa0\x04" "PTC8")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTC9, (const byte*)"\xdb\xa0\x04" "PTC9")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTC9, (const byte*)"\xdb\xa0\x04" "PTC9")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD0, (const byte*)"\x75\xa1\x04" "PTD0")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD0, (const byte*)"\x75\xa1\x04" "PTD0")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD1, (const byte*)"\x74\xa1\x04" "PTD1")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD1, (const byte*)"\x74\xa1\x04" "PTD1")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD10, (const byte*)"\xc4\xcf\x05" "PTD10")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD10, (const byte*)"\xc4\xcf\x05" "PTD10")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD11, (const byte*)"\xc5\xcf\x05" "PTD11")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD11, (const byte*)"\xc5\xcf\x05" "PTD11")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD12, (const byte*)"\xc6\xcf\x05" "PTD12")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD12, (const byte*)"\xc6\xcf\x05" "PTD12")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD13, (const byte*)"\xc7\xcf\x05" "PTD13")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD13, (const byte*)"\xc7\xcf\x05" "PTD13")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD14, (const byte*)"\xc0\xcf\x05" "PTD14")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD14, (const byte*)"\xc0\xcf\x05" "PTD14")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD15, (const byte*)"\xc1\xcf\x05" "PTD15")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD15, (const byte*)"\xc1\xcf\x05" "PTD15")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD16, (const byte*)"\xc2\xcf\x05" "PTD16")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD16, (const byte*)"\xc2\xcf\x05" "PTD16")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD17, (const byte*)"\xc3\xcf\x05" "PTD17")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD17, (const byte*)"\xc3\xcf\x05" "PTD17")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD18, (const byte*)"\xcc\xcf\x05" "PTD18")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD18, (const byte*)"\xcc\xcf\x05" "PTD18")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD19, (const byte*)"\xcd\xcf\x05" "PTD19")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD19, (const byte*)"\xcd\xcf\x05" "PTD19")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD2, (const byte*)"\x77\xa1\x04" "PTD2")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD2, (const byte*)"\x77\xa1\x04" "PTD2")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD20, (const byte*)"\x67\xd0\x05" "PTD20")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD20, (const byte*)"\x67\xd0\x05" "PTD20")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD21, (const byte*)"\x66\xd0\x05" "PTD21")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD21, (const byte*)"\x66\xd0\x05" "PTD21")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD22, (const byte*)"\x65\xd0\x05" "PTD22")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD22, (const byte*)"\x65\xd0\x05" "PTD22")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD23, (const byte*)"\x64\xd0\x05" "PTD23")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD23, (const byte*)"\x64\xd0\x05" "PTD23")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD24, (const byte*)"\x63\xd0\x05" "PTD24")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD24, (const byte*)"\x63\xd0\x05" "PTD24")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD25, (const byte*)"\x62\xd0\x05" "PTD25")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD25, (const byte*)"\x62\xd0\x05" "PTD25")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD26, (const byte*)"\x61\xd0\x05" "PTD26")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD26, (const byte*)"\x61\xd0\x05" "PTD26")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD27, (const byte*)"\x60\xd0\x05" "PTD27")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD27, (const byte*)"\x60\xd0\x05" "PTD27")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD28, (const byte*)"\x6f\xd0\x05" "PTD28")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD28, (const byte*)"\x6f\xd0\x05" "PTD28")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD29, (const byte*)"\x6e\xd0\x05" "PTD29")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD29, (const byte*)"\x6e\xd0\x05" "PTD29")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD3, (const byte*)"\x76\xa1\x04" "PTD3")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD3, (const byte*)"\x76\xa1\x04" "PTD3")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD30, (const byte*)"\x06\xd0\x05" "PTD30")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD30, (const byte*)"\x06\xd0\x05" "PTD30")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD31, (const byte*)"\x07\xd0\x05" "PTD31")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD31, (const byte*)"\x07\xd0\x05" "PTD31")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD4, (const byte*)"\x71\xa1\x04" "PTD4")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD4, (const byte*)"\x71\xa1\x04" "PTD4")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD5, (const byte*)"\x70\xa1\x04" "PTD5")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD5, (const byte*)"\x70\xa1\x04" "PTD5")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD6, (const byte*)"\x73\xa1\x04" "PTD6")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD6, (const byte*)"\x73\xa1\x04" "PTD6")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD7, (const byte*)"\x72\xa1\x04" "PTD7")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD7, (const byte*)"\x72\xa1\x04" "PTD7")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD8, (const byte*)"\x7d\xa1\x04" "PTD8")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD8, (const byte*)"\x7d\xa1\x04" "PTD8")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTD9, (const byte*)"\x7c\xa1\x04" "PTD9")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTD9, (const byte*)"\x7c\xa1\x04" "PTD9")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE0, (const byte*)"\x14\xa1\x04" "PTE0")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE0, (const byte*)"\x14\xa1\x04" "PTE0")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE1, (const byte*)"\x15\xa1\x04" "PTE1")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE1, (const byte*)"\x15\xa1\x04" "PTE1")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE10, (const byte*)"\x85\xc3\x05" "PTE10")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE10, (const byte*)"\x85\xc3\x05" "PTE10")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE11, (const byte*)"\x84\xc3\x05" "PTE11")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE11, (const byte*)"\x84\xc3\x05" "PTE11")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE12, (const byte*)"\x87\xc3\x05" "PTE12")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE12, (const byte*)"\x87\xc3\x05" "PTE12")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE13, (const byte*)"\x86\xc3\x05" "PTE13")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE13, (const byte*)"\x86\xc3\x05" "PTE13")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE14, (const byte*)"\x81\xc3\x05" "PTE14")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE14, (const byte*)"\x81\xc3\x05" "PTE14")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE15, (const byte*)"\x80\xc3\x05" "PTE15")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE15, (const byte*)"\x80\xc3\x05" "PTE15")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE16, (const byte*)"\x83\xc3\x05" "PTE16")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE16, (const byte*)"\x83\xc3\x05" "PTE16")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE17, (const byte*)"\x82\xc3\x05" "PTE17")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE17, (const byte*)"\x82\xc3\x05" "PTE17")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE18, (const byte*)"\x8d\xc3\x05" "PTE18")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE18, (const byte*)"\x8d\xc3\x05" "PTE18")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE19, (const byte*)"\x8c\xc3\x05" "PTE19")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE19, (const byte*)"\x8c\xc3\x05" "PTE19")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE2, (const byte*)"\x16\xa1\x04" "PTE2")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE2, (const byte*)"\x16\xa1\x04" "PTE2")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE20, (const byte*)"\xe6\xc3\x05" "PTE20")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE20, (const byte*)"\xe6\xc3\x05" "PTE20")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE21, (const byte*)"\xe7\xc3\x05" "PTE21")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE21, (const byte*)"\xe7\xc3\x05" "PTE21")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE22, (const byte*)"\xe4\xc3\x05" "PTE22")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE22, (const byte*)"\xe4\xc3\x05" "PTE22")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE23, (const byte*)"\xe5\xc3\x05" "PTE23")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE23, (const byte*)"\xe5\xc3\x05" "PTE23")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE24, (const byte*)"\xe2\xc3\x05" "PTE24")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE24, (const byte*)"\xe2\xc3\x05" "PTE24")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE25, (const byte*)"\xe3\xc3\x05" "PTE25")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE25, (const byte*)"\xe3\xc3\x05" "PTE25")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE26, (const byte*)"\xe0\xc3\x05" "PTE26")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE26, (const byte*)"\xe0\xc3\x05" "PTE26")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE27, (const byte*)"\xe1\xc3\x05" "PTE27")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE27, (const byte*)"\xe1\xc3\x05" "PTE27")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE28, (const byte*)"\xee\xc3\x05" "PTE28")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE28, (const byte*)"\xee\xc3\x05" "PTE28")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE29, (const byte*)"\xef\xc3\x05" "PTE29")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE29, (const byte*)"\xef\xc3\x05" "PTE29")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE3, (const byte*)"\x17\xa1\x04" "PTE3")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE3, (const byte*)"\x17\xa1\x04" "PTE3")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE30, (const byte*)"\xc7\xc3\x05" "PTE30")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE30, (const byte*)"\xc7\xc3\x05" "PTE30")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE31, (const byte*)"\xc6\xc3\x05" "PTE31")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE31, (const byte*)"\xc6\xc3\x05" "PTE31")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE4, (const byte*)"\x10\xa1\x04" "PTE4")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE4, (const byte*)"\x10\xa1\x04" "PTE4")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE5, (const byte*)"\x11\xa1\x04" "PTE5")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE5, (const byte*)"\x11\xa1\x04" "PTE5")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE6, (const byte*)"\x12\xa1\x04" "PTE6")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE6, (const byte*)"\x12\xa1\x04" "PTE6")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE7, (const byte*)"\x13\xa1\x04" "PTE7")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE7, (const byte*)"\x13\xa1\x04" "PTE7")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE8, (const byte*)"\x1c\xa1\x04" "PTE8")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE8, (const byte*)"\x1c\xa1\x04" "PTE8")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_PTE9, (const byte*)"\x1d\xa1\x04" "PTE9")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_PTE9, (const byte*)"\x1d\xa1\x04" "PTE9")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_PWM_OUT, (const byte*)"\xde\xf6\x07" "PWM_OUT")
+#endif
+QDEF(MP_QSTR_RuntimeError, (const byte*)"\x61\xf1\x0c" "RuntimeError")
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_SERIAL_RX, (const byte*)"\x30\xf2\x09" "SERIAL_RX")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_SERIAL_TX, (const byte*)"\x76\xf3\x09" "SERIAL_TX")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_SPI_CS, (const byte*)"\x60\x7c\x06" "SPI_CS")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_SPI_MISO, (const byte*)"\x88\xa0\x08" "SPI_MISO")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_SPI_MOSI, (const byte*)"\x08\x87\x08" "SPI_MOSI")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_SPI_SCK, (const byte*)"\x2b\xc6\x07" "SPI_SCK")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_SW2, (const byte*)"\x33\x11\x03" "SW2")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_SW3, (const byte*)"\x32\x11\x03" "SW3")
+#endif
+#if (MICROPY_PY_MBED)
QDEF(MP_QSTR_Serial, (const byte*)"\xe5\xe5\x06" "Serial")
-QDEF(MP_QSTR_putc, (const byte*)"\x97\x7e\x04" "putc")
-QDEF(MP_QSTR_puts, (const byte*)"\x87\x7e\x04" "puts")
-QDEF(MP_QSTR_getc, (const byte*)"\xf0\xa1\x04" "getc")
-QDEF(MP_QSTR___name__, (const byte*)"\xe2\x38\x08" "__name__")
-QDEF(MP_QSTR_umachine, (const byte*)"\x95\x7f\x08" "umachine")
-QDEF(MP_QSTR_mem8, (const byte*)"\x18\xc8\x04" "mem8")
-QDEF(MP_QSTR_mem16, (const byte*)"\x07\xca\x05" "mem16")
-QDEF(MP_QSTR_mem32, (const byte*)"\x41\xca\x05" "mem32")
-QDEF(MP_QSTR_micropython, (const byte*)"\x0b\x7c\x0b" "micropython")
-QDEF(MP_QSTR_bytecode, (const byte*)"\x22\x7d\x08" "bytecode")
-QDEF(MP_QSTR_AssertionError, (const byte*)"\x97\x5a\x0e" "AssertionError")
-QDEF(MP_QSTR_range, (const byte*)"\x1a\x5e\x05" "range")
+#elif (MICROPY_PY_MBED) && (MICROPY_MBED_SERIAL)
+QDEF(MP_QSTR_Serial, (const byte*)"\xe5\xe5\x06" "Serial")
+#elif (MICROPY_PY_MBED) && (MICROPY_MBED_SERIAL)
+QDEF(MP_QSTR_Serial, (const byte*)"\xe5\xe5\x06" "Serial")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_PY_ASYNC_AWAIT)
+QDEF(MP_QSTR_StopAsyncIteration, (const byte*)"\xec\xf0\x12" "StopAsyncIteration")
+#elif (MICROPY_PY_ASYNC_AWAIT)
+QDEF(MP_QSTR_StopAsyncIteration, (const byte*)"\xec\xf0\x12" "StopAsyncIteration")
+#endif
+QDEF(MP_QSTR_StopIteration, (const byte*)"\xea\x1c\x0d" "StopIteration")
+#if (MICROPY_PY_IO)
+QDEF(MP_QSTR_StringIO, (const byte*)"\x76\x76\x08" "StringIO")
+#elif (MICROPY_PY_IO)
+QDEF(MP_QSTR_StringIO, (const byte*)"\x76\x76\x08" "StringIO")
+#endif
+QDEF(MP_QSTR_SyntaxError, (const byte*)"\x94\x8f\x0b" "SyntaxError")
+QDEF(MP_QSTR_SystemExit, (const byte*)"\x20\xff\x0a" "SystemExit")
+#if !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_TSI_ELEC0, (const byte*)"\xab\xc4\x09" "TSI_ELEC0")
+#endif
+#if !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_TSI_ELEC1, (const byte*)"\xaa\xc4\x09" "TSI_ELEC1")
+#endif
+#if (MICROPY_PY_IO) && (MICROPY_PY_IO_FILEIO) && (MICROPY_CPYTHON_COMPAT)
+QDEF(MP_QSTR_TextIOWrapper, (const byte*)"\xad\x8d\x0d" "TextIOWrapper")
+#endif
+QDEF(MP_QSTR_TypeError, (const byte*)"\x25\x96\x09" "TypeError")
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_USBRX, (const byte*)"\xcb\xf6\x05" "USBRX")
+#elif (defined(TARGET_K64F))
+QDEF(MP_QSTR_USBRX, (const byte*)"\xcb\xf6\x05" "USBRX")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_USBRX, (const byte*)"\xcb\xf6\x05" "USBRX")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_USBRX, (const byte*)"\xcb\xf6\x05" "USBRX")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_USBRX, (const byte*)"\xcb\xf6\x05" "USBRX")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_USBRX, (const byte*)"\xcb\xf6\x05" "USBRX")
+#endif
+#if (defined(TARGET_K64F))
+QDEF(MP_QSTR_USBTX, (const byte*)"\x8d\xf6\x05" "USBTX")
+#elif (defined(TARGET_K64F))
+QDEF(MP_QSTR_USBTX, (const byte*)"\x8d\xf6\x05" "USBTX")
+#elif !(defined(TARGET_K64F)) && (defined(TARGET_KL25Z))
+QDEF(MP_QSTR_USBTX, (const byte*)"\x8d\xf6\x05" "USBTX")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_USBTX, (const byte*)"\x8d\xf6\x05" "USBTX")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_USBTX, (const byte*)"\x8d\xf6\x05" "USBTX")
+#elif !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_USBTX, (const byte*)"\x8d\xf6\x05" "USBTX")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && !(defined(TARGET_LPC1768)) && (defined(TARGET_NUCLEO_F401RE))
+QDEF(MP_QSTR_USER_BUTTON, (const byte*)"\x7d\xfc\x0b" "USER_BUTTON")
+#endif
+QDEF(MP_QSTR_UnboundLocalError, (const byte*)"\x99\x22\x11" "UnboundLocalError")
+#if (MICROPY_PY_BUILTINS_STR_UNICODE)
+QDEF(MP_QSTR_UnicodeError, (const byte*)"\x22\xd1\x0c" "UnicodeError")
+#endif
+QDEF(MP_QSTR_ValueError, (const byte*)"\x96\x87\x0a" "ValueError")
+#if (MICROPY_EMIT_NATIVE)
+QDEF(MP_QSTR_ViperTypeError, (const byte*)"\xdd\x05\x0e" "ViperTypeError")
+#endif
+QDEF(MP_QSTR_ZeroDivisionError, (const byte*)"\xb6\x27\x11" "ZeroDivisionError")
+QDEF(MP_QSTR__, (const byte*)"\xfa\xb5\x01" "_")
+#if (MICROPY_PY_BUILTINS_STR_SPLITLINES)
+QDEF(MP_QSTR__0x0a_, (const byte*)"\x1c\x01\x06" "_0x0a_")
+#endif
+QDEF(MP_QSTR___add__, (const byte*)"\xc4\x82\x07" "__add__")
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_PY_ASYNC_AWAIT)
+QDEF(MP_QSTR___aenter__, (const byte*)"\x4c\x84\x0a" "__aenter__")
+#elif (MICROPY_ENABLE_COMPILER) && (MICROPY_PY_ASYNC_AWAIT)
+QDEF(MP_QSTR___aenter__, (const byte*)"\x4c\x84\x0a" "__aenter__")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_PY_ASYNC_AWAIT)
+QDEF(MP_QSTR___aexit__, (const byte*)"\xc4\xcf\x09" "__aexit__")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_PY_ASYNC_AWAIT)
QDEF(MP_QSTR___aiter__, (const byte*)"\x4e\x2b\x09" "__aiter__")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_PY_ASYNC_AWAIT)
QDEF(MP_QSTR___anext__, (const byte*)"\x83\xb4\x09" "__anext__")
-QDEF(MP_QSTR_StopAsyncIteration, (const byte*)"\xec\xf0\x12" "StopAsyncIteration")
-QDEF(MP_QSTR___aenter__, (const byte*)"\x4c\x84\x0a" "__aenter__")
-QDEF(MP_QSTR___aexit__, (const byte*)"\xc4\xcf\x09" "__aexit__")
-QDEF(MP_QSTR___repl_print__, (const byte*)"\x00\xbb\x0e" "__repl_print__")
-QDEF(MP_QSTR_super, (const byte*)"\xc4\xb2\x05" "super")
+#endif
+QDEF(MP_QSTR___bool__, (const byte*)"\x2b\x65\x08" "__bool__")
+QDEF(MP_QSTR___build_class__, (const byte*)"\x42\x88\x0f" "__build_class__")
+QDEF(MP_QSTR___call__, (const byte*)"\xa7\xf9\x08" "__call__")
+#if (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR___class__, (const byte*)"\x2b\xc5\x09" "__class__")
+#elif (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR___class__, (const byte*)"\x2b\xc5\x09" "__class__")
+#elif (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR___class__, (const byte*)"\x2b\xc5\x09" "__class__")
+#elif (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR___class__, (const byte*)"\x2b\xc5\x09" "__class__")
+#elif (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR___class__, (const byte*)"\x2b\xc5\x09" "__class__")
+#elif (MICROPY_CPYTHON_COMPAT)
QDEF(MP_QSTR___class__, (const byte*)"\x2b\xc5\x09" "__class__")
-QDEF(MP_QSTR___module__, (const byte*)"\xff\x30\x0a" "__module__")
-QDEF(MP_QSTR___qualname__, (const byte*)"\x6b\x00\x0c" "__qualname__")
+#endif
+QDEF(MP_QSTR___contains__, (const byte*)"\xc6\x5f\x0c" "__contains__")
+#if (MICROPY_ENABLE_GC) && (MICROPY_ENABLE_FINALISER)
+QDEF(MP_QSTR___del__, (const byte*)"\x68\x37\x07" "__del__")
+#endif
+#if (MICROPY_PY_BUILTINS_PROPERTY || MICROPY_PY_DESCRIPTORS) && (MICROPY_PY_DESCRIPTORS)
+QDEF(MP_QSTR___delete__, (const byte*)"\xdc\xed\x0a" "__delete__")
+#endif
+QDEF(MP_QSTR___delitem__, (const byte*)"\xfd\x35\x0b" "__delitem__")
+#if (MICROPY_CPYTHON_COMPAT)
+QDEF(MP_QSTR___dict__, (const byte*)"\x7f\x54\x08" "__dict__")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_ENABLE_DOC_STRING)
+QDEF(MP_QSTR___doc__, (const byte*)"\x2d\xac\x07" "__doc__")
+#endif
+QDEF(MP_QSTR___enter__, (const byte*)"\x6d\xba\x09" "__enter__")
+QDEF(MP_QSTR___eq__, (const byte*)"\x71\x3e\x06" "__eq__")
+QDEF(MP_QSTR___exit__, (const byte*)"\x45\xf8\x08" "__exit__")
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_PY___FILE__)
+QDEF(MP_QSTR___file__, (const byte*)"\x03\x54\x08" "__file__")
+#elif (MICROPY_PERSISTENT_CODE_LOAD || MICROPY_MODULE_FROZEN_MPY) && (MICROPY_PY___FILE__)
+QDEF(MP_QSTR___file__, (const byte*)"\x03\x54\x08" "__file__")
+#elif (MICROPY_PY___FILE__)
+QDEF(MP_QSTR___file__, (const byte*)"\x03\x54\x08" "__file__")
+#endif
+#if (MICROPY_PY_ALL_SPECIAL_METHODS)
+QDEF(MP_QSTR___floordiv__, (const byte*)"\x46\x5f\x0c" "__floordiv__")
+#endif
+QDEF(MP_QSTR___ge__, (const byte*)"\xa7\x46\x06" "__ge__")
+#if (MICROPY_PY_DESCRIPTORS)
+QDEF(MP_QSTR___get__, (const byte*)"\xb3\x8f\x07" "__get__")
+#endif
+QDEF(MP_QSTR___getattr__, (const byte*)"\x40\xf8\x0b" "__getattr__")
+QDEF(MP_QSTR___getitem__, (const byte*)"\x26\x39\x0b" "__getitem__")
+QDEF(MP_QSTR___gt__, (const byte*)"\xb6\x82\x06" "__gt__")
+QDEF(MP_QSTR___hash__, (const byte*)"\xf7\xc8\x08" "__hash__")
+#if (MICROPY_PY_ALL_SPECIAL_METHODS)
+QDEF(MP_QSTR___iadd__, (const byte*)"\x6d\x4a\x08" "__iadd__")
+#endif
+QDEF(MP_QSTR___import__, (const byte*)"\x38\x3e\x0a" "__import__")
+QDEF(MP_QSTR___init__, (const byte*)"\x5f\xa5\x08" "__init__")
+#if (MICROPY_PY_ALL_SPECIAL_METHODS)
+QDEF(MP_QSTR___invert__, (const byte*)"\xf7\x77\x0a" "__invert__")
+#endif
+#if (MICROPY_PY_ALL_SPECIAL_METHODS)
+QDEF(MP_QSTR___isub__, (const byte*)"\x08\x78\x08" "__isub__")
+#endif
+QDEF(MP_QSTR___iter__, (const byte*)"\xcf\x32\x08" "__iter__")
+QDEF(MP_QSTR___le__, (const byte*)"\xcc\x13\x06" "__le__")
+QDEF(MP_QSTR___len__, (const byte*)"\xe2\xb0\x07" "__len__")
+QDEF(MP_QSTR___locals__, (const byte*)"\x7b\x6a\x0a" "__locals__")
+QDEF(MP_QSTR___lt__, (const byte*)"\x5d\x68\x06" "__lt__")
QDEF(MP_QSTR___main__, (const byte*)"\x8e\x13\x08" "__main__")
-QDEF(MP_QSTR_items, (const byte*)"\xe3\x53\x05" "items")
-QDEF(MP_QSTR_function, (const byte*)"\x27\x02\x08" "function")
-QDEF(MP_QSTR_closure, (const byte*)"\x74\xca\x07" "closure")
-QDEF(MP_QSTR_generator, (const byte*)"\x96\xc3\x09" "generator")
+#if (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR___module__, (const byte*)"\xff\x30\x0a" "__module__")
+#endif
+#if (MICROPY_PY_ALL_SPECIAL_METHODS)
+QDEF(MP_QSTR___mul__, (const byte*)"\x31\x42\x07" "__mul__")
+#endif
+QDEF(MP_QSTR___name__, (const byte*)"\xe2\x38\x08" "__name__")
+#if (MICROPY_PY_ALL_SPECIAL_METHODS)
+QDEF(MP_QSTR___neg__, (const byte*)"\x69\xd5\x07" "__neg__")
+#endif
+QDEF(MP_QSTR___new__, (const byte*)"\x79\x15\x07" "__new__")
QDEF(MP_QSTR___next__, (const byte*)"\x02\x73\x08" "__next__")
-QDEF(MP_QSTR___getitem__, (const byte*)"\x26\x39\x0b" "__getitem__")
-QDEF(MP_QSTR_send, (const byte*)"\xb9\x76\x04" "send")
-QDEF(MP_QSTR_close, (const byte*)"\x33\x67\x05" "close")
-QDEF(MP_QSTR_throw, (const byte*)"\xb3\x44\x05" "throw")
+QDEF(MP_QSTR___path__, (const byte*)"\xc8\x23\x08" "__path__")
+#if (MICROPY_PY_ALL_SPECIAL_METHODS)
+QDEF(MP_QSTR___pos__, (const byte*)"\x29\xf0\x07" "__pos__")
+#endif
+#if (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR___qualname__, (const byte*)"\x6b\x00\x0c" "__qualname__")
+#endif
+QDEF(MP_QSTR___repl_print__, (const byte*)"\x00\xbb\x0e" "__repl_print__")
+QDEF(MP_QSTR___repr__, (const byte*)"\x10\x0b\x08" "__repr__")
+#if (MICROPY_PY_BUILTINS_REVERSED)
+QDEF(MP_QSTR___reversed__, (const byte*)"\x61\xff\x0c" "__reversed__")
+#endif
+#if (MICROPY_PY_BUILTINS_PROPERTY || MICROPY_PY_DESCRIPTORS) && (MICROPY_PY_DESCRIPTORS)
+QDEF(MP_QSTR___set__, (const byte*)"\xa7\xb3\x07" "__set__")
+#endif
+QDEF(MP_QSTR___setitem__, (const byte*)"\x32\x3e\x0b" "__setitem__")
+QDEF(MP_QSTR___str__, (const byte*)"\xd0\xcd\x07" "__str__")
+QDEF(MP_QSTR___sub__, (const byte*)"\x21\x09\x07" "__sub__")
+#if (MICROPY_PY_ALL_SPECIAL_METHODS)
+QDEF(MP_QSTR___truediv__, (const byte*)"\x88\xef\x0b" "__truediv__")
+#endif
+QDEF(MP_QSTR__backslash_n, (const byte*)"\x77\x75\x02" "\x5c\x6e")
+QDEF(MP_QSTR__brace_open__colon__hash_b_brace_close_, (const byte*)"\x58\x37\x05" "{:#b}")
+#if (MICROPY_PY_COLLECTIONS)
+QDEF(MP_QSTR__collections, (const byte*)"\x3f\x35\x0c" "_collections")
+#elif (MICROPY_PY_COLLECTIONS)
+QDEF(MP_QSTR__collections, (const byte*)"\x3f\x35\x0c" "_collections")
+#elif (MICROPY_PY_COLLECTIONS)
+QDEF(MP_QSTR__collections, (const byte*)"\x3f\x35\x0c" "_collections")
+#endif
+#if (MICROPY_PY_IO)
+QDEF(MP_QSTR__io, (const byte*)"\xdc\x1f\x03" "_io")
+#elif (MICROPY_PY_IO)
+QDEF(MP_QSTR__io, (const byte*)"\xdc\x1f\x03" "_io")
+#elif (MICROPY_PY_IO)
+QDEF(MP_QSTR__io, (const byte*)"\xdc\x1f\x03" "_io")
+#endif
+#if (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR__lt_dictcomp_gt_, (const byte*)"\x65\x5c\x10" "_lt_dictcomp_gt_")
+#endif
+QDEF(MP_QSTR__lt_genexpr_gt_, (const byte*)"\x34\x6a\x09" "<genexpr>")
+#if (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR__lt_lambda_gt_, (const byte*)"\xa9\x3e\x0e" "_lt_lambda_gt_")
+#endif
+#if (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR__lt_listcomp_gt_, (const byte*)"\x7d\x43\x10" "_lt_listcomp_gt_")
+#endif
+QDEF(MP_QSTR__lt_module_gt_, (const byte*)"\xbd\x94\x08" "<module>")
+QDEF(MP_QSTR__lt_setcomp_gt_, (const byte*)"\x54\x51\x09" "<setcomp>")
+QDEF(MP_QSTR__lt_stdin_gt_, (const byte*)"\xe3\x63\x07" "<stdin>")
+QDEF(MP_QSTR__lt_string_gt_, (const byte*)"\x52\x53\x08" "<string>")
+QDEF(MP_QSTR__percent__hash_o, (const byte*)"\x03\x52\x10" "_percent__hash_o")
+QDEF(MP_QSTR__percent__hash_x, (const byte*)"\x7b\x1a\x03" "%#x")
+QDEF(MP_QSTR__star_, (const byte*)"\x8f\xb5\x01" "*")
+QDEF(MP_QSTR_abs, (const byte*)"\x95\x32\x03" "abs")
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_acos, (const byte*)"\x1b\xa0\x04" "acos")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_acos, (const byte*)"\x1b\xa0\x04" "acos")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_acosh, (const byte*)"\x13\xa3\x05" "acosh")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_acosh, (const byte*)"\x13\xa3\x05" "acosh")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_add, (const byte*)"\x44\x32\x03" "add")
+#elif (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_add, (const byte*)"\x44\x32\x03" "add")
+#elif (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_add, (const byte*)"\x44\x32\x03" "add")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_align, (const byte*)"\xa8\xfb\x05" "align")
+#endif
+QDEF(MP_QSTR_all, (const byte*)"\x44\x33\x03" "all")
+#if (MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF && (MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE == 0))
+QDEF(MP_QSTR_alloc_emergency_exception_buf, (const byte*)"\x78\x2a\x1d" "alloc_emergency_exception_buf")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_and_, (const byte*)"\x91\x94\x04" "and_")
+#endif
+QDEF(MP_QSTR_any, (const byte*)"\x13\x33\x03" "any")
+QDEF(MP_QSTR_append, (const byte*)"\x6b\x97\x06" "append")
+QDEF(MP_QSTR_args, (const byte*)"\xc2\xc6\x04" "args")
+#if (MICROPY_PY_SYS)
+QDEF(MP_QSTR_argv, (const byte*)"\xc7\xc6\x04" "argv")
+#endif
+#if (MICROPY_PY_ARRAY)
+QDEF(MP_QSTR_array, (const byte*)"\x7c\x72\x05" "array")
+#elif (MICROPY_PY_ARRAY)
+QDEF(MP_QSTR_array, (const byte*)"\x7c\x72\x05" "array")
+#elif (MICROPY_PY_ARRAY)
+QDEF(MP_QSTR_array, (const byte*)"\x7c\x72\x05" "array")
+#elif (MICROPY_PY_ARRAY || MICROPY_PY_BUILTINS_BYTEARRAY || MICROPY_PY_BUILTINS_MEMORYVIEW) && (MICROPY_PY_ARRAY)
+QDEF(MP_QSTR_array, (const byte*)"\x7c\x72\x05" "array")
+#elif (MICROPY_PY_ARRAY)
+QDEF(MP_QSTR_array, (const byte*)"\x7c\x72\x05" "array")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_asin, (const byte*)"\x50\xe5\x04" "asin")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_asin, (const byte*)"\x50\xe5\x04" "asin")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_asinh, (const byte*)"\x38\x8f\x05" "asinh")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_asinh, (const byte*)"\x38\x8f\x05" "asinh")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_asm_thumb, (const byte*)"\x43\x6d\x09" "asm_thumb")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_asr, (const byte*)"\x65\x35\x03" "asr")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_atan, (const byte*)"\x1f\xbe\x04" "atan")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_atan, (const byte*)"\x1f\xbe\x04" "atan")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_atan2, (const byte*)"\xcd\x81\x05" "atan2")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_atanh, (const byte*)"\x97\x81\x05" "atanh")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_atanh, (const byte*)"\x97\x81\x05" "atanh")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_b, (const byte*)"\xc7\xb5\x01" "b")
+#endif
+#if (MICROPY_PY_SYS) && (MP_ENDIANNESS_LITTLE)
+QDEF(MP_QSTR_big, (const byte*)"\xe9\x48\x03" "big")
+#endif
+QDEF(MP_QSTR_bin, (const byte*)"\xe0\x48\x03" "bin")
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_bl, (const byte*)"\xcb\x6e\x02" "bl")
+#endif
QDEF(MP_QSTR_bool, (const byte*)"\xeb\x3c\x04" "bool")
QDEF(MP_QSTR_bound_method, (const byte*)"\x97\xa2\x0c" "bound_method")
-QDEF(MP_QSTR_iterator, (const byte*)"\x47\xbe\x08" "iterator")
-QDEF(MP_QSTR_dict_view, (const byte*)"\x2d\xa9\x09" "dict_view")
+QDEF(MP_QSTR_builtins, (const byte*)"\xf7\x31\x08" "builtins")
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_bx, (const byte*)"\xdf\x6e\x02" "bx")
+#endif
+#if (MICROPY_PY_BUILTINS_BYTEARRAY)
+QDEF(MP_QSTR_bytearray, (const byte*)"\x76\xa3\x09" "bytearray")
+#elif (MICROPY_PY_ARRAY || MICROPY_PY_BUILTINS_BYTEARRAY || MICROPY_PY_BUILTINS_MEMORYVIEW) && (MICROPY_PY_BUILTINS_BYTEARRAY)
+QDEF(MP_QSTR_bytearray, (const byte*)"\x76\xa3\x09" "bytearray")
+#endif
+#if (MICROPY_ENABLE_COMPILER)
+QDEF(MP_QSTR_bytecode, (const byte*)"\x22\x7d\x08" "bytecode")
+#endif
+#if (MICROPY_PY_SYS) && (MP_ENDIANNESS_LITTLE)
+QDEF(MP_QSTR_byteorder, (const byte*)"\x61\x99\x09" "byteorder")
+#elif (MICROPY_PY_SYS) && (MP_ENDIANNESS_LITTLE)
+QDEF(MP_QSTR_byteorder, (const byte*)"\x61\x99\x09" "byteorder")
+#endif
+QDEF(MP_QSTR_bytes, (const byte*)"\x5c\xb2\x05" "bytes")
+#if (MICROPY_PY_STRUCT)
+QDEF(MP_QSTR_calcsize, (const byte*)"\x4d\x38\x08" "calcsize")
+#endif
+QDEF(MP_QSTR_callable, (const byte*)"\x0d\x70\x08" "callable")
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_ceil, (const byte*)"\x06\xb0\x04" "ceil")
+#endif
+QDEF(MP_QSTR_chr, (const byte*)"\xdc\x4c\x03" "chr")
+QDEF(MP_QSTR_classmethod, (const byte*)"\xb4\x8c\x0b" "classmethod")
QDEF(MP_QSTR_clear, (const byte*)"\x7c\xa0\x05" "clear")
+QDEF(MP_QSTR_close, (const byte*)"\x33\x67\x05" "close")
+QDEF(MP_QSTR_closure, (const byte*)"\x74\xca\x07" "closure")
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_clz, (const byte*)"\x50\x4c\x03" "clz")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_cmath, (const byte*)"\xb6\xf4\x05" "cmath")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_cmath, (const byte*)"\xb6\xf4\x05" "cmath")
+#elif (MICROPY_PY_BUILTINS_FLOAT) && (MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_cmath, (const byte*)"\xb6\xf4\x05" "cmath")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_cmp, (const byte*)"\x3b\x4c\x03" "cmp")
+#endif
+#if (MICROPY_PY_BUILTINS_COMPILE)
+QDEF(MP_QSTR_code, (const byte*)"\x68\xda\x04" "code")
+#endif
+#if (MICROPY_PY_GC && MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_collect, (const byte*)"\x9b\x65\x07" "collect")
+#endif
+#if (MICROPY_PY_BUILTINS_COMPILE)
+QDEF(MP_QSTR_compile, (const byte*)"\xf4\xc9\x07" "compile")
+#endif
+#if (MICROPY_PY_BUILTINS_COMPLEX)
+QDEF(MP_QSTR_complex, (const byte*)"\xc5\x9d\x07" "complex")
+#elif (MICROPY_PY_BUILTINS_COMPLEX)
+QDEF(MP_QSTR_complex, (const byte*)"\xc5\x9d\x07" "complex")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_COMP_CONST_FOLDING) && (MICROPY_COMP_CONST)
+QDEF(MP_QSTR_const, (const byte*)"\xc0\xff\x05" "const")
+#endif
QDEF(MP_QSTR_copy, (const byte*)"\xe0\xdb\x04" "copy")
-QDEF(MP_QSTR_fromkeys, (const byte*)"\x37\xbd\x08" "fromkeys")
-QDEF(MP_QSTR_get, (const byte*)"\x33\x3b\x03" "get")
-QDEF(MP_QSTR_keys, (const byte*)"\x01\x13\x04" "keys")
-QDEF(MP_QSTR_pop, (const byte*)"\x2a\x73\x03" "pop")
-QDEF(MP_QSTR_popitem, (const byte*)"\xbf\x2c\x07" "popitem")
-QDEF(MP_QSTR_setdefault, (const byte*)"\x6c\xa3\x0a" "setdefault")
-QDEF(MP_QSTR_update, (const byte*)"\xb4\x76\x06" "update")
-QDEF(MP_QSTR_values, (const byte*)"\x7d\xbe\x06" "values")
-QDEF(MP_QSTR___setitem__, (const byte*)"\x32\x3e\x0b" "__setitem__")
-QDEF(MP_QSTR___delitem__, (const byte*)"\xfd\x35\x0b" "__delitem__")
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_copysign, (const byte*)"\x33\x14\x08" "copysign")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_cos, (const byte*)"\x7a\x4c\x03" "cos")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_cos, (const byte*)"\x7a\x4c\x03" "cos")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_cosh, (const byte*)"\xd2\xdb\x04" "cosh")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_cosh, (const byte*)"\xd2\xdb\x04" "cosh")
+#endif
+QDEF(MP_QSTR_count, (const byte*)"\xa6\x4d\x05" "count")
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_cpsid, (const byte*)"\xe8\xc7\x05" "cpsid")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_cpsie, (const byte*)"\xe9\xc7\x05" "cpsie")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_data, (const byte*)"\x15\xdc\x04" "data")
+#endif
+#if (MICROPY_CPYTHON_COMPAT)
+QDEF(MP_QSTR_decode, (const byte*)"\xa9\x59\x06" "decode")
+#endif
+#if (MICROPY_PY_BUILTINS_MIN_MAX)
+QDEF(MP_QSTR_default, (const byte*)"\xce\x7d\x07" "default")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_degrees, (const byte*)"\x02\x41\x07" "degrees")
+#endif
+#if (MICROPY_PY_BUILTINS_PROPERTY)
+QDEF(MP_QSTR_deleter, (const byte*)"\x6e\xdb\x07" "deleter")
+#endif
QDEF(MP_QSTR_dict, (const byte*)"\x3f\xfc\x04" "dict")
-QDEF(MP_QSTR_args, (const byte*)"\xc2\xc6\x04" "args")
-QDEF(MP_QSTR_value, (const byte*)"\x4e\x34\x05" "value")
-QDEF(MP_QSTR___init__, (const byte*)"\x5f\xa5\x08" "__init__")
-QDEF(MP_QSTR_BaseException, (const byte*)"\x07\x92\x0d" "BaseException")
-QDEF(MP_QSTR_SystemExit, (const byte*)"\x20\xff\x0a" "SystemExit")
-QDEF(MP_QSTR_KeyboardInterrupt, (const byte*)"\xaf\xe2\x11" "KeyboardInterrupt")
-QDEF(MP_QSTR_GeneratorExit, (const byte*)"\x16\x62\x0d" "GeneratorExit")
-QDEF(MP_QSTR_Exception, (const byte*)"\xf2\x29\x09" "Exception")
-QDEF(MP_QSTR_StopIteration, (const byte*)"\xea\x1c\x0d" "StopIteration")
-QDEF(MP_QSTR_ArithmeticError, (const byte*)"\x2d\x8c\x0f" "ArithmeticError")
-QDEF(MP_QSTR_OverflowError, (const byte*)"\x81\xe1\x0d" "OverflowError")
-QDEF(MP_QSTR_ZeroDivisionError, (const byte*)"\xb6\x27\x11" "ZeroDivisionError")
-QDEF(MP_QSTR_AttributeError, (const byte*)"\x21\xde\x0e" "AttributeError")
-QDEF(MP_QSTR_EOFError, (const byte*)"\x91\xbf\x08" "EOFError")
-QDEF(MP_QSTR_ImportError, (const byte*)"\x20\x9c\x0b" "ImportError")
-QDEF(MP_QSTR_LookupError, (const byte*)"\xff\x69\x0b" "LookupError")
-QDEF(MP_QSTR_IndexError, (const byte*)"\x83\xad\x0a" "IndexError")
-QDEF(MP_QSTR_KeyError, (const byte*)"\xea\x00\x08" "KeyError")
-QDEF(MP_QSTR_MemoryError, (const byte*)"\xdc\x83\x0b" "MemoryError")
-QDEF(MP_QSTR_NameError, (const byte*)"\xba\x2d\x09" "NameError")
-QDEF(MP_QSTR_OSError, (const byte*)"\xa1\x65\x07" "OSError")
-QDEF(MP_QSTR_RuntimeError, (const byte*)"\x61\xf1\x0c" "RuntimeError")
-QDEF(MP_QSTR_NotImplementedError, (const byte*)"\xc6\x98\x13" "NotImplementedError")
-QDEF(MP_QSTR_SyntaxError, (const byte*)"\x94\x8f\x0b" "SyntaxError")
-QDEF(MP_QSTR_IndentationError, (const byte*)"\x5c\x20\x10" "IndentationError")
-QDEF(MP_QSTR_TypeError, (const byte*)"\x25\x96\x09" "TypeError")
-QDEF(MP_QSTR_ValueError, (const byte*)"\x96\x87\x0a" "ValueError")
-QDEF(MP_QSTR_from_bytes, (const byte*)"\x35\x74\x0a" "from_bytes")
-QDEF(MP_QSTR_to_bytes, (const byte*)"\xd8\x3e\x08" "to_bytes")
-QDEF(MP_QSTR_int, (const byte*)"\x16\x53\x03" "int")
-QDEF(MP_QSTR_key, (const byte*)"\x32\x6d\x03" "key")
-QDEF(MP_QSTR_reverse, (const byte*)"\x25\x2a\x07" "reverse")
-QDEF(MP_QSTR_append, (const byte*)"\x6b\x97\x06" "append")
-QDEF(MP_QSTR_count, (const byte*)"\xa6\x4d\x05" "count")
+QDEF(MP_QSTR_dict_view, (const byte*)"\x2d\xa9\x09" "dict_view")
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_difference, (const byte*)"\x72\x24\x0a" "difference")
+#endif
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_difference_update, (const byte*)"\x9c\xfa\x11" "difference_update")
+#endif
+QDEF(MP_QSTR_dir, (const byte*)"\xfa\x1e\x03" "dir")
+#if (MICROPY_PY_GC && MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_disable, (const byte*)"\x91\x76\x07" "disable")
+#endif
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_discard, (const byte*)"\x0f\x71\x07" "discard")
+#endif
+QDEF(MP_QSTR_divmod, (const byte*)"\xb8\x04\x06" "divmod")
+#if (MICROPY_PY_BUILTINS_PROPERTY)
+QDEF(MP_QSTR_doc, (const byte*)"\x2d\x1f\x03" "doc")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_e, (const byte*)"\xc0\xb5\x01" "e")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_e, (const byte*)"\xc0\xb5\x01" "e")
+#endif
+#if (MICROPY_PY_GC && MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_enable, (const byte*)"\x04\xde\x06" "enable")
+#endif
+#if (MICROPY_CPYTHON_COMPAT) && (!MICROPY_PY_BUILTINS_STR_UNICODE)
+QDEF(MP_QSTR_encode, (const byte*)"\x43\xca\x06" "encode")
+#elif (MICROPY_PY_BUILTINS_STR_UNICODE) && (MICROPY_CPYTHON_COMPAT)
+QDEF(MP_QSTR_encode, (const byte*)"\x43\xca\x06" "encode")
+#endif
+QDEF(MP_QSTR_end, (const byte*)"\x0a\x23\x03" "end")
+QDEF(MP_QSTR_endswith, (const byte*)"\x1b\xa3\x08" "endswith")
+#if (MICROPY_PY_BUILTINS_ENUMERATE)
+QDEF(MP_QSTR_enumerate, (const byte*)"\x71\xba\x09" "enumerate")
+#elif (MICROPY_PY_BUILTINS_ENUMERATE)
+QDEF(MP_QSTR_enumerate, (const byte*)"\x71\xba\x09" "enumerate")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_erf, (const byte*)"\x94\x23\x03" "erf")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_erfc, (const byte*)"\x77\x96\x04" "erfc")
+#endif
+#if (MICROPY_PY_BUILTINS_COMPILE)
+QDEF(MP_QSTR_eval, (const byte*)"\x9b\xa6\x04" "eval")
+#elif (MICROPY_PY_BUILTINS_EVAL_EXEC)
+QDEF(MP_QSTR_eval, (const byte*)"\x9b\xa6\x04" "eval")
+#endif
+#if (MICROPY_PY_SYS) && (MICROPY_PY_SYS_EXC_INFO)
+QDEF(MP_QSTR_exc_info, (const byte*)"\x0a\xff\x08" "exc_info")
+#endif
+#if (MICROPY_PY_BUILTINS_COMPILE)
+QDEF(MP_QSTR_exec, (const byte*)"\x1e\xc0\x04" "exec")
+#elif (MICROPY_PY_BUILTINS_EVAL_EXEC)
+QDEF(MP_QSTR_exec, (const byte*)"\x1e\xc0\x04" "exec")
+#endif
+#if (MICROPY_PY_BUILTINS_EXECFILE)
+QDEF(MP_QSTR_execfile, (const byte*)"\x58\x28\x08" "execfile")
+#endif
+#if (MICROPY_PY_SYS) && (MICROPY_PY_SYS_EXIT)
+QDEF(MP_QSTR_exit, (const byte*)"\x85\xbe\x04" "exit")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_exp, (const byte*)"\xc8\x24\x03" "exp")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_exp, (const byte*)"\xc8\x24\x03" "exp")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_expm1, (const byte*)"\x74\x72\x05" "expm1")
+#endif
QDEF(MP_QSTR_extend, (const byte*)"\x63\xe8\x06" "extend")
-QDEF(MP_QSTR_index, (const byte*)"\x7b\x28\x05" "index")
-QDEF(MP_QSTR_insert, (const byte*)"\x12\x54\x06" "insert")
-QDEF(MP_QSTR_remove, (const byte*)"\x63\x8a\x06" "remove")
-QDEF(MP_QSTR_sort, (const byte*)"\xbf\x9d\x04" "sort")
-QDEF(MP_QSTR_list, (const byte*)"\x27\x1d\x04" "list")
-QDEF(MP_QSTR_map, (const byte*)"\xb9\x43\x03" "map")
-QDEF(MP_QSTR_module, (const byte*)"\xbf\x99\x06" "module")
-QDEF(MP_QSTR_builtins, (const byte*)"\xf7\x31\x08" "builtins")
-QDEF(MP_QSTR_ustruct, (const byte*)"\x47\x08\x07" "ustruct")
-QDEF(MP_QSTR_sys, (const byte*)"\xbc\x8e\x03" "sys")
-QDEF(MP_QSTR_object, (const byte*)"\x90\x8d\x06" "object")
-QDEF(MP_QSTR_NoneType, (const byte*)"\x17\x68\x08" "NoneType")
-QDEF(MP_QSTR_start, (const byte*)"\x85\xef\x05" "start")
-QDEF(MP_QSTR_stop, (const byte*)"\x9d\x36\x04" "stop")
-QDEF(MP_QSTR_step, (const byte*)"\x57\x36\x04" "step")
-QDEF(MP_QSTR_Ellipsis, (const byte*)"\xf0\xe0\x08" "Ellipsis")
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_fabs, (const byte*)"\x93\x12\x04" "fabs")
+#endif
+#if (MICROPY_PY_IO)
+QDEF(MP_QSTR_file, (const byte*)"\xc3\x34\x04" "file")
+#endif
+#if (MICROPY_PY_BUILTINS_FILTER)
+QDEF(MP_QSTR_filter, (const byte*)"\x25\xbe\x06" "filter")
+#elif (MICROPY_PY_BUILTINS_FILTER)
+QDEF(MP_QSTR_filter, (const byte*)"\x25\xbe\x06" "filter")
+#endif
QDEF(MP_QSTR_find, (const byte*)"\x00\x34\x04" "find")
-QDEF(MP_QSTR_rfind, (const byte*)"\xd2\x9c\x05" "rfind")
-QDEF(MP_QSTR_rindex, (const byte*)"\xe9\x2b\x06" "rindex")
-QDEF(MP_QSTR_join, (const byte*)"\xa7\x5c\x04" "join")
-QDEF(MP_QSTR_split, (const byte*)"\xb7\x33\x05" "split")
-QDEF(MP_QSTR_rsplit, (const byte*)"\xa5\x00\x06" "rsplit")
-QDEF(MP_QSTR_startswith, (const byte*)"\x74\xe8\x0a" "startswith")
-QDEF(MP_QSTR_endswith, (const byte*)"\x1b\xa3\x08" "endswith")
-QDEF(MP_QSTR_strip, (const byte*)"\x29\x1e\x05" "strip")
-QDEF(MP_QSTR_lstrip, (const byte*)"\xe5\xb9\x06" "lstrip")
-QDEF(MP_QSTR_rstrip, (const byte*)"\x3b\x95\x06" "rstrip")
+#if (MICROPY_PY_BUILTINS_FLOAT)
+QDEF(MP_QSTR_float, (const byte*)"\x35\x44\x05" "float")
+#elif (MICROPY_PY_BUILTINS_FLOAT)
+QDEF(MP_QSTR_float, (const byte*)"\x35\x44\x05" "float")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_floor, (const byte*)"\x7d\x46\x05" "floor")
+#endif
+#if (MICROPY_PY_IO) && (MICROPY_PY_IO_BUFFEREDWRITER)
+QDEF(MP_QSTR_flush, (const byte*)"\x61\xc1\x05" "flush")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_fmod, (const byte*)"\xe5\x44\x04" "fmod")
+#endif
QDEF(MP_QSTR_format, (const byte*)"\x26\x33\x06" "format")
-QDEF(MP_QSTR_replace, (const byte*)"\x49\x25\x07" "replace")
-QDEF(MP_QSTR_partition, (const byte*)"\x87\xe5\x09" "partition")
-QDEF(MP_QSTR_rpartition, (const byte*)"\x15\xd0\x0a" "rpartition")
-QDEF(MP_QSTR_lower, (const byte*)"\xc6\xcb\x05" "lower")
-QDEF(MP_QSTR_upper, (const byte*)"\x27\x94\x05" "upper")
-QDEF(MP_QSTR_isspace, (const byte*)"\x5b\xf8\x07" "isspace")
-QDEF(MP_QSTR_isalpha, (const byte*)"\xeb\x37\x07" "isalpha")
-QDEF(MP_QSTR_isdigit, (const byte*)"\xa8\x9a\x07" "isdigit")
-QDEF(MP_QSTR_isupper, (const byte*)"\xdd\xa7\x07" "isupper")
-QDEF(MP_QSTR_islower, (const byte*)"\xfc\x80\x07" "islower")
-QDEF(MP_QSTR_str, (const byte*)"\x50\x8d\x03" "str")
-QDEF(MP_QSTR_bytes, (const byte*)"\x5c\xb2\x05" "bytes")
-QDEF(MP_QSTR_tuple, (const byte*)"\xfd\x41\x05" "tuple")
-QDEF(MP_QSTR___str__, (const byte*)"\xd0\xcd\x07" "__str__")
-QDEF(MP_QSTR___repr__, (const byte*)"\x10\x0b\x08" "__repr__")
-QDEF(MP_QSTR___new__, (const byte*)"\x79\x15\x07" "__new__")
-QDEF(MP_QSTR___bool__, (const byte*)"\x2b\x65\x08" "__bool__")
-QDEF(MP_QSTR___len__, (const byte*)"\xe2\xb0\x07" "__len__")
-QDEF(MP_QSTR___hash__, (const byte*)"\xf7\xc8\x08" "__hash__")
-QDEF(MP_QSTR___eq__, (const byte*)"\x71\x3e\x06" "__eq__")
-QDEF(MP_QSTR___add__, (const byte*)"\xc4\x82\x07" "__add__")
-QDEF(MP_QSTR___sub__, (const byte*)"\x21\x09\x07" "__sub__")
-QDEF(MP_QSTR___lt__, (const byte*)"\x5d\x68\x06" "__lt__")
-QDEF(MP_QSTR___gt__, (const byte*)"\xb6\x82\x06" "__gt__")
-QDEF(MP_QSTR___le__, (const byte*)"\xcc\x13\x06" "__le__")
-QDEF(MP_QSTR___ge__, (const byte*)"\xa7\x46\x06" "__ge__")
-QDEF(MP_QSTR___contains__, (const byte*)"\xc6\x5f\x0c" "__contains__")
-QDEF(MP_QSTR___getattr__, (const byte*)"\x40\xf8\x0b" "__getattr__")
-QDEF(MP_QSTR___call__, (const byte*)"\xa7\xf9\x08" "__call__")
-QDEF(MP_QSTR___iter__, (const byte*)"\xcf\x32\x08" "__iter__")
-QDEF(MP_QSTR_type, (const byte*)"\x9d\x7f\x04" "type")
-QDEF(MP_QSTR_staticmethod, (const byte*)"\x62\xaf\x0c" "staticmethod")
-QDEF(MP_QSTR_classmethod, (const byte*)"\xb4\x8c\x0b" "classmethod")
-QDEF(MP_QSTR_zip, (const byte*)"\xe6\xac\x03" "zip")
-QDEF(MP_QSTR___path__, (const byte*)"\xc8\x23\x08" "__path__")
-QDEF(MP_QSTR_sep, (const byte*)"\x23\x8f\x03" "sep")
-QDEF(MP_QSTR_end, (const byte*)"\x0a\x23\x03" "end")
-QDEF(MP_QSTR___build_class__, (const byte*)"\x42\x88\x0f" "__build_class__")
-QDEF(MP_QSTR___import__, (const byte*)"\x38\x3e\x0a" "__import__")
-QDEF(MP_QSTR_abs, (const byte*)"\x95\x32\x03" "abs")
-QDEF(MP_QSTR_all, (const byte*)"\x44\x33\x03" "all")
-QDEF(MP_QSTR_any, (const byte*)"\x13\x33\x03" "any")
-QDEF(MP_QSTR_bin, (const byte*)"\xe0\x48\x03" "bin")
-QDEF(MP_QSTR_callable, (const byte*)"\x0d\x70\x08" "callable")
-QDEF(MP_QSTR_chr, (const byte*)"\xdc\x4c\x03" "chr")
-QDEF(MP_QSTR_dir, (const byte*)"\xfa\x1e\x03" "dir")
-QDEF(MP_QSTR_divmod, (const byte*)"\xb8\x04\x06" "divmod")
-QDEF(MP_QSTR_eval, (const byte*)"\x9b\xa6\x04" "eval")
-QDEF(MP_QSTR_exec, (const byte*)"\x1e\xc0\x04" "exec")
+#if (MICROPY_PY_FRAMEBUF)
+QDEF(MP_QSTR_framebuf, (const byte*)"\x69\x82\x08" "framebuf")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_frexp, (const byte*)"\x1c\x98\x05" "frexp")
+#endif
+QDEF(MP_QSTR_from_bytes, (const byte*)"\x35\x74\x0a" "from_bytes")
+QDEF(MP_QSTR_fromkeys, (const byte*)"\x37\xbd\x08" "fromkeys")
+#if (MICROPY_PY_BUILTINS_SET && MICROPY_PY_BUILTINS_FROZENSET)
+QDEF(MP_QSTR_frozenset, (const byte*)"\xed\x9c\x09" "frozenset")
+#elif (MICROPY_PY_BUILTINS_SET) && (MICROPY_PY_BUILTINS_FROZENSET)
+QDEF(MP_QSTR_frozenset, (const byte*)"\xed\x9c\x09" "frozenset")
+#endif
+QDEF(MP_QSTR_function, (const byte*)"\x27\x02\x08" "function")
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_gamma, (const byte*)"\x02\x90\x05" "gamma")
+#endif
+#if (MICROPY_PY_GC && MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_gc, (const byte*)"\x61\x6e\x02" "gc")
+#elif (MICROPY_PY_GC && MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_gc, (const byte*)"\x61\x6e\x02" "gc")
+#elif (MICROPY_PY_GC && MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_gc, (const byte*)"\x61\x6e\x02" "gc")
+#endif
+QDEF(MP_QSTR_generator, (const byte*)"\x96\xc3\x09" "generator")
+QDEF(MP_QSTR_get, (const byte*)"\x33\x3b\x03" "get")
QDEF(MP_QSTR_getattr, (const byte*)"\xc0\x17\x07" "getattr")
-QDEF(MP_QSTR_setattr, (const byte*)"\xd4\xa8\x07" "setattr")
+#if (MICROPY_PY_MBED)
+QDEF(MP_QSTR_getc, (const byte*)"\xf0\xa1\x04" "getc")
+#elif (MICROPY_PY_MBED) && (MICROPY_MBED_SERIAL)
+QDEF(MP_QSTR_getc, (const byte*)"\xf0\xa1\x04" "getc")
+#endif
+#if (MICROPY_PY_BUILTINS_PROPERTY)
+QDEF(MP_QSTR_getter, (const byte*)"\x90\xb2\x06" "getter")
+#endif
+#if (MICROPY_PY_IO)
+QDEF(MP_QSTR_getvalue, (const byte*)"\x78\xac\x08" "getvalue")
+#endif
QDEF(MP_QSTR_globals, (const byte*)"\x9d\x49\x07" "globals")
QDEF(MP_QSTR_hasattr, (const byte*)"\x8c\xb0\x07" "hasattr")
QDEF(MP_QSTR_hash, (const byte*)"\xb7\x70\x04" "hash")
+#if (MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_heap_lock, (const byte*)"\xad\x8c\x09" "heap_lock")
+#endif
+#if (MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_heap_unlock, (const byte*)"\x56\x2d\x0b" "heap_unlock")
+#endif
QDEF(MP_QSTR_hex, (const byte*)"\x70\x50\x03" "hex")
QDEF(MP_QSTR_id, (const byte*)"\x28\x6f\x02" "id")
+#if (MICROPY_PY_BUILTINS_COMPLEX)
+QDEF(MP_QSTR_imag, (const byte*)"\x47\xb7\x04" "imag")
+#endif
+#if (MICROPY_PY_SYS)
+QDEF(MP_QSTR_implementation, (const byte*)"\x17\x2d\x0e" "implementation")
+#endif
+QDEF(MP_QSTR_index, (const byte*)"\x7b\x28\x05" "index")
+QDEF(MP_QSTR_insert, (const byte*)"\x12\x54\x06" "insert")
+QDEF(MP_QSTR_int, (const byte*)"\x16\x53\x03" "int")
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_intersection, (const byte*)"\x28\x2a\x0c" "intersection")
+#endif
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_intersection_update, (const byte*)"\x06\xdd\x13" "intersection_update")
+#endif
+QDEF(MP_QSTR_isalpha, (const byte*)"\xeb\x37\x07" "isalpha")
+QDEF(MP_QSTR_isdigit, (const byte*)"\xa8\x9a\x07" "isdigit")
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_isdisjoint, (const byte*)"\xf7\x68\x0a" "isdisjoint")
+#endif
+#if (MICROPY_PY_GC && MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_isenabled, (const byte*)"\x9a\xe5\x09" "isenabled")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_isfinite, (const byte*)"\xa6\xab\x08" "isfinite")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_isfinite, (const byte*)"\xa6\xab\x08" "isfinite")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_isinf, (const byte*)"\x3e\x11\x05" "isinf")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_isinf, (const byte*)"\x3e\x11\x05" "isinf")
+#endif
QDEF(MP_QSTR_isinstance, (const byte*)"\xb6\xbe\x0a" "isinstance")
+QDEF(MP_QSTR_islower, (const byte*)"\xfc\x80\x07" "islower")
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_isnan, (const byte*)"\x9e\x03\x05" "isnan")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_isnan, (const byte*)"\x9e\x03\x05" "isnan")
+#endif
+QDEF(MP_QSTR_isspace, (const byte*)"\x5b\xf8\x07" "isspace")
QDEF(MP_QSTR_issubclass, (const byte*)"\xb5\x7f\x0a" "issubclass")
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_issubset, (const byte*)"\xb9\xc1\x08" "issubset")
+#endif
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_issuperset, (const byte*)"\xfc\xec\x0a" "issuperset")
+#endif
+QDEF(MP_QSTR_isupper, (const byte*)"\xdd\xa7\x07" "isupper")
+QDEF(MP_QSTR_items, (const byte*)"\xe3\x53\x05" "items")
QDEF(MP_QSTR_iter, (const byte*)"\x8f\x21\x04" "iter")
+#if (MICROPY_PY_BUILTINS_ENUMERATE) && (MICROPY_CPYTHON_COMPAT)
+QDEF(MP_QSTR_iterable, (const byte*)"\x25\x92\x08" "iterable")
+#endif
+QDEF(MP_QSTR_iterator, (const byte*)"\x47\xbe\x08" "iterator")
+QDEF(MP_QSTR_join, (const byte*)"\xa7\x5c\x04" "join")
+#if (MICROPY_PY_BUILTINS_STR_SPLITLINES)
+QDEF(MP_QSTR_keepends, (const byte*)"\x62\x8b\x08" "keepends")
+#endif
+QDEF(MP_QSTR_key, (const byte*)"\x32\x6d\x03" "key")
+QDEF(MP_QSTR_keys, (const byte*)"\x01\x13\x04" "keys")
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_label, (const byte*)"\x43\xe7\x05" "label")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_ldexp, (const byte*)"\x40\x6f\x05" "ldexp")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_ldr, (const byte*)"\x5f\x40\x03" "ldr")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_ldrb, (const byte*)"\x5d\x4c\x04" "ldrb")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_ldrex, (const byte*)"\xe2\xd7\x05" "ldrex")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_ldrh, (const byte*)"\x57\x4c\x04" "ldrh")
+#endif
QDEF(MP_QSTR_len, (const byte*)"\x62\x40\x03" "len")
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_lgamma, (const byte*)"\xce\x6c\x06" "lgamma")
+#endif
+QDEF(MP_QSTR_list, (const byte*)"\x27\x1d\x04" "list")
+#if (MICROPY_PY_SYS) && (MP_ENDIANNESS_LITTLE)
+QDEF(MP_QSTR_little, (const byte*)"\x89\x6a\x06" "little")
+#endif
QDEF(MP_QSTR_locals, (const byte*)"\x3b\xa1\x06" "locals")
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_log, (const byte*)"\x21\x3f\x03" "log")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_log, (const byte*)"\x21\x3f\x03" "log")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_log10, (const byte*)"\x40\x91\x05" "log10")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_log10, (const byte*)"\x40\x91\x05" "log10")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_log2, (const byte*)"\x73\x23\x04" "log2")
+#endif
+QDEF(MP_QSTR_lower, (const byte*)"\xc6\xcb\x05" "lower")
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_lsl, (const byte*)"\xb6\x41\x03" "lsl")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_lsr, (const byte*)"\xa8\x41\x03" "lsr")
+#endif
+QDEF(MP_QSTR_lstrip, (const byte*)"\xe5\xb9\x06" "lstrip")
+#if (MICROPY_PY_LWIP)
+QDEF(MP_QSTR_lwip, (const byte*)"\x67\x89\x04" "lwip")
+#endif
+#if (MICROPY_PY_MACHINE)
+QDEF(MP_QSTR_machine, (const byte*)"\x60\xab\x07" "machine")
+#endif
+QDEF(MP_QSTR_map, (const byte*)"\xb9\x43\x03" "map")
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_math, (const byte*)"\x35\xbb\x04" "math")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_math, (const byte*)"\x35\xbb\x04" "math")
+#elif (MICROPY_PY_BUILTINS_FLOAT) && (MICROPY_PY_MATH)
+QDEF(MP_QSTR_math, (const byte*)"\x35\xbb\x04" "math")
+#endif
+#if (MICROPY_PY_BUILTINS_MIN_MAX)
+QDEF(MP_QSTR_max, (const byte*)"\xb1\x43\x03" "max")
+#endif
+QDEF(MP_QSTR_maximum_space_recursion_space_depth_space_exceeded, (const byte*)"\x73\x1e\x20" "maximum recursion depth exceeded")
+#if (MICROPY_PY_SYS) && (MICROPY_PY_SYS_MAXSIZE) && (MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_NONE)
+QDEF(MP_QSTR_maxsize, (const byte*)"\xd4\x70\x07" "maxsize")
+#elif (MICROPY_PY_SYS) && (MICROPY_PY_SYS_MAXSIZE) && (MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_NONE)
+QDEF(MP_QSTR_maxsize, (const byte*)"\xd4\x70\x07" "maxsize")
+#endif
+#if (MICROPY_PY_MBED)
+QDEF(MP_QSTR_mbed, (const byte*)"\x0b\xb5\x04" "mbed")
+#elif (MICROPY_PY_MBED)
+QDEF(MP_QSTR_mbed, (const byte*)"\x0b\xb5\x04" "mbed")
+#elif (MICROPY_PY_MBED)
+QDEF(MP_QSTR_mbed, (const byte*)"\x0b\xb5\x04" "mbed")
+#endif
+#if (MICROPY_PY_MACHINE)
+QDEF(MP_QSTR_mem, (const byte*)"\x20\x44\x03" "mem")
+#endif
+#if (MICROPY_PY_MACHINE)
+QDEF(MP_QSTR_mem16, (const byte*)"\x07\xca\x05" "mem16")
+#endif
+#if (MICROPY_PY_MACHINE)
+QDEF(MP_QSTR_mem32, (const byte*)"\x41\xca\x05" "mem32")
+#endif
+#if (MICROPY_PY_MACHINE)
+QDEF(MP_QSTR_mem8, (const byte*)"\x18\xc8\x04" "mem8")
+#endif
+#if (MICROPY_PY_GC && MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_mem_alloc, (const byte*)"\x52\x2b\x09" "mem_alloc")
+#endif
+#if (MICROPY_PY_MICROPYTHON_MEM_INFO) && (MICROPY_MEM_STATS)
+QDEF(MP_QSTR_mem_current, (const byte*)"\x16\xba\x0b" "mem_current")
+#endif
+#if (MICROPY_PY_GC && MICROPY_ENABLE_GC)
+QDEF(MP_QSTR_mem_free, (const byte*)"\xcb\x62\x08" "mem_free")
+#endif
+#if (MICROPY_PY_MICROPYTHON_MEM_INFO)
+QDEF(MP_QSTR_mem_info, (const byte*)"\xd1\xf1\x08" "mem_info")
+#endif
+#if (MICROPY_PY_MICROPYTHON_MEM_INFO) && (MICROPY_MEM_STATS)
+QDEF(MP_QSTR_mem_peak, (const byte*)"\x40\x25\x08" "mem_peak")
+#endif
+#if (MICROPY_PY_MICROPYTHON_MEM_INFO) && (MICROPY_MEM_STATS)
+QDEF(MP_QSTR_mem_total, (const byte*)"\xfd\x6a\x09" "mem_total")
+#endif
+#if (MICROPY_PY_BUILTINS_MEMORYVIEW)
+QDEF(MP_QSTR_memoryview, (const byte*)"\x69\x44\x0a" "memoryview")
+#elif (MICROPY_PY_ARRAY || MICROPY_PY_BUILTINS_BYTEARRAY || MICROPY_PY_BUILTINS_MEMORYVIEW) && (MICROPY_PY_BUILTINS_MEMORYVIEW)
+QDEF(MP_QSTR_memoryview, (const byte*)"\x69\x44\x0a" "memoryview")
+#endif
+QDEF(MP_QSTR_micropython, (const byte*)"\x0b\x7c\x0b" "micropython")
+#if (MICROPY_PY_BUILTINS_MIN_MAX)
+QDEF(MP_QSTR_min, (const byte*)"\xaf\x42\x03" "min")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_modf, (const byte*)"\x25\xc0\x04" "modf")
+#endif
+QDEF(MP_QSTR_module, (const byte*)"\xbf\x99\x06" "module")
+#if (MICROPY_PY_SYS) && (MICROPY_PY_SYS_MODULES)
+QDEF(MP_QSTR_modules, (const byte*)"\xec\xd1\x07" "modules")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_mov, (const byte*)"\xf1\x43\x03" "mov")
+#elif (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_mov, (const byte*)"\xf1\x43\x03" "mov")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_movt, (const byte*)"\x65\xc2\x04" "movt")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_movw, (const byte*)"\x66\xc2\x04" "movw")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_movwt, (const byte*)"\x52\x0f\x05" "movwt")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_mrs, (const byte*)"\x89\x45\x03" "mrs")
+#endif
+#if (MICROPY_PY_SYS) && (MICROPY_PY_ATTRTUPLE)
+QDEF(MP_QSTR_name, (const byte*)"\xa2\x75\x04" "name")
+#endif
+#if (MICROPY_PY_COLLECTIONS)
+QDEF(MP_QSTR_namedtuple, (const byte*)"\x1e\x16\x0a" "namedtuple")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_EMIT_NATIVE)
+QDEF(MP_QSTR_native, (const byte*)"\x84\x0b\x06" "native")
+#endif
QDEF(MP_QSTR_next, (const byte*)"\x42\x88\x04" "next")
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_nop, (const byte*)"\xb4\x57\x03" "nop")
+#endif
+QDEF(MP_QSTR_object, (const byte*)"\x90\x8d\x06" "object")
QDEF(MP_QSTR_oct, (const byte*)"\xfd\x5c\x03" "oct")
+#if (MICROPY_PY_IO)
+QDEF(MP_QSTR_open, (const byte*)"\xd1\x3a\x04" "open")
+#endif
QDEF(MP_QSTR_ord, (const byte*)"\x1c\x5e\x03" "ord")
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p10, (const byte*)"\xf4\x78\x03" "p10")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p11, (const byte*)"\xf5\x78\x03" "p11")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p12, (const byte*)"\xf6\x78\x03" "p12")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p13, (const byte*)"\xf7\x78\x03" "p13")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p14, (const byte*)"\xf0\x78\x03" "p14")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p15, (const byte*)"\xf1\x78\x03" "p15")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p16, (const byte*)"\xf2\x78\x03" "p16")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p17, (const byte*)"\xf3\x78\x03" "p17")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p18, (const byte*)"\xfc\x78\x03" "p18")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p19, (const byte*)"\xfd\x78\x03" "p19")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p20, (const byte*)"\x17\x79\x03" "p20")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p21, (const byte*)"\x16\x79\x03" "p21")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p22, (const byte*)"\x15\x79\x03" "p22")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p23, (const byte*)"\x14\x79\x03" "p23")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p24, (const byte*)"\x13\x79\x03" "p24")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p25, (const byte*)"\x12\x79\x03" "p25")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p26, (const byte*)"\x11\x79\x03" "p26")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p27, (const byte*)"\x10\x79\x03" "p27")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p28, (const byte*)"\x1f\x79\x03" "p28")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p29, (const byte*)"\x1e\x79\x03" "p29")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p30, (const byte*)"\x36\x79\x03" "p30")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p5, (const byte*)"\x40\x70\x02" "p5")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p6, (const byte*)"\x43\x70\x02" "p6")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p7, (const byte*)"\x42\x70\x02" "p7")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p8, (const byte*)"\x4d\x70\x02" "p8")
+#endif
+#if !(defined(TARGET_K64F)) && !(defined(TARGET_KL25Z)) && (defined(TARGET_LPC1768))
+QDEF(MP_QSTR_p9, (const byte*)"\x4c\x70\x02" "p9")
+#endif
+#if (MICROPY_PY_STRUCT)
+QDEF(MP_QSTR_pack, (const byte*)"\xbc\xd1\x04" "pack")
+#endif
+#if (MICROPY_PY_STRUCT)
+QDEF(MP_QSTR_pack_into, (const byte*)"\x1f\xa9\x09" "pack_into")
+#endif
+QDEF(MP_QSTR_partition, (const byte*)"\x87\xe5\x09" "partition")
+#if (MICROPY_PY_SYS)
+QDEF(MP_QSTR_path, (const byte*)"\x88\xce\x04" "path")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_phase, (const byte*)"\x6a\xd5\x05" "phase")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_pi, (const byte*)"\x1c\x70\x02" "pi")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_pi, (const byte*)"\x1c\x70\x02" "pi")
+#endif
+QDEF(MP_QSTR_pins, (const byte*)"\x41\xf2\x04" "pins")
+#if (MICROPY_PY_SYS) && (defined(MICROPY_PY_SYS_PLATFORM))
+QDEF(MP_QSTR_platform, (const byte*)"\x3a\x19\x08" "platform")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_polar, (const byte*)"\x05\x0c\x05" "polar")
+#endif
+QDEF(MP_QSTR_pop, (const byte*)"\x2a\x73\x03" "pop")
+QDEF(MP_QSTR_popitem, (const byte*)"\xbf\x2c\x07" "popitem")
QDEF(MP_QSTR_pow, (const byte*)"\x2d\x73\x03" "pow")
QDEF(MP_QSTR_print, (const byte*)"\x54\xc6\x05" "print")
+#if (MICROPY_PY_SYS)
+QDEF(MP_QSTR_print_exception, (const byte*)"\x1c\x22\x0f" "print_exception")
+#endif
+#if (MICROPY_PY_BUILTINS_PROPERTY)
+QDEF(MP_QSTR_property, (const byte*)"\xc2\x29\x08" "property")
+#elif (MICROPY_PY_BUILTINS_PROPERTY)
+QDEF(MP_QSTR_property, (const byte*)"\xc2\x29\x08" "property")
+#endif
+#if ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr, (const byte*)"\x53\x70\x03" "ptr")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr, (const byte*)"\x53\x70\x03" "ptr")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr, (const byte*)"\x53\x70\x03" "ptr")
+#endif
+#if ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr16, (const byte*)"\xf4\xca\x05" "ptr16")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr16, (const byte*)"\xf4\xca\x05" "ptr16")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr16, (const byte*)"\xf4\xca\x05" "ptr16")
+#endif
+#if ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr32, (const byte*)"\xb2\xca\x05" "ptr32")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr32, (const byte*)"\xb2\xca\x05" "ptr32")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr32, (const byte*)"\xb2\xca\x05" "ptr32")
+#endif
+#if ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr8, (const byte*)"\x8b\x7a\x04" "ptr8")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr8, (const byte*)"\x8b\x7a\x04" "ptr8")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_ptr8, (const byte*)"\x8b\x7a\x04" "ptr8")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_push, (const byte*)"\xbb\x7e\x04" "push")
+#endif
+#if (MICROPY_PY_MBED)
+QDEF(MP_QSTR_putc, (const byte*)"\x97\x7e\x04" "putc")
+#elif (MICROPY_PY_MBED) && (MICROPY_MBED_SERIAL)
+QDEF(MP_QSTR_putc, (const byte*)"\x97\x7e\x04" "putc")
+#endif
+#if (MICROPY_PY_MBED)
+QDEF(MP_QSTR_puts, (const byte*)"\x87\x7e\x04" "puts")
+#elif (MICROPY_PY_MBED) && (MICROPY_MBED_SERIAL)
+QDEF(MP_QSTR_puts, (const byte*)"\x87\x7e\x04" "puts")
+#endif
+#if (MICROPY_PY_MICROPYTHON_MEM_INFO)
+QDEF(MP_QSTR_qstr_info, (const byte*)"\xb0\x81\x09" "qstr_info")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_radians, (const byte*)"\x87\x3f\x07" "radians")
+#endif
+QDEF(MP_QSTR_range, (const byte*)"\x1a\x5e\x05" "range")
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_rbit, (const byte*)"\xe8\xee\x04" "rbit")
+#endif
+#if (MICROPY_PY_IO)
+QDEF(MP_QSTR_read, (const byte*)"\xb7\xf9\x04" "read")
+#endif
+#if (MICROPY_PY_IO)
+QDEF(MP_QSTR_readall, (const byte*)"\x76\x4b\x07" "readall")
+#endif
+#if (MICROPY_PY_IO)
+QDEF(MP_QSTR_readline, (const byte*)"\xf9\x19\x08" "readline")
+#endif
+#if (MICROPY_PY_BUILTINS_COMPLEX)
+QDEF(MP_QSTR_real, (const byte*)"\xbf\xf9\x04" "real")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_rect, (const byte*)"\xe5\xf9\x04" "rect")
+#endif
+QDEF(MP_QSTR_remove, (const byte*)"\x63\x8a\x06" "remove")
+QDEF(MP_QSTR_replace, (const byte*)"\x49\x25\x07" "replace")
QDEF(MP_QSTR_repr, (const byte*)"\xd0\xf7\x04" "repr")
+#if (MICROPY_PY_MACHINE)
+QDEF(MP_QSTR_reset, (const byte*)"\x10\xf4\x05" "reset")
+#elif (MICROPY_PY_MACHINE)
+QDEF(MP_QSTR_reset, (const byte*)"\x10\xf4\x05" "reset")
+#endif
+QDEF(MP_QSTR_reverse, (const byte*)"\x25\x2a\x07" "reverse")
+#if (MICROPY_PY_BUILTINS_REVERSED)
+QDEF(MP_QSTR_reversed, (const byte*)"\xa1\x6e\x08" "reversed")
+#elif (MICROPY_PY_BUILTINS_REVERSED)
+QDEF(MP_QSTR_reversed, (const byte*)"\xa1\x6e\x08" "reversed")
+#endif
+QDEF(MP_QSTR_rfind, (const byte*)"\xd2\x9c\x05" "rfind")
+QDEF(MP_QSTR_rindex, (const byte*)"\xe9\x2b\x06" "rindex")
QDEF(MP_QSTR_round, (const byte*)"\xe7\x25\x05" "round")
+QDEF(MP_QSTR_rpartition, (const byte*)"\x15\xd0\x0a" "rpartition")
+QDEF(MP_QSTR_rsplit, (const byte*)"\xa5\x00\x06" "rsplit")
+QDEF(MP_QSTR_rstrip, (const byte*)"\x3b\x95\x06" "rstrip")
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_sdiv, (const byte*)"\xcd\x7a\x04" "sdiv")
+#endif
+QDEF(MP_QSTR_send, (const byte*)"\xb9\x76\x04" "send")
+QDEF(MP_QSTR_sep, (const byte*)"\x23\x8f\x03" "sep")
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_set, (const byte*)"\x27\x8f\x03" "set")
+#elif (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_set, (const byte*)"\x27\x8f\x03" "set")
+#endif
+QDEF(MP_QSTR_setattr, (const byte*)"\xd4\xa8\x07" "setattr")
+QDEF(MP_QSTR_setdefault, (const byte*)"\x6c\xa3\x0a" "setdefault")
+#if (MICROPY_PY_BUILTINS_PROPERTY)
+QDEF(MP_QSTR_setter, (const byte*)"\x04\x59\x06" "setter")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_sin, (const byte*)"\xb1\x90\x03" "sin")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_sin, (const byte*)"\xb1\x90\x03" "sin")
+#endif
+#if (MICROPY_PY_BUILTINS_COMPILE)
+QDEF(MP_QSTR_single, (const byte*)"\x3f\x20\x06" "single")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_sinh, (const byte*)"\xb9\xa6\x04" "sinh")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_sinh, (const byte*)"\xb9\xa6\x04" "sinh")
+#endif
+#if (MICROPY_PY_BUILTINS_SLICE)
+QDEF(MP_QSTR_slice, (const byte*)"\xb5\xf4\x05" "slice")
+#endif
+QDEF(MP_QSTR_sort, (const byte*)"\xbf\x9d\x04" "sort")
QDEF(MP_QSTR_sorted, (const byte*)"\x5e\x15\x06" "sorted")
+QDEF(MP_QSTR_split, (const byte*)"\xb7\x33\x05" "split")
+#if (MICROPY_PY_BUILTINS_STR_SPLITLINES)
+QDEF(MP_QSTR_splitlines, (const byte*)"\x6a\xd3\x0a" "splitlines")
+#elif (MICROPY_PY_BUILTINS_STR_UNICODE) && (MICROPY_PY_BUILTINS_STR_SPLITLINES)
+QDEF(MP_QSTR_splitlines, (const byte*)"\x6a\xd3\x0a" "splitlines")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_sqrt, (const byte*)"\x21\x44\x04" "sqrt")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_sqrt, (const byte*)"\x21\x44\x04" "sqrt")
+#endif
+#if (MICROPY_PY_MICROPYTHON_MEM_INFO) && (MICROPY_STACK_CHECK)
+QDEF(MP_QSTR_stack_use, (const byte*)"\x97\xf7\x09" "stack_use")
+#endif
+#if (MICROPY_PY_BUILTINS_ENUMERATE) && (MICROPY_CPYTHON_COMPAT)
+QDEF(MP_QSTR_start, (const byte*)"\x85\xef\x05" "start")
+#elif (MICROPY_PY_BUILTINS_RANGE_ATTRS)
+QDEF(MP_QSTR_start, (const byte*)"\x85\xef\x05" "start")
+#elif (MICROPY_PY_BUILTINS_SLICE) && (MICROPY_PY_BUILTINS_SLICE_ATTRS)
+QDEF(MP_QSTR_start, (const byte*)"\x85\xef\x05" "start")
+#endif
+QDEF(MP_QSTR_startswith, (const byte*)"\x74\xe8\x0a" "startswith")
+QDEF(MP_QSTR_staticmethod, (const byte*)"\x62\xaf\x0c" "staticmethod")
+#if (MICROPY_PY_SYS) && (MICROPY_PY_SYS_STDFILES)
+QDEF(MP_QSTR_stderr, (const byte*)"\xa3\x58\x06" "stderr")
+#endif
+#if (MICROPY_PY_SYS) && (MICROPY_PY_SYS_STDFILES)
+QDEF(MP_QSTR_stdin, (const byte*)"\x21\x04\x05" "stdin")
+#endif
+#if (MICROPY_PY_SYS) && (MICROPY_PY_SYS_STDFILES)
+QDEF(MP_QSTR_stdout, (const byte*)"\x08\x83\x06" "stdout")
+#endif
+#if (MICROPY_PY_BUILTINS_RANGE_ATTRS)
+QDEF(MP_QSTR_step, (const byte*)"\x57\x36\x04" "step")
+#elif (MICROPY_PY_BUILTINS_SLICE) && (MICROPY_PY_BUILTINS_SLICE_ATTRS)
+QDEF(MP_QSTR_step, (const byte*)"\x57\x36\x04" "step")
+#endif
+#if (MICROPY_PY_BUILTINS_RANGE_ATTRS)
+QDEF(MP_QSTR_stop, (const byte*)"\x9d\x36\x04" "stop")
+#elif (MICROPY_PY_BUILTINS_SLICE) && (MICROPY_PY_BUILTINS_SLICE_ATTRS)
+QDEF(MP_QSTR_stop, (const byte*)"\x9d\x36\x04" "stop")
+#endif
+QDEF(MP_QSTR_str, (const byte*)"\x50\x8d\x03" "str")
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_strb, (const byte*)"\x32\x37\x04" "strb")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_strex, (const byte*)"\xad\x1d\x05" "strex")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_strh, (const byte*)"\x38\x37\x04" "strh")
+#endif
+QDEF(MP_QSTR_strip, (const byte*)"\x29\x1e\x05" "strip")
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_sub, (const byte*)"\x21\x8d\x03" "sub")
+#elif (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_sub, (const byte*)"\x21\x8d\x03" "sub")
+#endif
QDEF(MP_QSTR_sum, (const byte*)"\x2e\x8d\x03" "sum")
-QDEF(MP_QSTR_calcsize, (const byte*)"\x4d\x38\x08" "calcsize")
-QDEF(MP_QSTR_pack, (const byte*)"\xbc\xd1\x04" "pack")
-QDEF(MP_QSTR_pack_into, (const byte*)"\x1f\xa9\x09" "pack_into")
+QDEF(MP_QSTR_super, (const byte*)"\xc4\xb2\x05" "super")
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_symmetric_difference, (const byte*)"\xce\x67\x14" "symmetric_difference")
+#endif
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_symmetric_difference_update, (const byte*)"\x60\xf8\x1b" "symmetric_difference_update")
+#endif
+#if (MICROPY_PY_SYS)
+QDEF(MP_QSTR_sys, (const byte*)"\xbc\x8e\x03" "sys")
+#elif (MICROPY_PY_SYS)
+QDEF(MP_QSTR_sys, (const byte*)"\xbc\x8e\x03" "sys")
+#elif (MICROPY_PY_SYS)
+QDEF(MP_QSTR_sys, (const byte*)"\xbc\x8e\x03" "sys")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_tan, (const byte*)"\xfe\x61\x03" "tan")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_tan, (const byte*)"\xfe\x61\x03" "tan")
+#endif
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_BUILTINS_COMPLEX && MICROPY_PY_CMATH)
+QDEF(MP_QSTR_tanh, (const byte*)"\xd6\xa1\x04" "tanh")
+#elif (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH) && (MICROPY_PY_MATH_SPECIAL_FUNCTIONS)
+QDEF(MP_QSTR_tanh, (const byte*)"\xd6\xa1\x04" "tanh")
+#endif
+QDEF(MP_QSTR_throw, (const byte*)"\xb3\x44\x05" "throw")
+QDEF(MP_QSTR_to_bytes, (const byte*)"\xd8\x3e\x08" "to_bytes")
+#if (MICROPY_PY_BUILTINS_FLOAT && MICROPY_PY_MATH)
+QDEF(MP_QSTR_trunc, (const byte*)"\x5b\x99\x05" "trunc")
+#endif
+QDEF(MP_QSTR_tuple, (const byte*)"\xfd\x41\x05" "tuple")
+QDEF(MP_QSTR_type, (const byte*)"\x9d\x7f\x04" "type")
+#if (MICROPY_PY_UBINASCII)
+QDEF(MP_QSTR_ubinascii, (const byte*)"\xc4\x88\x09" "ubinascii")
+#endif
+#if (MICROPY_PY_UCTYPES)
+QDEF(MP_QSTR_uctypes, (const byte*)"\xf8\x71\x07" "uctypes")
+#elif (MICROPY_ENABLE_COMPILER) && (MICROPY_COMP_MODULE_CONST) && (MICROPY_PY_UCTYPES)
+QDEF(MP_QSTR_uctypes, (const byte*)"\xf8\x71\x07" "uctypes")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_udiv, (const byte*)"\x8b\x31\x04" "udiv")
+#endif
+#if (MICROPY_PY_UHASHLIB)
+QDEF(MP_QSTR_uhashlib, (const byte*)"\x65\x9d\x08" "uhashlib")
+#endif
+#if (MICROPY_PY_UHEAPQ)
+QDEF(MP_QSTR_uheapq, (const byte*)"\x1d\x43\x06" "uheapq")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_uint, (const byte*)"\xe3\x3d\x04" "uint")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_uint, (const byte*)"\xe3\x3d\x04" "uint")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_uint, (const byte*)"\xe3\x3d\x04" "uint")
+#elif ((MICROPY_EMIT_X64 && N_X64) || (MICROPY_EMIT_X86 && N_X86) || (MICROPY_EMIT_THUMB && N_THUMB) || (MICROPY_EMIT_ARM && N_ARM))
+QDEF(MP_QSTR_uint, (const byte*)"\xe3\x3d\x04" "uint")
+#endif
+#if (MICROPY_PY_UJSON)
+QDEF(MP_QSTR_ujson, (const byte*)"\xe8\x30\x05" "ujson")
+#endif
+#if (MICROPY_PY_MACHINE)
+QDEF(MP_QSTR_umachine, (const byte*)"\x95\x7f\x08" "umachine")
+#elif (MICROPY_PY_MACHINE)
+QDEF(MP_QSTR_umachine, (const byte*)"\x95\x7f\x08" "umachine")
+#endif
+#if (MICROPY_PY_BUILTINS_SET)
+QDEF(MP_QSTR_union, (const byte*)"\xf6\x7c\x05" "union")
+#endif
+#if (MICROPY_PY_STRUCT)
QDEF(MP_QSTR_unpack, (const byte*)"\x07\x3c\x06" "unpack")
+#endif
+#if (MICROPY_PY_STRUCT)
QDEF(MP_QSTR_unpack_from, (const byte*)"\x0e\x6d\x0b" "unpack_from")
-QDEF(MP_QSTR_path, (const byte*)"\x88\xce\x04" "path")
-QDEF(MP_QSTR_argv, (const byte*)"\xc7\xc6\x04" "argv")
+#endif
+QDEF(MP_QSTR_update, (const byte*)"\xb4\x76\x06" "update")
+QDEF(MP_QSTR_upper, (const byte*)"\x27\x94\x05" "upper")
+#if (MICROPY_PY_URANDOM)
+QDEF(MP_QSTR_urandom, (const byte*)"\xab\xae\x07" "urandom")
+#endif
+#if (MICROPY_PY_URE)
+QDEF(MP_QSTR_ure, (const byte*)"\x87\x63\x03" "ure")
+#endif
+#if (MICROPY_PY_USSL)
+QDEF(MP_QSTR_ussl, (const byte*)"\x1c\xf2\x04" "ussl")
+#endif
+#if (MICROPY_PY_STRUCT)
+QDEF(MP_QSTR_ustruct, (const byte*)"\x47\x08\x07" "ustruct")
+#elif (MICROPY_PY_STRUCT)
+QDEF(MP_QSTR_ustruct, (const byte*)"\x47\x08\x07" "ustruct")
+#elif (MICROPY_PY_STRUCT)
+QDEF(MP_QSTR_ustruct, (const byte*)"\x47\x08\x07" "ustruct")
+#endif
+QDEF(MP_QSTR_utf_hyphen_8, (const byte*)"\xb7\x82\x05" "utf-8")
+#if (MICROPY_PY_UZLIB)
+QDEF(MP_QSTR_uzlib, (const byte*)"\x6d\x9b\x05" "uzlib")
+#endif
+QDEF(MP_QSTR_value, (const byte*)"\x4e\x34\x05" "value")
+QDEF(MP_QSTR_values, (const byte*)"\x7d\xbe\x06" "values")
+#if (MICROPY_EMIT_INLINE_THUMB) && (MICROPY_EMIT_INLINE_THUMB_FLOAT)
+QDEF(MP_QSTR_vcmp, (const byte*)"\xad\xc1\x04" "vcmp")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB) && (MICROPY_EMIT_INLINE_THUMB_FLOAT)
+QDEF(MP_QSTR_vcvt_f32_s32, (const byte*)"\x47\xc9\x0c" "vcvt_f32_s32")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB) && (MICROPY_EMIT_INLINE_THUMB_FLOAT)
+QDEF(MP_QSTR_vcvt_s32_f32, (const byte*)"\x07\x33\x0c" "vcvt_s32_f32")
+#endif
+#if (MICROPY_PY_SYS) && (MICROPY_PY_ATTRTUPLE)
QDEF(MP_QSTR_version, (const byte*)"\xbf\xd3\x07" "version")
+#elif (MICROPY_PY_SYS)
+QDEF(MP_QSTR_version, (const byte*)"\xbf\xd3\x07" "version")
+#endif
+#if (MICROPY_PY_SYS)
QDEF(MP_QSTR_version_info, (const byte*)"\x6e\x0a\x0c" "version_info")
-QDEF(MP_QSTR_implementation, (const byte*)"\x17\x2d\x0e" "implementation")
-QDEF(MP_QSTR_byteorder, (const byte*)"\x61\x99\x09" "byteorder")
-QDEF(MP_QSTR_little, (const byte*)"\x89\x6a\x06" "little")
-QDEF(MP_QSTR_modules, (const byte*)"\xec\xd1\x07" "modules")
-QDEF(MP_QSTR_print_exception, (const byte*)"\x1c\x22\x0f" "print_exception")
-QDEF(MP_QSTR___exit__, (const byte*)"\x45\xf8\x08" "__exit__")
-QDEF(MP_QSTR___enter__, (const byte*)"\x6d\xba\x09" "__enter__")
-QDEF(MP_QSTR_mem, (const byte*)"\x20\x44\x03" "mem")
+#endif
+#if (MICROPY_ENABLE_COMPILER) && (MICROPY_EMIT_NATIVE)
+QDEF(MP_QSTR_viper, (const byte*)"\x5d\x23\x05" "viper")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB) && (MICROPY_EMIT_INLINE_THUMB_FLOAT)
+QDEF(MP_QSTR_vldr, (const byte*)"\xc9\x07\x04" "vldr")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB) && (MICROPY_EMIT_INLINE_THUMB_FLOAT)
+QDEF(MP_QSTR_vmov, (const byte*)"\xe7\x0a\x04" "vmov")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB) && (MICROPY_EMIT_INLINE_THUMB_FLOAT)
+QDEF(MP_QSTR_vmrs, (const byte*)"\x9f\x09\x04" "vmrs")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB) && (MICROPY_EMIT_INLINE_THUMB_FLOAT)
+QDEF(MP_QSTR_vneg, (const byte*)"\xff\xee\x04" "vneg")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB) && (MICROPY_EMIT_INLINE_THUMB_FLOAT)
+QDEF(MP_QSTR_vsqrt, (const byte*)"\xf7\x42\x05" "vsqrt")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB) && (MICROPY_EMIT_INLINE_THUMB_FLOAT)
+QDEF(MP_QSTR_vstr, (const byte*)"\xc6\x7e\x04" "vstr")
+#endif
+#if (MICROPY_PY_WEBSOCKET)
+QDEF(MP_QSTR_websocket, (const byte*)"\x90\x8d\x09" "websocket")
+#endif
+#if (MICROPY_EMIT_INLINE_THUMB)
+QDEF(MP_QSTR_wfi, (const byte*)"\x9d\x7e\x03" "wfi")
+#endif
+#if (MICROPY_PY_IO) && (MICROPY_PY_IO_BUFFEREDWRITER)
+QDEF(MP_QSTR_write, (const byte*)"\x98\xa8\x05" "write")
+#elif (MICROPY_PY_IO)
+QDEF(MP_QSTR_write, (const byte*)"\x98\xa8\x05" "write")
+#elif (MICROPY_PY_MBED)
+QDEF(MP_QSTR_write, (const byte*)"\x98\xa8\x05" "write")
+#elif (MICROPY_PY_MBED) && (MICROPY_MBED_DIGITALOUT)
+QDEF(MP_QSTR_write, (const byte*)"\x98\xa8\x05" "write")
+#endif
+QDEF(MP_QSTR_xxxx, (const byte*)"\x05\xcd\x04" "xxxx")
+QDEF(MP_QSTR_zip, (const byte*)"\xe6\xac\x03" "zip")
--- a/lib/utils/pyexec.c Thu Apr 21 12:52:58 2016 +0100
+++ b/lib/utils/pyexec.c Sun Apr 24 21:57:21 2016 +0100
@@ -110,7 +110,6 @@
if ((exec_flags & EXEC_FLAG_ALLOW_DEBUGGING) && repl_display_debugging_info) {
mp_uint_t ticks = mp_hal_ticks_ms() - start; // TODO implement a function that does this properly
printf("took " UINT_FMT " ms\n", ticks);
- gc_collect();
// qstr info
{
mp_uint_t n_pool, n_qstr, n_str_data_bytes, n_total_bytes;
@@ -118,8 +117,11 @@
printf("qstr:\n n_pool=" UINT_FMT "\n n_qstr=" UINT_FMT "\n n_str_data_bytes=" UINT_FMT "\n n_total_bytes=" UINT_FMT "\n", n_pool, n_qstr, n_str_data_bytes, n_total_bytes);
}
- // GC info
+ #if MICROPY_ENABLE_GC
+ // run collection and print GC info
+ gc_collect();
gc_dump_info();
+ #endif
}
if (exec_flags & EXEC_FLAG_PRINT_EOF) {
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbedpins.h Sun Apr 24 21:57:21 2016 +0100
@@ -0,0 +1,717 @@
+// Generated by makembedpins.py
+#if defined(TARGET_K64F)
+ { MP_ROM_QSTR(MP_QSTR_PTA0), MP_ROM_INT(PTA0) },
+ { MP_ROM_QSTR(MP_QSTR_PTA1), MP_ROM_INT(PTA1) },
+ { MP_ROM_QSTR(MP_QSTR_PTA2), MP_ROM_INT(PTA2) },
+ { MP_ROM_QSTR(MP_QSTR_PTA3), MP_ROM_INT(PTA3) },
+ { MP_ROM_QSTR(MP_QSTR_PTA4), MP_ROM_INT(PTA4) },
+ { MP_ROM_QSTR(MP_QSTR_PTA5), MP_ROM_INT(PTA5) },
+ { MP_ROM_QSTR(MP_QSTR_PTA6), MP_ROM_INT(PTA6) },
+ { MP_ROM_QSTR(MP_QSTR_PTA7), MP_ROM_INT(PTA7) },
+ { MP_ROM_QSTR(MP_QSTR_PTA8), MP_ROM_INT(PTA8) },
+ { MP_ROM_QSTR(MP_QSTR_PTA9), MP_ROM_INT(PTA9) },
+ { MP_ROM_QSTR(MP_QSTR_PTA10), MP_ROM_INT(PTA10) },
+ { MP_ROM_QSTR(MP_QSTR_PTA11), MP_ROM_INT(PTA11) },
+ { MP_ROM_QSTR(MP_QSTR_PTA12), MP_ROM_INT(PTA12) },
+ { MP_ROM_QSTR(MP_QSTR_PTA13), MP_ROM_INT(PTA13) },
+ { MP_ROM_QSTR(MP_QSTR_PTA14), MP_ROM_INT(PTA14) },
+ { MP_ROM_QSTR(MP_QSTR_PTA15), MP_ROM_INT(PTA15) },
+ { MP_ROM_QSTR(MP_QSTR_PTA16), MP_ROM_INT(PTA16) },
+ { MP_ROM_QSTR(MP_QSTR_PTA17), MP_ROM_INT(PTA17) },
+ { MP_ROM_QSTR(MP_QSTR_PTA18), MP_ROM_INT(PTA18) },
+ { MP_ROM_QSTR(MP_QSTR_PTA19), MP_ROM_INT(PTA19) },
+ { MP_ROM_QSTR(MP_QSTR_PTA20), MP_ROM_INT(PTA20) },
+ { MP_ROM_QSTR(MP_QSTR_PTA21), MP_ROM_INT(PTA21) },
+ { MP_ROM_QSTR(MP_QSTR_PTA22), MP_ROM_INT(PTA22) },
+ { MP_ROM_QSTR(MP_QSTR_PTA23), MP_ROM_INT(PTA23) },
+ { MP_ROM_QSTR(MP_QSTR_PTA24), MP_ROM_INT(PTA24) },
+ { MP_ROM_QSTR(MP_QSTR_PTA25), MP_ROM_INT(PTA25) },
+ { MP_ROM_QSTR(MP_QSTR_PTA26), MP_ROM_INT(PTA26) },
+ { MP_ROM_QSTR(MP_QSTR_PTA27), MP_ROM_INT(PTA27) },
+ { MP_ROM_QSTR(MP_QSTR_PTA28), MP_ROM_INT(PTA28) },
+ { MP_ROM_QSTR(MP_QSTR_PTA29), MP_ROM_INT(PTA29) },
+ { MP_ROM_QSTR(MP_QSTR_PTA30), MP_ROM_INT(PTA30) },
+ { MP_ROM_QSTR(MP_QSTR_PTA31), MP_ROM_INT(PTA31) },
+ { MP_ROM_QSTR(MP_QSTR_PTB0), MP_ROM_INT(PTB0) },
+ { MP_ROM_QSTR(MP_QSTR_PTB1), MP_ROM_INT(PTB1) },
+ { MP_ROM_QSTR(MP_QSTR_PTB2), MP_ROM_INT(PTB2) },
+ { MP_ROM_QSTR(MP_QSTR_PTB3), MP_ROM_INT(PTB3) },
+ { MP_ROM_QSTR(MP_QSTR_PTB4), MP_ROM_INT(PTB4) },
+ { MP_ROM_QSTR(MP_QSTR_PTB5), MP_ROM_INT(PTB5) },
+ { MP_ROM_QSTR(MP_QSTR_PTB6), MP_ROM_INT(PTB6) },
+ { MP_ROM_QSTR(MP_QSTR_PTB7), MP_ROM_INT(PTB7) },
+ { MP_ROM_QSTR(MP_QSTR_PTB8), MP_ROM_INT(PTB8) },
+ { MP_ROM_QSTR(MP_QSTR_PTB9), MP_ROM_INT(PTB9) },
+ { MP_ROM_QSTR(MP_QSTR_PTB10), MP_ROM_INT(PTB10) },
+ { MP_ROM_QSTR(MP_QSTR_PTB11), MP_ROM_INT(PTB11) },
+ { MP_ROM_QSTR(MP_QSTR_PTB12), MP_ROM_INT(PTB12) },
+ { MP_ROM_QSTR(MP_QSTR_PTB13), MP_ROM_INT(PTB13) },
+ { MP_ROM_QSTR(MP_QSTR_PTB14), MP_ROM_INT(PTB14) },
+ { MP_ROM_QSTR(MP_QSTR_PTB15), MP_ROM_INT(PTB15) },
+ { MP_ROM_QSTR(MP_QSTR_PTB16), MP_ROM_INT(PTB16) },
+ { MP_ROM_QSTR(MP_QSTR_PTB17), MP_ROM_INT(PTB17) },
+ { MP_ROM_QSTR(MP_QSTR_PTB18), MP_ROM_INT(PTB18) },
+ { MP_ROM_QSTR(MP_QSTR_PTB19), MP_ROM_INT(PTB19) },
+ { MP_ROM_QSTR(MP_QSTR_PTB20), MP_ROM_INT(PTB20) },
+ { MP_ROM_QSTR(MP_QSTR_PTB21), MP_ROM_INT(PTB21) },
+ { MP_ROM_QSTR(MP_QSTR_PTB22), MP_ROM_INT(PTB22) },
+ { MP_ROM_QSTR(MP_QSTR_PTB23), MP_ROM_INT(PTB23) },
+ { MP_ROM_QSTR(MP_QSTR_PTB24), MP_ROM_INT(PTB24) },
+ { MP_ROM_QSTR(MP_QSTR_PTB25), MP_ROM_INT(PTB25) },
+ { MP_ROM_QSTR(MP_QSTR_PTB26), MP_ROM_INT(PTB26) },
+ { MP_ROM_QSTR(MP_QSTR_PTB27), MP_ROM_INT(PTB27) },
+ { MP_ROM_QSTR(MP_QSTR_PTB28), MP_ROM_INT(PTB28) },
+ { MP_ROM_QSTR(MP_QSTR_PTB29), MP_ROM_INT(PTB29) },
+ { MP_ROM_QSTR(MP_QSTR_PTB30), MP_ROM_INT(PTB30) },
+ { MP_ROM_QSTR(MP_QSTR_PTB31), MP_ROM_INT(PTB31) },
+ { MP_ROM_QSTR(MP_QSTR_PTC0), MP_ROM_INT(PTC0) },
+ { MP_ROM_QSTR(MP_QSTR_PTC1), MP_ROM_INT(PTC1) },
+ { MP_ROM_QSTR(MP_QSTR_PTC2), MP_ROM_INT(PTC2) },
+ { MP_ROM_QSTR(MP_QSTR_PTC3), MP_ROM_INT(PTC3) },
+ { MP_ROM_QSTR(MP_QSTR_PTC4), MP_ROM_INT(PTC4) },
+ { MP_ROM_QSTR(MP_QSTR_PTC5), MP_ROM_INT(PTC5) },
+ { MP_ROM_QSTR(MP_QSTR_PTC6), MP_ROM_INT(PTC6) },
+ { MP_ROM_QSTR(MP_QSTR_PTC7), MP_ROM_INT(PTC7) },
+ { MP_ROM_QSTR(MP_QSTR_PTC8), MP_ROM_INT(PTC8) },
+ { MP_ROM_QSTR(MP_QSTR_PTC9), MP_ROM_INT(PTC9) },
+ { MP_ROM_QSTR(MP_QSTR_PTC10), MP_ROM_INT(PTC10) },
+ { MP_ROM_QSTR(MP_QSTR_PTC11), MP_ROM_INT(PTC11) },
+ { MP_ROM_QSTR(MP_QSTR_PTC12), MP_ROM_INT(PTC12) },
+ { MP_ROM_QSTR(MP_QSTR_PTC13), MP_ROM_INT(PTC13) },
+ { MP_ROM_QSTR(MP_QSTR_PTC14), MP_ROM_INT(PTC14) },
+ { MP_ROM_QSTR(MP_QSTR_PTC15), MP_ROM_INT(PTC15) },
+ { MP_ROM_QSTR(MP_QSTR_PTC16), MP_ROM_INT(PTC16) },
+ { MP_ROM_QSTR(MP_QSTR_PTC17), MP_ROM_INT(PTC17) },
+ { MP_ROM_QSTR(MP_QSTR_PTC18), MP_ROM_INT(PTC18) },
+ { MP_ROM_QSTR(MP_QSTR_PTC19), MP_ROM_INT(PTC19) },
+ { MP_ROM_QSTR(MP_QSTR_PTC20), MP_ROM_INT(PTC20) },
+ { MP_ROM_QSTR(MP_QSTR_PTC21), MP_ROM_INT(PTC21) },
+ { MP_ROM_QSTR(MP_QSTR_PTC22), MP_ROM_INT(PTC22) },
+ { MP_ROM_QSTR(MP_QSTR_PTC23), MP_ROM_INT(PTC23) },
+ { MP_ROM_QSTR(MP_QSTR_PTC24), MP_ROM_INT(PTC24) },
+ { MP_ROM_QSTR(MP_QSTR_PTC25), MP_ROM_INT(PTC25) },
+ { MP_ROM_QSTR(MP_QSTR_PTC26), MP_ROM_INT(PTC26) },
+ { MP_ROM_QSTR(MP_QSTR_PTC27), MP_ROM_INT(PTC27) },
+ { MP_ROM_QSTR(MP_QSTR_PTC28), MP_ROM_INT(PTC28) },
+ { MP_ROM_QSTR(MP_QSTR_PTC29), MP_ROM_INT(PTC29) },
+ { MP_ROM_QSTR(MP_QSTR_PTC30), MP_ROM_INT(PTC30) },
+ { MP_ROM_QSTR(MP_QSTR_PTC31), MP_ROM_INT(PTC31) },
+ { MP_ROM_QSTR(MP_QSTR_PTD0), MP_ROM_INT(PTD0) },
+ { MP_ROM_QSTR(MP_QSTR_PTD1), MP_ROM_INT(PTD1) },
+ { MP_ROM_QSTR(MP_QSTR_PTD2), MP_ROM_INT(PTD2) },
+ { MP_ROM_QSTR(MP_QSTR_PTD3), MP_ROM_INT(PTD3) },
+ { MP_ROM_QSTR(MP_QSTR_PTD4), MP_ROM_INT(PTD4) },
+ { MP_ROM_QSTR(MP_QSTR_PTD5), MP_ROM_INT(PTD5) },
+ { MP_ROM_QSTR(MP_QSTR_PTD6), MP_ROM_INT(PTD6) },
+ { MP_ROM_QSTR(MP_QSTR_PTD7), MP_ROM_INT(PTD7) },
+ { MP_ROM_QSTR(MP_QSTR_PTD8), MP_ROM_INT(PTD8) },
+ { MP_ROM_QSTR(MP_QSTR_PTD9), MP_ROM_INT(PTD9) },
+ { MP_ROM_QSTR(MP_QSTR_PTD10), MP_ROM_INT(PTD10) },
+ { MP_ROM_QSTR(MP_QSTR_PTD11), MP_ROM_INT(PTD11) },
+ { MP_ROM_QSTR(MP_QSTR_PTD12), MP_ROM_INT(PTD12) },
+ { MP_ROM_QSTR(MP_QSTR_PTD13), MP_ROM_INT(PTD13) },
+ { MP_ROM_QSTR(MP_QSTR_PTD14), MP_ROM_INT(PTD14) },
+ { MP_ROM_QSTR(MP_QSTR_PTD15), MP_ROM_INT(PTD15) },
+ { MP_ROM_QSTR(MP_QSTR_PTD16), MP_ROM_INT(PTD16) },
+ { MP_ROM_QSTR(MP_QSTR_PTD17), MP_ROM_INT(PTD17) },
+ { MP_ROM_QSTR(MP_QSTR_PTD18), MP_ROM_INT(PTD18) },
+ { MP_ROM_QSTR(MP_QSTR_PTD19), MP_ROM_INT(PTD19) },
+ { MP_ROM_QSTR(MP_QSTR_PTD20), MP_ROM_INT(PTD20) },
+ { MP_ROM_QSTR(MP_QSTR_PTD21), MP_ROM_INT(PTD21) },
+ { MP_ROM_QSTR(MP_QSTR_PTD22), MP_ROM_INT(PTD22) },
+ { MP_ROM_QSTR(MP_QSTR_PTD23), MP_ROM_INT(PTD23) },
+ { MP_ROM_QSTR(MP_QSTR_PTD24), MP_ROM_INT(PTD24) },
+ { MP_ROM_QSTR(MP_QSTR_PTD25), MP_ROM_INT(PTD25) },
+ { MP_ROM_QSTR(MP_QSTR_PTD26), MP_ROM_INT(PTD26) },
+ { MP_ROM_QSTR(MP_QSTR_PTD27), MP_ROM_INT(PTD27) },
+ { MP_ROM_QSTR(MP_QSTR_PTD28), MP_ROM_INT(PTD28) },
+ { MP_ROM_QSTR(MP_QSTR_PTD29), MP_ROM_INT(PTD29) },
+ { MP_ROM_QSTR(MP_QSTR_PTD30), MP_ROM_INT(PTD30) },
+ { MP_ROM_QSTR(MP_QSTR_PTD31), MP_ROM_INT(PTD31) },
+ { MP_ROM_QSTR(MP_QSTR_PTE0), MP_ROM_INT(PTE0) },
+ { MP_ROM_QSTR(MP_QSTR_PTE1), MP_ROM_INT(PTE1) },
+ { MP_ROM_QSTR(MP_QSTR_PTE2), MP_ROM_INT(PTE2) },
+ { MP_ROM_QSTR(MP_QSTR_PTE3), MP_ROM_INT(PTE3) },
+ { MP_ROM_QSTR(MP_QSTR_PTE4), MP_ROM_INT(PTE4) },
+ { MP_ROM_QSTR(MP_QSTR_PTE5), MP_ROM_INT(PTE5) },
+ { MP_ROM_QSTR(MP_QSTR_PTE6), MP_ROM_INT(PTE6) },
+ { MP_ROM_QSTR(MP_QSTR_PTE7), MP_ROM_INT(PTE7) },
+ { MP_ROM_QSTR(MP_QSTR_PTE8), MP_ROM_INT(PTE8) },
+ { MP_ROM_QSTR(MP_QSTR_PTE9), MP_ROM_INT(PTE9) },
+ { MP_ROM_QSTR(MP_QSTR_PTE10), MP_ROM_INT(PTE10) },
+ { MP_ROM_QSTR(MP_QSTR_PTE11), MP_ROM_INT(PTE11) },
+ { MP_ROM_QSTR(MP_QSTR_PTE12), MP_ROM_INT(PTE12) },
+ { MP_ROM_QSTR(MP_QSTR_PTE13), MP_ROM_INT(PTE13) },
+ { MP_ROM_QSTR(MP_QSTR_PTE14), MP_ROM_INT(PTE14) },
+ { MP_ROM_QSTR(MP_QSTR_PTE15), MP_ROM_INT(PTE15) },
+ { MP_ROM_QSTR(MP_QSTR_PTE16), MP_ROM_INT(PTE16) },
+ { MP_ROM_QSTR(MP_QSTR_PTE17), MP_ROM_INT(PTE17) },
+ { MP_ROM_QSTR(MP_QSTR_PTE18), MP_ROM_INT(PTE18) },
+ { MP_ROM_QSTR(MP_QSTR_PTE19), MP_ROM_INT(PTE19) },
+ { MP_ROM_QSTR(MP_QSTR_PTE20), MP_ROM_INT(PTE20) },
+ { MP_ROM_QSTR(MP_QSTR_PTE21), MP_ROM_INT(PTE21) },
+ { MP_ROM_QSTR(MP_QSTR_PTE22), MP_ROM_INT(PTE22) },
+ { MP_ROM_QSTR(MP_QSTR_PTE23), MP_ROM_INT(PTE23) },
+ { MP_ROM_QSTR(MP_QSTR_PTE24), MP_ROM_INT(PTE24) },
+ { MP_ROM_QSTR(MP_QSTR_PTE25), MP_ROM_INT(PTE25) },
+ { MP_ROM_QSTR(MP_QSTR_PTE26), MP_ROM_INT(PTE26) },
+ { MP_ROM_QSTR(MP_QSTR_PTE27), MP_ROM_INT(PTE27) },
+ { MP_ROM_QSTR(MP_QSTR_PTE28), MP_ROM_INT(PTE28) },
+ { MP_ROM_QSTR(MP_QSTR_PTE29), MP_ROM_INT(PTE29) },
+ { MP_ROM_QSTR(MP_QSTR_PTE30), MP_ROM_INT(PTE30) },
+ { MP_ROM_QSTR(MP_QSTR_PTE31), MP_ROM_INT(PTE31) },
+ { MP_ROM_QSTR(MP_QSTR_LED_RED), MP_ROM_INT(LED_RED) },
+ { MP_ROM_QSTR(MP_QSTR_LED_GREEN), MP_ROM_INT(LED_GREEN) },
+ { MP_ROM_QSTR(MP_QSTR_LED_BLUE), MP_ROM_INT(LED_BLUE) },
+ { MP_ROM_QSTR(MP_QSTR_LED1), MP_ROM_INT(LED1) },
+ { MP_ROM_QSTR(MP_QSTR_LED2), MP_ROM_INT(LED2) },
+ { MP_ROM_QSTR(MP_QSTR_LED3), MP_ROM_INT(LED3) },
+ { MP_ROM_QSTR(MP_QSTR_LED4), MP_ROM_INT(LED4) },
+ { MP_ROM_QSTR(MP_QSTR_SW2), MP_ROM_INT(SW2) },
+ { MP_ROM_QSTR(MP_QSTR_SW3), MP_ROM_INT(SW3) },
+ { MP_ROM_QSTR(MP_QSTR_USBTX), MP_ROM_INT(USBTX) },
+ { MP_ROM_QSTR(MP_QSTR_USBRX), MP_ROM_INT(USBRX) },
+ { MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_INT(D0) },
+ { MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_INT(D1) },
+ { MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_INT(D2) },
+ { MP_ROM_QSTR(MP_QSTR_D3), MP_ROM_INT(D3) },
+ { MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_INT(D4) },
+ { MP_ROM_QSTR(MP_QSTR_D5), MP_ROM_INT(D5) },
+ { MP_ROM_QSTR(MP_QSTR_D6), MP_ROM_INT(D6) },
+ { MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_INT(D7) },
+ { MP_ROM_QSTR(MP_QSTR_D8), MP_ROM_INT(D8) },
+ { MP_ROM_QSTR(MP_QSTR_D9), MP_ROM_INT(D9) },
+ { MP_ROM_QSTR(MP_QSTR_D10), MP_ROM_INT(D10) },
+ { MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_INT(D11) },
+ { MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_INT(D12) },
+ { MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_INT(D13) },
+ { MP_ROM_QSTR(MP_QSTR_D14), MP_ROM_INT(D14) },
+ { MP_ROM_QSTR(MP_QSTR_D15), MP_ROM_INT(D15) },
+ { MP_ROM_QSTR(MP_QSTR_I2C_SCL), MP_ROM_INT(I2C_SCL) },
+ { MP_ROM_QSTR(MP_QSTR_I2C_SDA), MP_ROM_INT(I2C_SDA) },
+ { MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_INT(A0) },
+ { MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_INT(A1) },
+ { MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_INT(A2) },
+ { MP_ROM_QSTR(MP_QSTR_A3), MP_ROM_INT(A3) },
+ { MP_ROM_QSTR(MP_QSTR_A4), MP_ROM_INT(A4) },
+ { MP_ROM_QSTR(MP_QSTR_A5), MP_ROM_INT(A5) },
+ { MP_ROM_QSTR(MP_QSTR_DAC0_OUT), MP_ROM_INT(DAC0_OUT) },
+ { MP_ROM_QSTR(MP_QSTR_NC), MP_ROM_INT(NC) },
+#elif defined(TARGET_KL25Z)
+ { MP_ROM_QSTR(MP_QSTR_PTA0), MP_ROM_INT(PTA0) },
+ { MP_ROM_QSTR(MP_QSTR_PTA1), MP_ROM_INT(PTA1) },
+ { MP_ROM_QSTR(MP_QSTR_PTA2), MP_ROM_INT(PTA2) },
+ { MP_ROM_QSTR(MP_QSTR_PTA3), MP_ROM_INT(PTA3) },
+ { MP_ROM_QSTR(MP_QSTR_PTA4), MP_ROM_INT(PTA4) },
+ { MP_ROM_QSTR(MP_QSTR_PTA5), MP_ROM_INT(PTA5) },
+ { MP_ROM_QSTR(MP_QSTR_PTA6), MP_ROM_INT(PTA6) },
+ { MP_ROM_QSTR(MP_QSTR_PTA7), MP_ROM_INT(PTA7) },
+ { MP_ROM_QSTR(MP_QSTR_PTA8), MP_ROM_INT(PTA8) },
+ { MP_ROM_QSTR(MP_QSTR_PTA9), MP_ROM_INT(PTA9) },
+ { MP_ROM_QSTR(MP_QSTR_PTA10), MP_ROM_INT(PTA10) },
+ { MP_ROM_QSTR(MP_QSTR_PTA11), MP_ROM_INT(PTA11) },
+ { MP_ROM_QSTR(MP_QSTR_PTA12), MP_ROM_INT(PTA12) },
+ { MP_ROM_QSTR(MP_QSTR_PTA13), MP_ROM_INT(PTA13) },
+ { MP_ROM_QSTR(MP_QSTR_PTA14), MP_ROM_INT(PTA14) },
+ { MP_ROM_QSTR(MP_QSTR_PTA15), MP_ROM_INT(PTA15) },
+ { MP_ROM_QSTR(MP_QSTR_PTA16), MP_ROM_INT(PTA16) },
+ { MP_ROM_QSTR(MP_QSTR_PTA17), MP_ROM_INT(PTA17) },
+ { MP_ROM_QSTR(MP_QSTR_PTA18), MP_ROM_INT(PTA18) },
+ { MP_ROM_QSTR(MP_QSTR_PTA19), MP_ROM_INT(PTA19) },
+ { MP_ROM_QSTR(MP_QSTR_PTA20), MP_ROM_INT(PTA20) },
+ { MP_ROM_QSTR(MP_QSTR_PTA21), MP_ROM_INT(PTA21) },
+ { MP_ROM_QSTR(MP_QSTR_PTA22), MP_ROM_INT(PTA22) },
+ { MP_ROM_QSTR(MP_QSTR_PTA23), MP_ROM_INT(PTA23) },
+ { MP_ROM_QSTR(MP_QSTR_PTA24), MP_ROM_INT(PTA24) },
+ { MP_ROM_QSTR(MP_QSTR_PTA25), MP_ROM_INT(PTA25) },
+ { MP_ROM_QSTR(MP_QSTR_PTA26), MP_ROM_INT(PTA26) },
+ { MP_ROM_QSTR(MP_QSTR_PTA27), MP_ROM_INT(PTA27) },
+ { MP_ROM_QSTR(MP_QSTR_PTA28), MP_ROM_INT(PTA28) },
+ { MP_ROM_QSTR(MP_QSTR_PTA29), MP_ROM_INT(PTA29) },
+ { MP_ROM_QSTR(MP_QSTR_PTA30), MP_ROM_INT(PTA30) },
+ { MP_ROM_QSTR(MP_QSTR_PTA31), MP_ROM_INT(PTA31) },
+ { MP_ROM_QSTR(MP_QSTR_PTB0), MP_ROM_INT(PTB0) },
+ { MP_ROM_QSTR(MP_QSTR_PTB1), MP_ROM_INT(PTB1) },
+ { MP_ROM_QSTR(MP_QSTR_PTB2), MP_ROM_INT(PTB2) },
+ { MP_ROM_QSTR(MP_QSTR_PTB3), MP_ROM_INT(PTB3) },
+ { MP_ROM_QSTR(MP_QSTR_PTB4), MP_ROM_INT(PTB4) },
+ { MP_ROM_QSTR(MP_QSTR_PTB5), MP_ROM_INT(PTB5) },
+ { MP_ROM_QSTR(MP_QSTR_PTB6), MP_ROM_INT(PTB6) },
+ { MP_ROM_QSTR(MP_QSTR_PTB7), MP_ROM_INT(PTB7) },
+ { MP_ROM_QSTR(MP_QSTR_PTB8), MP_ROM_INT(PTB8) },
+ { MP_ROM_QSTR(MP_QSTR_PTB9), MP_ROM_INT(PTB9) },
+ { MP_ROM_QSTR(MP_QSTR_PTB10), MP_ROM_INT(PTB10) },
+ { MP_ROM_QSTR(MP_QSTR_PTB11), MP_ROM_INT(PTB11) },
+ { MP_ROM_QSTR(MP_QSTR_PTB12), MP_ROM_INT(PTB12) },
+ { MP_ROM_QSTR(MP_QSTR_PTB13), MP_ROM_INT(PTB13) },
+ { MP_ROM_QSTR(MP_QSTR_PTB14), MP_ROM_INT(PTB14) },
+ { MP_ROM_QSTR(MP_QSTR_PTB15), MP_ROM_INT(PTB15) },
+ { MP_ROM_QSTR(MP_QSTR_PTB16), MP_ROM_INT(PTB16) },
+ { MP_ROM_QSTR(MP_QSTR_PTB17), MP_ROM_INT(PTB17) },
+ { MP_ROM_QSTR(MP_QSTR_PTB18), MP_ROM_INT(PTB18) },
+ { MP_ROM_QSTR(MP_QSTR_PTB19), MP_ROM_INT(PTB19) },
+ { MP_ROM_QSTR(MP_QSTR_PTB20), MP_ROM_INT(PTB20) },
+ { MP_ROM_QSTR(MP_QSTR_PTB21), MP_ROM_INT(PTB21) },
+ { MP_ROM_QSTR(MP_QSTR_PTB22), MP_ROM_INT(PTB22) },
+ { MP_ROM_QSTR(MP_QSTR_PTB23), MP_ROM_INT(PTB23) },
+ { MP_ROM_QSTR(MP_QSTR_PTB24), MP_ROM_INT(PTB24) },
+ { MP_ROM_QSTR(MP_QSTR_PTB25), MP_ROM_INT(PTB25) },
+ { MP_ROM_QSTR(MP_QSTR_PTB26), MP_ROM_INT(PTB26) },
+ { MP_ROM_QSTR(MP_QSTR_PTB27), MP_ROM_INT(PTB27) },
+ { MP_ROM_QSTR(MP_QSTR_PTB28), MP_ROM_INT(PTB28) },
+ { MP_ROM_QSTR(MP_QSTR_PTB29), MP_ROM_INT(PTB29) },
+ { MP_ROM_QSTR(MP_QSTR_PTB30), MP_ROM_INT(PTB30) },
+ { MP_ROM_QSTR(MP_QSTR_PTB31), MP_ROM_INT(PTB31) },
+ { MP_ROM_QSTR(MP_QSTR_PTC0), MP_ROM_INT(PTC0) },
+ { MP_ROM_QSTR(MP_QSTR_PTC1), MP_ROM_INT(PTC1) },
+ { MP_ROM_QSTR(MP_QSTR_PTC2), MP_ROM_INT(PTC2) },
+ { MP_ROM_QSTR(MP_QSTR_PTC3), MP_ROM_INT(PTC3) },
+ { MP_ROM_QSTR(MP_QSTR_PTC4), MP_ROM_INT(PTC4) },
+ { MP_ROM_QSTR(MP_QSTR_PTC5), MP_ROM_INT(PTC5) },
+ { MP_ROM_QSTR(MP_QSTR_PTC6), MP_ROM_INT(PTC6) },
+ { MP_ROM_QSTR(MP_QSTR_PTC7), MP_ROM_INT(PTC7) },
+ { MP_ROM_QSTR(MP_QSTR_PTC8), MP_ROM_INT(PTC8) },
+ { MP_ROM_QSTR(MP_QSTR_PTC9), MP_ROM_INT(PTC9) },
+ { MP_ROM_QSTR(MP_QSTR_PTC10), MP_ROM_INT(PTC10) },
+ { MP_ROM_QSTR(MP_QSTR_PTC11), MP_ROM_INT(PTC11) },
+ { MP_ROM_QSTR(MP_QSTR_PTC12), MP_ROM_INT(PTC12) },
+ { MP_ROM_QSTR(MP_QSTR_PTC13), MP_ROM_INT(PTC13) },
+ { MP_ROM_QSTR(MP_QSTR_PTC14), MP_ROM_INT(PTC14) },
+ { MP_ROM_QSTR(MP_QSTR_PTC15), MP_ROM_INT(PTC15) },
+ { MP_ROM_QSTR(MP_QSTR_PTC16), MP_ROM_INT(PTC16) },
+ { MP_ROM_QSTR(MP_QSTR_PTC17), MP_ROM_INT(PTC17) },
+ { MP_ROM_QSTR(MP_QSTR_PTC18), MP_ROM_INT(PTC18) },
+ { MP_ROM_QSTR(MP_QSTR_PTC19), MP_ROM_INT(PTC19) },
+ { MP_ROM_QSTR(MP_QSTR_PTC20), MP_ROM_INT(PTC20) },
+ { MP_ROM_QSTR(MP_QSTR_PTC21), MP_ROM_INT(PTC21) },
+ { MP_ROM_QSTR(MP_QSTR_PTC22), MP_ROM_INT(PTC22) },
+ { MP_ROM_QSTR(MP_QSTR_PTC23), MP_ROM_INT(PTC23) },
+ { MP_ROM_QSTR(MP_QSTR_PTC24), MP_ROM_INT(PTC24) },
+ { MP_ROM_QSTR(MP_QSTR_PTC25), MP_ROM_INT(PTC25) },
+ { MP_ROM_QSTR(MP_QSTR_PTC26), MP_ROM_INT(PTC26) },
+ { MP_ROM_QSTR(MP_QSTR_PTC27), MP_ROM_INT(PTC27) },
+ { MP_ROM_QSTR(MP_QSTR_PTC28), MP_ROM_INT(PTC28) },
+ { MP_ROM_QSTR(MP_QSTR_PTC29), MP_ROM_INT(PTC29) },
+ { MP_ROM_QSTR(MP_QSTR_PTC30), MP_ROM_INT(PTC30) },
+ { MP_ROM_QSTR(MP_QSTR_PTC31), MP_ROM_INT(PTC31) },
+ { MP_ROM_QSTR(MP_QSTR_PTD0), MP_ROM_INT(PTD0) },
+ { MP_ROM_QSTR(MP_QSTR_PTD1), MP_ROM_INT(PTD1) },
+ { MP_ROM_QSTR(MP_QSTR_PTD2), MP_ROM_INT(PTD2) },
+ { MP_ROM_QSTR(MP_QSTR_PTD3), MP_ROM_INT(PTD3) },
+ { MP_ROM_QSTR(MP_QSTR_PTD4), MP_ROM_INT(PTD4) },
+ { MP_ROM_QSTR(MP_QSTR_PTD5), MP_ROM_INT(PTD5) },
+ { MP_ROM_QSTR(MP_QSTR_PTD6), MP_ROM_INT(PTD6) },
+ { MP_ROM_QSTR(MP_QSTR_PTD7), MP_ROM_INT(PTD7) },
+ { MP_ROM_QSTR(MP_QSTR_PTD8), MP_ROM_INT(PTD8) },
+ { MP_ROM_QSTR(MP_QSTR_PTD9), MP_ROM_INT(PTD9) },
+ { MP_ROM_QSTR(MP_QSTR_PTD10), MP_ROM_INT(PTD10) },
+ { MP_ROM_QSTR(MP_QSTR_PTD11), MP_ROM_INT(PTD11) },
+ { MP_ROM_QSTR(MP_QSTR_PTD12), MP_ROM_INT(PTD12) },
+ { MP_ROM_QSTR(MP_QSTR_PTD13), MP_ROM_INT(PTD13) },
+ { MP_ROM_QSTR(MP_QSTR_PTD14), MP_ROM_INT(PTD14) },
+ { MP_ROM_QSTR(MP_QSTR_PTD15), MP_ROM_INT(PTD15) },
+ { MP_ROM_QSTR(MP_QSTR_PTD16), MP_ROM_INT(PTD16) },
+ { MP_ROM_QSTR(MP_QSTR_PTD17), MP_ROM_INT(PTD17) },
+ { MP_ROM_QSTR(MP_QSTR_PTD18), MP_ROM_INT(PTD18) },
+ { MP_ROM_QSTR(MP_QSTR_PTD19), MP_ROM_INT(PTD19) },
+ { MP_ROM_QSTR(MP_QSTR_PTD20), MP_ROM_INT(PTD20) },
+ { MP_ROM_QSTR(MP_QSTR_PTD21), MP_ROM_INT(PTD21) },
+ { MP_ROM_QSTR(MP_QSTR_PTD22), MP_ROM_INT(PTD22) },
+ { MP_ROM_QSTR(MP_QSTR_PTD23), MP_ROM_INT(PTD23) },
+ { MP_ROM_QSTR(MP_QSTR_PTD24), MP_ROM_INT(PTD24) },
+ { MP_ROM_QSTR(MP_QSTR_PTD25), MP_ROM_INT(PTD25) },
+ { MP_ROM_QSTR(MP_QSTR_PTD26), MP_ROM_INT(PTD26) },
+ { MP_ROM_QSTR(MP_QSTR_PTD27), MP_ROM_INT(PTD27) },
+ { MP_ROM_QSTR(MP_QSTR_PTD28), MP_ROM_INT(PTD28) },
+ { MP_ROM_QSTR(MP_QSTR_PTD29), MP_ROM_INT(PTD29) },
+ { MP_ROM_QSTR(MP_QSTR_PTD30), MP_ROM_INT(PTD30) },
+ { MP_ROM_QSTR(MP_QSTR_PTD31), MP_ROM_INT(PTD31) },
+ { MP_ROM_QSTR(MP_QSTR_PTE0), MP_ROM_INT(PTE0) },
+ { MP_ROM_QSTR(MP_QSTR_PTE1), MP_ROM_INT(PTE1) },
+ { MP_ROM_QSTR(MP_QSTR_PTE2), MP_ROM_INT(PTE2) },
+ { MP_ROM_QSTR(MP_QSTR_PTE3), MP_ROM_INT(PTE3) },
+ { MP_ROM_QSTR(MP_QSTR_PTE4), MP_ROM_INT(PTE4) },
+ { MP_ROM_QSTR(MP_QSTR_PTE5), MP_ROM_INT(PTE5) },
+ { MP_ROM_QSTR(MP_QSTR_PTE6), MP_ROM_INT(PTE6) },
+ { MP_ROM_QSTR(MP_QSTR_PTE7), MP_ROM_INT(PTE7) },
+ { MP_ROM_QSTR(MP_QSTR_PTE8), MP_ROM_INT(PTE8) },
+ { MP_ROM_QSTR(MP_QSTR_PTE9), MP_ROM_INT(PTE9) },
+ { MP_ROM_QSTR(MP_QSTR_PTE10), MP_ROM_INT(PTE10) },
+ { MP_ROM_QSTR(MP_QSTR_PTE11), MP_ROM_INT(PTE11) },
+ { MP_ROM_QSTR(MP_QSTR_PTE12), MP_ROM_INT(PTE12) },
+ { MP_ROM_QSTR(MP_QSTR_PTE13), MP_ROM_INT(PTE13) },
+ { MP_ROM_QSTR(MP_QSTR_PTE14), MP_ROM_INT(PTE14) },
+ { MP_ROM_QSTR(MP_QSTR_PTE15), MP_ROM_INT(PTE15) },
+ { MP_ROM_QSTR(MP_QSTR_PTE16), MP_ROM_INT(PTE16) },
+ { MP_ROM_QSTR(MP_QSTR_PTE17), MP_ROM_INT(PTE17) },
+ { MP_ROM_QSTR(MP_QSTR_PTE18), MP_ROM_INT(PTE18) },
+ { MP_ROM_QSTR(MP_QSTR_PTE19), MP_ROM_INT(PTE19) },
+ { MP_ROM_QSTR(MP_QSTR_PTE20), MP_ROM_INT(PTE20) },
+ { MP_ROM_QSTR(MP_QSTR_PTE21), MP_ROM_INT(PTE21) },
+ { MP_ROM_QSTR(MP_QSTR_PTE22), MP_ROM_INT(PTE22) },
+ { MP_ROM_QSTR(MP_QSTR_PTE23), MP_ROM_INT(PTE23) },
+ { MP_ROM_QSTR(MP_QSTR_PTE24), MP_ROM_INT(PTE24) },
+ { MP_ROM_QSTR(MP_QSTR_PTE25), MP_ROM_INT(PTE25) },
+ { MP_ROM_QSTR(MP_QSTR_PTE26), MP_ROM_INT(PTE26) },
+ { MP_ROM_QSTR(MP_QSTR_PTE27), MP_ROM_INT(PTE27) },
+ { MP_ROM_QSTR(MP_QSTR_PTE28), MP_ROM_INT(PTE28) },
+ { MP_ROM_QSTR(MP_QSTR_PTE29), MP_ROM_INT(PTE29) },
+ { MP_ROM_QSTR(MP_QSTR_PTE30), MP_ROM_INT(PTE30) },
+ { MP_ROM_QSTR(MP_QSTR_PTE31), MP_ROM_INT(PTE31) },
+ { MP_ROM_QSTR(MP_QSTR_LED_RED), MP_ROM_INT(LED_RED) },
+ { MP_ROM_QSTR(MP_QSTR_LED_GREEN), MP_ROM_INT(LED_GREEN) },
+ { MP_ROM_QSTR(MP_QSTR_LED_BLUE), MP_ROM_INT(LED_BLUE) },
+ { MP_ROM_QSTR(MP_QSTR_LED1), MP_ROM_INT(LED1) },
+ { MP_ROM_QSTR(MP_QSTR_LED2), MP_ROM_INT(LED2) },
+ { MP_ROM_QSTR(MP_QSTR_LED3), MP_ROM_INT(LED3) },
+ { MP_ROM_QSTR(MP_QSTR_LED4), MP_ROM_INT(LED4) },
+ { MP_ROM_QSTR(MP_QSTR_USBTX), MP_ROM_INT(USBTX) },
+ { MP_ROM_QSTR(MP_QSTR_USBRX), MP_ROM_INT(USBRX) },
+ { MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_INT(D0) },
+ { MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_INT(D1) },
+ { MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_INT(D2) },
+ { MP_ROM_QSTR(MP_QSTR_D3), MP_ROM_INT(D3) },
+ { MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_INT(D4) },
+ { MP_ROM_QSTR(MP_QSTR_D5), MP_ROM_INT(D5) },
+ { MP_ROM_QSTR(MP_QSTR_D6), MP_ROM_INT(D6) },
+ { MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_INT(D7) },
+ { MP_ROM_QSTR(MP_QSTR_D8), MP_ROM_INT(D8) },
+ { MP_ROM_QSTR(MP_QSTR_D9), MP_ROM_INT(D9) },
+ { MP_ROM_QSTR(MP_QSTR_D10), MP_ROM_INT(D10) },
+ { MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_INT(D11) },
+ { MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_INT(D12) },
+ { MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_INT(D13) },
+ { MP_ROM_QSTR(MP_QSTR_D14), MP_ROM_INT(D14) },
+ { MP_ROM_QSTR(MP_QSTR_D15), MP_ROM_INT(D15) },
+ { MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_INT(A0) },
+ { MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_INT(A1) },
+ { MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_INT(A2) },
+ { MP_ROM_QSTR(MP_QSTR_A3), MP_ROM_INT(A3) },
+ { MP_ROM_QSTR(MP_QSTR_A4), MP_ROM_INT(A4) },
+ { MP_ROM_QSTR(MP_QSTR_A5), MP_ROM_INT(A5) },
+ { MP_ROM_QSTR(MP_QSTR_I2C_SCL), MP_ROM_INT(I2C_SCL) },
+ { MP_ROM_QSTR(MP_QSTR_I2C_SDA), MP_ROM_INT(I2C_SDA) },
+ { MP_ROM_QSTR(MP_QSTR_TSI_ELEC0), MP_ROM_INT(TSI_ELEC0) },
+ { MP_ROM_QSTR(MP_QSTR_TSI_ELEC1), MP_ROM_INT(TSI_ELEC1) },
+ { MP_ROM_QSTR(MP_QSTR_NC), MP_ROM_INT(NC) },
+#elif defined(TARGET_LPC1768)
+ { MP_ROM_QSTR(MP_QSTR_P0_0), MP_ROM_INT(P0_0) },
+ { MP_ROM_QSTR(MP_QSTR_P0_1), MP_ROM_INT(P0_1) },
+ { MP_ROM_QSTR(MP_QSTR_P0_2), MP_ROM_INT(P0_2) },
+ { MP_ROM_QSTR(MP_QSTR_P0_3), MP_ROM_INT(P0_3) },
+ { MP_ROM_QSTR(MP_QSTR_P0_4), MP_ROM_INT(P0_4) },
+ { MP_ROM_QSTR(MP_QSTR_P0_5), MP_ROM_INT(P0_5) },
+ { MP_ROM_QSTR(MP_QSTR_P0_6), MP_ROM_INT(P0_6) },
+ { MP_ROM_QSTR(MP_QSTR_P0_7), MP_ROM_INT(P0_7) },
+ { MP_ROM_QSTR(MP_QSTR_P0_8), MP_ROM_INT(P0_8) },
+ { MP_ROM_QSTR(MP_QSTR_P0_9), MP_ROM_INT(P0_9) },
+ { MP_ROM_QSTR(MP_QSTR_P0_10), MP_ROM_INT(P0_10) },
+ { MP_ROM_QSTR(MP_QSTR_P0_11), MP_ROM_INT(P0_11) },
+ { MP_ROM_QSTR(MP_QSTR_P0_12), MP_ROM_INT(P0_12) },
+ { MP_ROM_QSTR(MP_QSTR_P0_13), MP_ROM_INT(P0_13) },
+ { MP_ROM_QSTR(MP_QSTR_P0_14), MP_ROM_INT(P0_14) },
+ { MP_ROM_QSTR(MP_QSTR_P0_15), MP_ROM_INT(P0_15) },
+ { MP_ROM_QSTR(MP_QSTR_P0_16), MP_ROM_INT(P0_16) },
+ { MP_ROM_QSTR(MP_QSTR_P0_17), MP_ROM_INT(P0_17) },
+ { MP_ROM_QSTR(MP_QSTR_P0_18), MP_ROM_INT(P0_18) },
+ { MP_ROM_QSTR(MP_QSTR_P0_19), MP_ROM_INT(P0_19) },
+ { MP_ROM_QSTR(MP_QSTR_P0_20), MP_ROM_INT(P0_20) },
+ { MP_ROM_QSTR(MP_QSTR_P0_21), MP_ROM_INT(P0_21) },
+ { MP_ROM_QSTR(MP_QSTR_P0_22), MP_ROM_INT(P0_22) },
+ { MP_ROM_QSTR(MP_QSTR_P0_23), MP_ROM_INT(P0_23) },
+ { MP_ROM_QSTR(MP_QSTR_P0_24), MP_ROM_INT(P0_24) },
+ { MP_ROM_QSTR(MP_QSTR_P0_25), MP_ROM_INT(P0_25) },
+ { MP_ROM_QSTR(MP_QSTR_P0_26), MP_ROM_INT(P0_26) },
+ { MP_ROM_QSTR(MP_QSTR_P0_27), MP_ROM_INT(P0_27) },
+ { MP_ROM_QSTR(MP_QSTR_P0_28), MP_ROM_INT(P0_28) },
+ { MP_ROM_QSTR(MP_QSTR_P0_29), MP_ROM_INT(P0_29) },
+ { MP_ROM_QSTR(MP_QSTR_P0_30), MP_ROM_INT(P0_30) },
+ { MP_ROM_QSTR(MP_QSTR_P0_31), MP_ROM_INT(P0_31) },
+ { MP_ROM_QSTR(MP_QSTR_P1_0), MP_ROM_INT(P1_0) },
+ { MP_ROM_QSTR(MP_QSTR_P1_1), MP_ROM_INT(P1_1) },
+ { MP_ROM_QSTR(MP_QSTR_P1_2), MP_ROM_INT(P1_2) },
+ { MP_ROM_QSTR(MP_QSTR_P1_3), MP_ROM_INT(P1_3) },
+ { MP_ROM_QSTR(MP_QSTR_P1_4), MP_ROM_INT(P1_4) },
+ { MP_ROM_QSTR(MP_QSTR_P1_5), MP_ROM_INT(P1_5) },
+ { MP_ROM_QSTR(MP_QSTR_P1_6), MP_ROM_INT(P1_6) },
+ { MP_ROM_QSTR(MP_QSTR_P1_7), MP_ROM_INT(P1_7) },
+ { MP_ROM_QSTR(MP_QSTR_P1_8), MP_ROM_INT(P1_8) },
+ { MP_ROM_QSTR(MP_QSTR_P1_9), MP_ROM_INT(P1_9) },
+ { MP_ROM_QSTR(MP_QSTR_P1_10), MP_ROM_INT(P1_10) },
+ { MP_ROM_QSTR(MP_QSTR_P1_11), MP_ROM_INT(P1_11) },
+ { MP_ROM_QSTR(MP_QSTR_P1_12), MP_ROM_INT(P1_12) },
+ { MP_ROM_QSTR(MP_QSTR_P1_13), MP_ROM_INT(P1_13) },
+ { MP_ROM_QSTR(MP_QSTR_P1_14), MP_ROM_INT(P1_14) },
+ { MP_ROM_QSTR(MP_QSTR_P1_15), MP_ROM_INT(P1_15) },
+ { MP_ROM_QSTR(MP_QSTR_P1_16), MP_ROM_INT(P1_16) },
+ { MP_ROM_QSTR(MP_QSTR_P1_17), MP_ROM_INT(P1_17) },
+ { MP_ROM_QSTR(MP_QSTR_P1_18), MP_ROM_INT(P1_18) },
+ { MP_ROM_QSTR(MP_QSTR_P1_19), MP_ROM_INT(P1_19) },
+ { MP_ROM_QSTR(MP_QSTR_P1_20), MP_ROM_INT(P1_20) },
+ { MP_ROM_QSTR(MP_QSTR_P1_21), MP_ROM_INT(P1_21) },
+ { MP_ROM_QSTR(MP_QSTR_P1_22), MP_ROM_INT(P1_22) },
+ { MP_ROM_QSTR(MP_QSTR_P1_23), MP_ROM_INT(P1_23) },
+ { MP_ROM_QSTR(MP_QSTR_P1_24), MP_ROM_INT(P1_24) },
+ { MP_ROM_QSTR(MP_QSTR_P1_25), MP_ROM_INT(P1_25) },
+ { MP_ROM_QSTR(MP_QSTR_P1_26), MP_ROM_INT(P1_26) },
+ { MP_ROM_QSTR(MP_QSTR_P1_27), MP_ROM_INT(P1_27) },
+ { MP_ROM_QSTR(MP_QSTR_P1_28), MP_ROM_INT(P1_28) },
+ { MP_ROM_QSTR(MP_QSTR_P1_29), MP_ROM_INT(P1_29) },
+ { MP_ROM_QSTR(MP_QSTR_P1_30), MP_ROM_INT(P1_30) },
+ { MP_ROM_QSTR(MP_QSTR_P1_31), MP_ROM_INT(P1_31) },
+ { MP_ROM_QSTR(MP_QSTR_P2_0), MP_ROM_INT(P2_0) },
+ { MP_ROM_QSTR(MP_QSTR_P2_1), MP_ROM_INT(P2_1) },
+ { MP_ROM_QSTR(MP_QSTR_P2_2), MP_ROM_INT(P2_2) },
+ { MP_ROM_QSTR(MP_QSTR_P2_3), MP_ROM_INT(P2_3) },
+ { MP_ROM_QSTR(MP_QSTR_P2_4), MP_ROM_INT(P2_4) },
+ { MP_ROM_QSTR(MP_QSTR_P2_5), MP_ROM_INT(P2_5) },
+ { MP_ROM_QSTR(MP_QSTR_P2_6), MP_ROM_INT(P2_6) },
+ { MP_ROM_QSTR(MP_QSTR_P2_7), MP_ROM_INT(P2_7) },
+ { MP_ROM_QSTR(MP_QSTR_P2_8), MP_ROM_INT(P2_8) },
+ { MP_ROM_QSTR(MP_QSTR_P2_9), MP_ROM_INT(P2_9) },
+ { MP_ROM_QSTR(MP_QSTR_P2_10), MP_ROM_INT(P2_10) },
+ { MP_ROM_QSTR(MP_QSTR_P2_11), MP_ROM_INT(P2_11) },
+ { MP_ROM_QSTR(MP_QSTR_P2_12), MP_ROM_INT(P2_12) },
+ { MP_ROM_QSTR(MP_QSTR_P2_13), MP_ROM_INT(P2_13) },
+ { MP_ROM_QSTR(MP_QSTR_P2_14), MP_ROM_INT(P2_14) },
+ { MP_ROM_QSTR(MP_QSTR_P2_15), MP_ROM_INT(P2_15) },
+ { MP_ROM_QSTR(MP_QSTR_P2_16), MP_ROM_INT(P2_16) },
+ { MP_ROM_QSTR(MP_QSTR_P2_17), MP_ROM_INT(P2_17) },
+ { MP_ROM_QSTR(MP_QSTR_P2_18), MP_ROM_INT(P2_18) },
+ { MP_ROM_QSTR(MP_QSTR_P2_19), MP_ROM_INT(P2_19) },
+ { MP_ROM_QSTR(MP_QSTR_P2_20), MP_ROM_INT(P2_20) },
+ { MP_ROM_QSTR(MP_QSTR_P2_21), MP_ROM_INT(P2_21) },
+ { MP_ROM_QSTR(MP_QSTR_P2_22), MP_ROM_INT(P2_22) },
+ { MP_ROM_QSTR(MP_QSTR_P2_23), MP_ROM_INT(P2_23) },
+ { MP_ROM_QSTR(MP_QSTR_P2_24), MP_ROM_INT(P2_24) },
+ { MP_ROM_QSTR(MP_QSTR_P2_25), MP_ROM_INT(P2_25) },
+ { MP_ROM_QSTR(MP_QSTR_P2_26), MP_ROM_INT(P2_26) },
+ { MP_ROM_QSTR(MP_QSTR_P2_27), MP_ROM_INT(P2_27) },
+ { MP_ROM_QSTR(MP_QSTR_P2_28), MP_ROM_INT(P2_28) },
+ { MP_ROM_QSTR(MP_QSTR_P2_29), MP_ROM_INT(P2_29) },
+ { MP_ROM_QSTR(MP_QSTR_P2_30), MP_ROM_INT(P2_30) },
+ { MP_ROM_QSTR(MP_QSTR_P2_31), MP_ROM_INT(P2_31) },
+ { MP_ROM_QSTR(MP_QSTR_P3_0), MP_ROM_INT(P3_0) },
+ { MP_ROM_QSTR(MP_QSTR_P3_1), MP_ROM_INT(P3_1) },
+ { MP_ROM_QSTR(MP_QSTR_P3_2), MP_ROM_INT(P3_2) },
+ { MP_ROM_QSTR(MP_QSTR_P3_3), MP_ROM_INT(P3_3) },
+ { MP_ROM_QSTR(MP_QSTR_P3_4), MP_ROM_INT(P3_4) },
+ { MP_ROM_QSTR(MP_QSTR_P3_5), MP_ROM_INT(P3_5) },
+ { MP_ROM_QSTR(MP_QSTR_P3_6), MP_ROM_INT(P3_6) },
+ { MP_ROM_QSTR(MP_QSTR_P3_7), MP_ROM_INT(P3_7) },
+ { MP_ROM_QSTR(MP_QSTR_P3_8), MP_ROM_INT(P3_8) },
+ { MP_ROM_QSTR(MP_QSTR_P3_9), MP_ROM_INT(P3_9) },
+ { MP_ROM_QSTR(MP_QSTR_P3_10), MP_ROM_INT(P3_10) },
+ { MP_ROM_QSTR(MP_QSTR_P3_11), MP_ROM_INT(P3_11) },
+ { MP_ROM_QSTR(MP_QSTR_P3_12), MP_ROM_INT(P3_12) },
+ { MP_ROM_QSTR(MP_QSTR_P3_13), MP_ROM_INT(P3_13) },
+ { MP_ROM_QSTR(MP_QSTR_P3_14), MP_ROM_INT(P3_14) },
+ { MP_ROM_QSTR(MP_QSTR_P3_15), MP_ROM_INT(P3_15) },
+ { MP_ROM_QSTR(MP_QSTR_P3_16), MP_ROM_INT(P3_16) },
+ { MP_ROM_QSTR(MP_QSTR_P3_17), MP_ROM_INT(P3_17) },
+ { MP_ROM_QSTR(MP_QSTR_P3_18), MP_ROM_INT(P3_18) },
+ { MP_ROM_QSTR(MP_QSTR_P3_19), MP_ROM_INT(P3_19) },
+ { MP_ROM_QSTR(MP_QSTR_P3_20), MP_ROM_INT(P3_20) },
+ { MP_ROM_QSTR(MP_QSTR_P3_21), MP_ROM_INT(P3_21) },
+ { MP_ROM_QSTR(MP_QSTR_P3_22), MP_ROM_INT(P3_22) },
+ { MP_ROM_QSTR(MP_QSTR_P3_23), MP_ROM_INT(P3_23) },
+ { MP_ROM_QSTR(MP_QSTR_P3_24), MP_ROM_INT(P3_24) },
+ { MP_ROM_QSTR(MP_QSTR_P3_25), MP_ROM_INT(P3_25) },
+ { MP_ROM_QSTR(MP_QSTR_P3_26), MP_ROM_INT(P3_26) },
+ { MP_ROM_QSTR(MP_QSTR_P3_27), MP_ROM_INT(P3_27) },
+ { MP_ROM_QSTR(MP_QSTR_P3_28), MP_ROM_INT(P3_28) },
+ { MP_ROM_QSTR(MP_QSTR_P3_29), MP_ROM_INT(P3_29) },
+ { MP_ROM_QSTR(MP_QSTR_P3_30), MP_ROM_INT(P3_30) },
+ { MP_ROM_QSTR(MP_QSTR_P3_31), MP_ROM_INT(P3_31) },
+ { MP_ROM_QSTR(MP_QSTR_P4_0), MP_ROM_INT(P4_0) },
+ { MP_ROM_QSTR(MP_QSTR_P4_1), MP_ROM_INT(P4_1) },
+ { MP_ROM_QSTR(MP_QSTR_P4_2), MP_ROM_INT(P4_2) },
+ { MP_ROM_QSTR(MP_QSTR_P4_3), MP_ROM_INT(P4_3) },
+ { MP_ROM_QSTR(MP_QSTR_P4_4), MP_ROM_INT(P4_4) },
+ { MP_ROM_QSTR(MP_QSTR_P4_5), MP_ROM_INT(P4_5) },
+ { MP_ROM_QSTR(MP_QSTR_P4_6), MP_ROM_INT(P4_6) },
+ { MP_ROM_QSTR(MP_QSTR_P4_7), MP_ROM_INT(P4_7) },
+ { MP_ROM_QSTR(MP_QSTR_P4_8), MP_ROM_INT(P4_8) },
+ { MP_ROM_QSTR(MP_QSTR_P4_9), MP_ROM_INT(P4_9) },
+ { MP_ROM_QSTR(MP_QSTR_P4_10), MP_ROM_INT(P4_10) },
+ { MP_ROM_QSTR(MP_QSTR_P4_11), MP_ROM_INT(P4_11) },
+ { MP_ROM_QSTR(MP_QSTR_P4_12), MP_ROM_INT(P4_12) },
+ { MP_ROM_QSTR(MP_QSTR_P4_13), MP_ROM_INT(P4_13) },
+ { MP_ROM_QSTR(MP_QSTR_P4_14), MP_ROM_INT(P4_14) },
+ { MP_ROM_QSTR(MP_QSTR_P4_15), MP_ROM_INT(P4_15) },
+ { MP_ROM_QSTR(MP_QSTR_P4_16), MP_ROM_INT(P4_16) },
+ { MP_ROM_QSTR(MP_QSTR_P4_17), MP_ROM_INT(P4_17) },
+ { MP_ROM_QSTR(MP_QSTR_P4_18), MP_ROM_INT(P4_18) },
+ { MP_ROM_QSTR(MP_QSTR_P4_19), MP_ROM_INT(P4_19) },
+ { MP_ROM_QSTR(MP_QSTR_P4_20), MP_ROM_INT(P4_20) },
+ { MP_ROM_QSTR(MP_QSTR_P4_21), MP_ROM_INT(P4_21) },
+ { MP_ROM_QSTR(MP_QSTR_P4_22), MP_ROM_INT(P4_22) },
+ { MP_ROM_QSTR(MP_QSTR_P4_23), MP_ROM_INT(P4_23) },
+ { MP_ROM_QSTR(MP_QSTR_P4_24), MP_ROM_INT(P4_24) },
+ { MP_ROM_QSTR(MP_QSTR_P4_25), MP_ROM_INT(P4_25) },
+ { MP_ROM_QSTR(MP_QSTR_P4_26), MP_ROM_INT(P4_26) },
+ { MP_ROM_QSTR(MP_QSTR_P4_27), MP_ROM_INT(P4_27) },
+ { MP_ROM_QSTR(MP_QSTR_P4_28), MP_ROM_INT(P4_28) },
+ { MP_ROM_QSTR(MP_QSTR_P4_29), MP_ROM_INT(P4_29) },
+ { MP_ROM_QSTR(MP_QSTR_P4_30), MP_ROM_INT(P4_30) },
+ { MP_ROM_QSTR(MP_QSTR_P4_31), MP_ROM_INT(P4_31) },
+ { MP_ROM_QSTR(MP_QSTR_p5), MP_ROM_INT(p5) },
+ { MP_ROM_QSTR(MP_QSTR_p6), MP_ROM_INT(p6) },
+ { MP_ROM_QSTR(MP_QSTR_p7), MP_ROM_INT(p7) },
+ { MP_ROM_QSTR(MP_QSTR_p8), MP_ROM_INT(p8) },
+ { MP_ROM_QSTR(MP_QSTR_p9), MP_ROM_INT(p9) },
+ { MP_ROM_QSTR(MP_QSTR_p10), MP_ROM_INT(p10) },
+ { MP_ROM_QSTR(MP_QSTR_p11), MP_ROM_INT(p11) },
+ { MP_ROM_QSTR(MP_QSTR_p12), MP_ROM_INT(p12) },
+ { MP_ROM_QSTR(MP_QSTR_p13), MP_ROM_INT(p13) },
+ { MP_ROM_QSTR(MP_QSTR_p14), MP_ROM_INT(p14) },
+ { MP_ROM_QSTR(MP_QSTR_p15), MP_ROM_INT(p15) },
+ { MP_ROM_QSTR(MP_QSTR_p16), MP_ROM_INT(p16) },
+ { MP_ROM_QSTR(MP_QSTR_p17), MP_ROM_INT(p17) },
+ { MP_ROM_QSTR(MP_QSTR_p18), MP_ROM_INT(p18) },
+ { MP_ROM_QSTR(MP_QSTR_p19), MP_ROM_INT(p19) },
+ { MP_ROM_QSTR(MP_QSTR_p20), MP_ROM_INT(p20) },
+ { MP_ROM_QSTR(MP_QSTR_p21), MP_ROM_INT(p21) },
+ { MP_ROM_QSTR(MP_QSTR_p22), MP_ROM_INT(p22) },
+ { MP_ROM_QSTR(MP_QSTR_p23), MP_ROM_INT(p23) },
+ { MP_ROM_QSTR(MP_QSTR_p24), MP_ROM_INT(p24) },
+ { MP_ROM_QSTR(MP_QSTR_p25), MP_ROM_INT(p25) },
+ { MP_ROM_QSTR(MP_QSTR_p26), MP_ROM_INT(p26) },
+ { MP_ROM_QSTR(MP_QSTR_p27), MP_ROM_INT(p27) },
+ { MP_ROM_QSTR(MP_QSTR_p28), MP_ROM_INT(p28) },
+ { MP_ROM_QSTR(MP_QSTR_p29), MP_ROM_INT(p29) },
+ { MP_ROM_QSTR(MP_QSTR_p30), MP_ROM_INT(p30) },
+#ifdef MCB1700
+ { MP_ROM_QSTR(MP_QSTR_LED1), MP_ROM_INT(LED1) },
+ { MP_ROM_QSTR(MP_QSTR_LED2), MP_ROM_INT(LED2) },
+ { MP_ROM_QSTR(MP_QSTR_LED3), MP_ROM_INT(LED3) },
+ { MP_ROM_QSTR(MP_QSTR_LED4), MP_ROM_INT(LED4) },
+#else
+ { MP_ROM_QSTR(MP_QSTR_LED1), MP_ROM_INT(LED1) },
+ { MP_ROM_QSTR(MP_QSTR_LED2), MP_ROM_INT(LED2) },
+ { MP_ROM_QSTR(MP_QSTR_LED3), MP_ROM_INT(LED3) },
+ { MP_ROM_QSTR(MP_QSTR_LED4), MP_ROM_INT(LED4) },
+#endif
+ { MP_ROM_QSTR(MP_QSTR_USBTX), MP_ROM_INT(USBTX) },
+ { MP_ROM_QSTR(MP_QSTR_USBRX), MP_ROM_INT(USBRX) },
+ { MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_INT(D0) },
+ { MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_INT(D1) },
+ { MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_INT(D2) },
+ { MP_ROM_QSTR(MP_QSTR_D3), MP_ROM_INT(D3) },
+ { MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_INT(D4) },
+ { MP_ROM_QSTR(MP_QSTR_D5), MP_ROM_INT(D5) },
+ { MP_ROM_QSTR(MP_QSTR_D6), MP_ROM_INT(D6) },
+ { MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_INT(D7) },
+ { MP_ROM_QSTR(MP_QSTR_D8), MP_ROM_INT(D8) },
+ { MP_ROM_QSTR(MP_QSTR_D9), MP_ROM_INT(D9) },
+ { MP_ROM_QSTR(MP_QSTR_D10), MP_ROM_INT(D10) },
+ { MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_INT(D11) },
+ { MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_INT(D12) },
+ { MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_INT(D13) },
+ { MP_ROM_QSTR(MP_QSTR_D14), MP_ROM_INT(D14) },
+ { MP_ROM_QSTR(MP_QSTR_D15), MP_ROM_INT(D15) },
+ { MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_INT(A0) },
+ { MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_INT(A1) },
+ { MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_INT(A2) },
+ { MP_ROM_QSTR(MP_QSTR_A3), MP_ROM_INT(A3) },
+ { MP_ROM_QSTR(MP_QSTR_A4), MP_ROM_INT(A4) },
+ { MP_ROM_QSTR(MP_QSTR_A5), MP_ROM_INT(A5) },
+ { MP_ROM_QSTR(MP_QSTR_I2C_SCL), MP_ROM_INT(I2C_SCL) },
+ { MP_ROM_QSTR(MP_QSTR_I2C_SDA), MP_ROM_INT(I2C_SDA) },
+ { MP_ROM_QSTR(MP_QSTR_NC), MP_ROM_INT(NC) },
+#elif defined(TARGET_NUCLEO_F401RE)
+ { MP_ROM_QSTR(MP_QSTR_PA_0), MP_ROM_INT(PA_0) },
+ { MP_ROM_QSTR(MP_QSTR_PA_1), MP_ROM_INT(PA_1) },
+ { MP_ROM_QSTR(MP_QSTR_PA_2), MP_ROM_INT(PA_2) },
+ { MP_ROM_QSTR(MP_QSTR_PA_3), MP_ROM_INT(PA_3) },
+ { MP_ROM_QSTR(MP_QSTR_PA_4), MP_ROM_INT(PA_4) },
+ { MP_ROM_QSTR(MP_QSTR_PA_5), MP_ROM_INT(PA_5) },
+ { MP_ROM_QSTR(MP_QSTR_PA_6), MP_ROM_INT(PA_6) },
+ { MP_ROM_QSTR(MP_QSTR_PA_7), MP_ROM_INT(PA_7) },
+ { MP_ROM_QSTR(MP_QSTR_PA_8), MP_ROM_INT(PA_8) },
+ { MP_ROM_QSTR(MP_QSTR_PA_9), MP_ROM_INT(PA_9) },
+ { MP_ROM_QSTR(MP_QSTR_PA_10), MP_ROM_INT(PA_10) },
+ { MP_ROM_QSTR(MP_QSTR_PA_11), MP_ROM_INT(PA_11) },
+ { MP_ROM_QSTR(MP_QSTR_PA_12), MP_ROM_INT(PA_12) },
+ { MP_ROM_QSTR(MP_QSTR_PA_13), MP_ROM_INT(PA_13) },
+ { MP_ROM_QSTR(MP_QSTR_PA_14), MP_ROM_INT(PA_14) },
+ { MP_ROM_QSTR(MP_QSTR_PA_15), MP_ROM_INT(PA_15) },
+ { MP_ROM_QSTR(MP_QSTR_PB_0), MP_ROM_INT(PB_0) },
+ { MP_ROM_QSTR(MP_QSTR_PB_1), MP_ROM_INT(PB_1) },
+ { MP_ROM_QSTR(MP_QSTR_PB_2), MP_ROM_INT(PB_2) },
+ { MP_ROM_QSTR(MP_QSTR_PB_3), MP_ROM_INT(PB_3) },
+ { MP_ROM_QSTR(MP_QSTR_PB_4), MP_ROM_INT(PB_4) },
+ { MP_ROM_QSTR(MP_QSTR_PB_5), MP_ROM_INT(PB_5) },
+ { MP_ROM_QSTR(MP_QSTR_PB_6), MP_ROM_INT(PB_6) },
+ { MP_ROM_QSTR(MP_QSTR_PB_7), MP_ROM_INT(PB_7) },
+ { MP_ROM_QSTR(MP_QSTR_PB_8), MP_ROM_INT(PB_8) },
+ { MP_ROM_QSTR(MP_QSTR_PB_9), MP_ROM_INT(PB_9) },
+ { MP_ROM_QSTR(MP_QSTR_PB_10), MP_ROM_INT(PB_10) },
+ { MP_ROM_QSTR(MP_QSTR_PB_12), MP_ROM_INT(PB_12) },
+ { MP_ROM_QSTR(MP_QSTR_PB_13), MP_ROM_INT(PB_13) },
+ { MP_ROM_QSTR(MP_QSTR_PB_14), MP_ROM_INT(PB_14) },
+ { MP_ROM_QSTR(MP_QSTR_PB_15), MP_ROM_INT(PB_15) },
+ { MP_ROM_QSTR(MP_QSTR_PC_0), MP_ROM_INT(PC_0) },
+ { MP_ROM_QSTR(MP_QSTR_PC_1), MP_ROM_INT(PC_1) },
+ { MP_ROM_QSTR(MP_QSTR_PC_2), MP_ROM_INT(PC_2) },
+ { MP_ROM_QSTR(MP_QSTR_PC_3), MP_ROM_INT(PC_3) },
+ { MP_ROM_QSTR(MP_QSTR_PC_4), MP_ROM_INT(PC_4) },
+ { MP_ROM_QSTR(MP_QSTR_PC_5), MP_ROM_INT(PC_5) },
+ { MP_ROM_QSTR(MP_QSTR_PC_6), MP_ROM_INT(PC_6) },
+ { MP_ROM_QSTR(MP_QSTR_PC_7), MP_ROM_INT(PC_7) },
+ { MP_ROM_QSTR(MP_QSTR_PC_8), MP_ROM_INT(PC_8) },
+ { MP_ROM_QSTR(MP_QSTR_PC_9), MP_ROM_INT(PC_9) },
+ { MP_ROM_QSTR(MP_QSTR_PC_10), MP_ROM_INT(PC_10) },
+ { MP_ROM_QSTR(MP_QSTR_PC_11), MP_ROM_INT(PC_11) },
+ { MP_ROM_QSTR(MP_QSTR_PC_12), MP_ROM_INT(PC_12) },
+ { MP_ROM_QSTR(MP_QSTR_PC_13), MP_ROM_INT(PC_13) },
+ { MP_ROM_QSTR(MP_QSTR_PC_14), MP_ROM_INT(PC_14) },
+ { MP_ROM_QSTR(MP_QSTR_PC_15), MP_ROM_INT(PC_15) },
+ { MP_ROM_QSTR(MP_QSTR_PD_2), MP_ROM_INT(PD_2) },
+ { MP_ROM_QSTR(MP_QSTR_PH_0), MP_ROM_INT(PH_0) },
+ { MP_ROM_QSTR(MP_QSTR_PH_1), MP_ROM_INT(PH_1) },
+ { MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_INT(A0) },
+ { MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_INT(A1) },
+ { MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_INT(A2) },
+ { MP_ROM_QSTR(MP_QSTR_A3), MP_ROM_INT(A3) },
+ { MP_ROM_QSTR(MP_QSTR_A4), MP_ROM_INT(A4) },
+ { MP_ROM_QSTR(MP_QSTR_A5), MP_ROM_INT(A5) },
+ { MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_INT(D0) },
+ { MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_INT(D1) },
+ { MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_INT(D2) },
+ { MP_ROM_QSTR(MP_QSTR_D3), MP_ROM_INT(D3) },
+ { MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_INT(D4) },
+ { MP_ROM_QSTR(MP_QSTR_D5), MP_ROM_INT(D5) },
+ { MP_ROM_QSTR(MP_QSTR_D6), MP_ROM_INT(D6) },
+ { MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_INT(D7) },
+ { MP_ROM_QSTR(MP_QSTR_D8), MP_ROM_INT(D8) },
+ { MP_ROM_QSTR(MP_QSTR_D9), MP_ROM_INT(D9) },
+ { MP_ROM_QSTR(MP_QSTR_D10), MP_ROM_INT(D10) },
+ { MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_INT(D11) },
+ { MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_INT(D12) },
+ { MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_INT(D13) },
+ { MP_ROM_QSTR(MP_QSTR_D14), MP_ROM_INT(D14) },
+ { MP_ROM_QSTR(MP_QSTR_D15), MP_ROM_INT(D15) },
+ { MP_ROM_QSTR(MP_QSTR_LED1), MP_ROM_INT(LED1) },
+ { MP_ROM_QSTR(MP_QSTR_LED2), MP_ROM_INT(LED2) },
+ { MP_ROM_QSTR(MP_QSTR_LED3), MP_ROM_INT(LED3) },
+ { MP_ROM_QSTR(MP_QSTR_LED4), MP_ROM_INT(LED4) },
+ { MP_ROM_QSTR(MP_QSTR_USER_BUTTON), MP_ROM_INT(USER_BUTTON) },
+ { MP_ROM_QSTR(MP_QSTR_SERIAL_TX), MP_ROM_INT(SERIAL_TX) },
+ { MP_ROM_QSTR(MP_QSTR_SERIAL_RX), MP_ROM_INT(SERIAL_RX) },
+ { MP_ROM_QSTR(MP_QSTR_USBTX), MP_ROM_INT(USBTX) },
+ { MP_ROM_QSTR(MP_QSTR_USBRX), MP_ROM_INT(USBRX) },
+ { MP_ROM_QSTR(MP_QSTR_I2C_SCL), MP_ROM_INT(I2C_SCL) },
+ { MP_ROM_QSTR(MP_QSTR_I2C_SDA), MP_ROM_INT(I2C_SDA) },
+ { MP_ROM_QSTR(MP_QSTR_SPI_MOSI), MP_ROM_INT(SPI_MOSI) },
+ { MP_ROM_QSTR(MP_QSTR_SPI_MISO), MP_ROM_INT(SPI_MISO) },
+ { MP_ROM_QSTR(MP_QSTR_SPI_SCK), MP_ROM_INT(SPI_SCK) },
+ { MP_ROM_QSTR(MP_QSTR_SPI_CS), MP_ROM_INT(SPI_CS) },
+ { MP_ROM_QSTR(MP_QSTR_PWM_OUT), MP_ROM_INT(PWM_OUT) },
+ { MP_ROM_QSTR(MP_QSTR_NC), MP_ROM_INT(NC) },
+#else // target not explicitly handled
+ { MP_ROM_QSTR(MP_QSTR_USBTX), MP_ROM_INT(USBTX) },
+ { MP_ROM_QSTR(MP_QSTR_USBRX), MP_ROM_INT(USBRX) },
+ { MP_ROM_QSTR(MP_QSTR_LED1), MP_ROM_INT(LED1) },
+ { MP_ROM_QSTR(MP_QSTR_NC), MP_ROM_INT(NC) },
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/modpins.cpp Sun Apr 24 21:57:21 2016 +0100
@@ -0,0 +1,47 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2016 Colin Hogben
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+extern "C" {
+#include "py/mpconfig.h"
+#include "py/runtime.h"
+}
+
+#if MICROPY_PY_PINS
+
+#include "mbed.h"
+
+STATIC const mp_rom_map_elem_t mp_pins_module_globals_table[] = {
+ { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_pins) },
+#include "mbedpins.h"
+};
+
+STATIC MP_DEFINE_CONST_DICT(mp_pins_module_globals,
+ mp_pins_module_globals_table);
+
+const mp_obj_module_t mp_module_pins = {
+ .base = { &mp_type_module },
+ .name = MP_QSTR_pins,
+ .globals = (mp_obj_dict_t *)&mp_pins_module_globals,
+};
+
+#endif // MICROPY_PY_PINS
--- a/mpconfigport.h Thu Apr 21 12:52:58 2016 +0100
+++ b/mpconfigport.h Sun Apr 24 21:57:21 2016 +0100
@@ -77,6 +77,7 @@
// Select which mbed features wanted
#define MICROPY_MBED_DIGITALOUT 1
#define MICROPY_MBED_SERIAL 1
+#define MICROPY_PY_PINS 1
#define MICROPY_MODULE_FROZEN (0)
#define MICROPY_CPYTHON_COMPAT (0)
@@ -122,9 +123,11 @@
// Extra modules to build in
extern const struct _mp_obj_module_t mp_module_mbed;
+extern const struct _mp_obj_module_t mp_module_pins;
#define MICROPY_PORT_BUILTIN_MODULES \
{ MP_ROM_QSTR(MP_QSTR_machine), MP_ROM_PTR(&mp_module_machine) }, \
{ MP_ROM_QSTR(MP_QSTR_mbed), MP_ROM_PTR(&mp_module_mbed) }, \
+ { MP_ROM_QSTR(MP_QSTR_pins), MP_ROM_PTR(&mp_module_pins) }, \
// Use by readline.c
#define MICROPY_PORT_ROOT_POINTERS \
--- a/qstrdefsport.h Thu Apr 21 12:52:58 2016 +0100 +++ b/qstrdefsport.h Sun Apr 24 21:57:21 2016 +0100 @@ -42,3 +42,14 @@ Q(puts) Q(getc) #endif + +// modpins.cpp +Q(pins) +#if defined(TARGET_K64F) +Q(USBTX) +Q(USBRX) +Q(PTA0) +Q(LED_RED) +Q(LED_GREEN) +Q(LED_BLUE) +#endif
--- a/unistd.h Thu Apr 21 12:52:58 2016 +0100 +++ b/unistd.h Sun Apr 24 21:57:21 2016 +0100 @@ -1,27 +1,3 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 Colin Hogben - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - // Minimal definitions used by py/*.c typedef int ssize_t; #define SEEK_SET 0