all: Remove inclusion of internal py header files.

Header files that are considered internal to the py core and should not
normally be included directly are:
    py/nlr.h - internal nlr configuration and declarations
    py/bc0.h - contains bytecode macro definitions
    py/runtime0.h - contains basic runtime enums

Instead, the top-level header files to include are one of:
    py/obj.h - includes runtime0.h and defines everything to use the
        mp_obj_t type
    py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h,
        and defines everything to use the general runtime support functions

Additional, specific headers (eg py/objlist.h) can be included if needed.
crypto-aes
Damien George 5 years ago
parent 6c82cfc089
commit a3dc1b1957
  1. 2
      drivers/cc3000/src/ccspi.c
  2. 2
      extmod/machine_mem.c
  3. 2
      extmod/modbtree.c
  4. 2
      extmod/modframebuf.c
  5. 1
      extmod/modlwip.c
  6. 1
      extmod/modubinascii.c
  7. 1
      extmod/moductypes.c
  8. 1
      extmod/moduhashlib.c
  9. 2
      extmod/moduheapq.c
  10. 1
      extmod/modujson.c
  11. 1
      extmod/modurandom.c
  12. 1
      extmod/modure.c
  13. 1
      extmod/modussl_axtls.c
  14. 2
      extmod/modussl_mbedtls.c
  15. 2
      extmod/modutimeq.c
  16. 1
      extmod/moduzlib.c
  17. 2
      extmod/modwebrepl.c
  18. 2
      extmod/modwebsocket.c
  19. 1
      extmod/uos_dupterm.c
  20. 1
      extmod/vfs.c
  21. 1
      extmod/vfs_fat.c
  22. 1
      extmod/vfs_fat_file.c
  23. 1
      extmod/vfs_fat_misc.c
  24. 2
      lib/netutils/netutils.c
  25. 1
      lib/utils/pyexec.c
  26. 1
      mpy-cross/main.c
  27. 1
      ports/bare-arm/main.c
  28. 3
      ports/cc3200/ftp/ftp.c
  29. 1
      ports/cc3200/hal/cc3200_hal.c
  30. 1
      ports/cc3200/misc/mpexception.c
  31. 1
      ports/cc3200/mods/modmachine.c
  32. 3
      ports/cc3200/mods/modnetwork.c
  33. 2
      ports/cc3200/mods/modubinascii.c
  34. 1
      ports/cc3200/mods/moduhashlib.c
  35. 2
      ports/cc3200/mods/moduos.c
  36. 2
      ports/cc3200/mods/pybadc.c
  37. 1
      ports/cc3200/mods/pybi2c.c
  38. 3
      ports/cc3200/mods/pybpin.c
  39. 1
      ports/cc3200/mods/pybsleep.c
  40. 1
      ports/cc3200/mods/pybspi.c
  41. 3
      ports/cc3200/mods/pybtimer.c
  42. 3
      ports/cc3200/mods/pybuart.c
  43. 2
      ports/cc3200/mpthreadport.c
  44. 2
      ports/cc3200/util/gccollect.c
  45. 2
      ports/esp8266/esp_mphal.c
  46. 2
      ports/esp8266/machine_adc.c
  47. 1
      ports/esp8266/machine_pin.c
  48. 1
      ports/esp8266/machine_pwm.c
  49. 2
      ports/esp8266/machine_rtc.c
  50. 2
      ports/esp8266/machine_wdt.c
  51. 2
      ports/esp8266/main.c
  52. 1
      ports/esp8266/modnetwork.c
  53. 2
      ports/esp8266/modutime.c
  54. 1
      ports/minimal/main.c
  55. 2
      ports/qemu-arm/main.c
  56. 2
      ports/qemu-arm/test_main.c
  57. 1
      ports/stm32/accel.c
  58. 1
      ports/stm32/adc.c
  59. 1
      ports/stm32/can.c
  60. 1
      ports/stm32/gccollect.c
  61. 1
      ports/stm32/i2c.c
  62. 1
      ports/stm32/irq.c
  63. 1
      ports/stm32/lcd.c
  64. 1
      ports/stm32/led.c
  65. 2
      ports/stm32/modmachine.h
  66. 1
      ports/stm32/modnetwork.c
  67. 1
      ports/stm32/modnwcc3k.c
  68. 1
      ports/stm32/modnwwiznet5k.c
  69. 2
      ports/stm32/modpyb.c
  70. 1
      ports/stm32/moduos.c
  71. 1
      ports/stm32/modusocket.c
  72. 1
      ports/stm32/mphalport.c
  73. 2
      ports/stm32/mpthreadport.c
  74. 1
      ports/stm32/pendsv.c
  75. 1
      ports/stm32/pin.c
  76. 1
      ports/stm32/sdcard.c
  77. 1
      ports/stm32/spi.c
  78. 1
      ports/stm32/stm32_it.c
  79. 1
      ports/stm32/uart.c
  80. 1
      ports/teensy/led.c
  81. 1
      ports/teensy/teensy_hal.c
  82. 1
      ports/teensy/timer.c
  83. 1
      ports/teensy/uart.c
  84. 1
      ports/unix/file.c
  85. 2
      ports/unix/main.c
  86. 1
      ports/unix/modffi.c
  87. 2
      ports/unix/modjni.c
  88. 1
      ports/unix/modos.c
  89. 1
      ports/unix/modsocket.c
  90. 1
      ports/unix/mpthreadport.c
  91. 1
      ports/unix/unix_mphal.c
  92. 1
      ports/zephyr/machine_pin.c
  93. 1
      ports/zephyr/main.c
  94. 1
      py/argcheck.c
  95. 4
      py/bc.c
  96. 1
      py/bc.h
  97. 1
      py/builtinevex.c
  98. 1
      py/builtinimport.c
  99. 1
      py/emit.h
  100. 1
      py/emitnative.c
  101. Some files were not shown because too many files have changed in this diff Show More

@ -34,8 +34,6 @@
#include <string.h>
#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "pin.h"
#include "led.h"

@ -24,8 +24,8 @@
* THE SOFTWARE.
*/
#include "py/runtime.h"
#include "extmod/machine_mem.h"
#include "py/nlr.h"
#if MICROPY_PY_MACHINE

@ -29,9 +29,7 @@
#include <errno.h> // for declaration of global errno variable
#include <fcntl.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/runtime0.h"
#include "py/stream.h"
#if MICROPY_PY_BTREE

@ -27,8 +27,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
#if MICROPY_PY_FRAMEBUF

@ -29,7 +29,6 @@
#include <string.h>
#include <stdio.h>
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/runtime.h"
#include "py/stream.h"

@ -28,7 +28,6 @@
#include <assert.h>
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/binary.h"
#include "extmod/modubinascii.h"

@ -28,7 +28,6 @@
#include <string.h>
#include <stdint.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/objtuple.h"
#include "py/binary.h"

@ -27,7 +27,6 @@
#include <assert.h>
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#if MICROPY_PY_UHASHLIB

@ -24,9 +24,7 @@
* THE SOFTWARE.
*/
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/runtime0.h"
#include "py/runtime.h"
#if MICROPY_PY_UHEAPQ

@ -26,7 +26,6 @@
#include <stdio.h>
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/objstringio.h"
#include "py/parsenum.h"

@ -27,7 +27,6 @@
#include <assert.h>
#include <string.h>
//#include "py/nlr.h"
#include "py/runtime.h"
#if MICROPY_PY_URANDOM

@ -28,7 +28,6 @@
#include <assert.h>
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/binary.h"
#include "py/objstr.h"

@ -27,7 +27,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/stream.h"

@ -31,10 +31,8 @@
#include <string.h>
#include <errno.h> // needed because mp_is_nonblocking_error uses system error codes
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "py/obj.h"
// mbedtls_time_t
#include "mbedtls/platform.h"

@ -27,9 +27,7 @@
#include <string.h>
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/runtime0.h"
#include "py/runtime.h"
#include "py/smallint.h"

@ -27,7 +27,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "py/mperrno.h"

@ -28,8 +28,6 @@
#include <stdint.h>
#include <string.h>
#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "py/builtin.h"

@ -28,8 +28,6 @@
#include <stdint.h>
#include <string.h>
#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "extmod/modwebsocket.h"

@ -27,7 +27,6 @@
#include <string.h>
#include "py/mpconfig.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/objtuple.h"
#include "py/objarray.h"

@ -27,7 +27,6 @@
#include <stdint.h>
#include <string.h>
#include "py/runtime0.h"
#include "py/runtime.h"
#include "py/objstr.h"
#include "py/mperrno.h"

@ -33,7 +33,6 @@
#endif
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/mperrno.h"
#include "lib/oofatfs/ff.h"

@ -29,7 +29,6 @@
#include <stdio.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "py/mperrno.h"

@ -28,7 +28,6 @@
#if MICROPY_VFS_FAT
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "lib/oofatfs/ff.h"
#include "extmod/vfs_fat.h"

@ -29,8 +29,6 @@
#include <stdio.h>
#include <string.h>
#include "py/obj.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "lib/netutils/netutils.h"

@ -29,7 +29,6 @@
#include <stdint.h>
#include <string.h>
#include "py/nlr.h"
#include "py/compile.h"
#include "py/runtime.h"
#include "py/repl.h"

@ -29,7 +29,6 @@
#include <stdlib.h>
#include <unistd.h>
#include "py/mpstate.h"
#include "py/compile.h"
#include "py/persistentcode.h"
#include "py/runtime.h"

@ -2,7 +2,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/compile.h"
#include "py/runtime.h"
#include "py/repl.h"

@ -27,8 +27,7 @@
#include <stdint.h>
#include <stdio.h>
#include "py/mpstate.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "lib/timeutils/timeutils.h"
#include "lib/oofatfs/ff.h"
#include "extmod/vfs.h"

@ -33,7 +33,6 @@
#include <string.h>
#include "py/mpstate.h"
#include "py/mphal.h"
#include "py/runtime.h"
#include "py/objstr.h"

@ -28,7 +28,6 @@
#include <stdint.h>
#include <string.h>
#include "py/mpstate.h"
#include "mpexception.h"

@ -27,7 +27,6 @@
#include <stdint.h>
#include "py/mpstate.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "irq.h"

@ -25,9 +25,6 @@
* THE SOFTWARE.
*/
#include "py/mpstate.h"
#include "py/obj.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/mperrno.h"
#include "py/mphal.h"

@ -25,8 +25,6 @@
* THE SOFTWARE.
*/
#include "py/mpconfig.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/binary.h"
#include "extmod/modubinascii.h"

@ -30,7 +30,6 @@
#include "py/mpconfig.h"
#include MICROPY_HAL_H
#include "py/nlr.h"
#include "py/runtime.h"
#include "inc/hw_types.h"
#include "inc/hw_ints.h"

@ -28,8 +28,6 @@
#include <stdint.h>
#include <string.h>
#include "py/mpstate.h"
#include "py/nlr.h"
#include "py/objtuple.h"
#include "py/objstr.h"
#include "py/runtime.h"

@ -28,8 +28,6 @@
#include <stdio.h>
#include <string.h>
#include "py/mpconfig.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/binary.h"
#include "py/gc.h"

@ -28,7 +28,6 @@
#include <stdio.h>
#include <string.h>
#include "py/mpstate.h"
#include "py/runtime.h"
#include "py/mperrno.h"
#include "py/mphal.h"

@ -29,11 +29,8 @@
#include <stdint.h>
#include <string.h>
#include "py/mpconfig.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "py/gc.h"
#include "py/mpstate.h"
#include "inc/hw_types.h"
#include "inc/hw_gpio.h"
#include "inc/hw_ints.h"

@ -27,7 +27,6 @@
#include <stdint.h>
#include <string.h>
#include "py/mpstate.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "inc/hw_types.h"

@ -28,7 +28,6 @@
#include <stdint.h>
#include <string.h>
#include "py/mpstate.h"
#include "py/runtime.h"
#include "py/mperrno.h"
#include "bufhelper.h"

@ -29,9 +29,6 @@
#include <stdio.h>
#include <string.h>
#include "py/mpconfig.h"
#include "py/obj.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/gc.h"
#include "py/mperrno.h"

@ -29,8 +29,6 @@
#include <stdio.h>
#include <string.h>
#include "py/mpconfig.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "py/objlist.h"
#include "py/stream.h"
@ -48,7 +46,6 @@
#include "mpirq.h"
#include "pybsleep.h"
#include "mpexception.h"
#include "py/mpstate.h"
#include "osi.h"
#include "utils.h"
#include "pin.h"

@ -26,8 +26,6 @@
#include <stdio.h>
#include "py/mpconfig.h"
#include "py/mpstate.h"
#include "py/runtime.h"
#include "py/gc.h"
#include "py/mpthread.h"

@ -28,8 +28,6 @@
#include <stdio.h>
#include <stdint.h>
#include "py/mpconfig.h"
#include "py/mpstate.h"
#include "py/gc.h"
#include "py/mpthread.h"
#include "gccollect.h"

@ -31,8 +31,6 @@
#include "esp_mphal.h"
#include "user_interface.h"
#include "ets_alt_task.h"
#include "py/obj.h"
#include "py/mpstate.h"
#include "py/runtime.h"
#include "extmod/misc.h"
#include "lib/utils/pyexec.h"

@ -27,8 +27,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "user_interface.h"

@ -33,7 +33,6 @@
#include "user_interface.h"
#include "gpio.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/gc.h"
#include "py/mphal.h"

@ -29,7 +29,6 @@
#include "esppwm.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "modmachine.h"

@ -27,8 +27,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "lib/timeutils/timeutils.h"
#include "user_interface.h"

@ -27,8 +27,6 @@
//#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "user_interface.h"
#include "etshal.h"

@ -27,9 +27,7 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/compile.h"
#include "py/runtime0.h"
#include "py/runtime.h"
#include "py/stackctrl.h"
#include "py/mperrno.h"

@ -28,7 +28,6 @@
#include <stdint.h>
#include <string.h>
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/runtime.h"
#include "py/mphal.h"

@ -28,8 +28,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/obj.h"
#include "py/gc.h"
#include "py/runtime.h"
#include "py/mphal.h"

@ -2,7 +2,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/compile.h"
#include "py/runtime.h"
#include "py/repl.h"

@ -4,10 +4,8 @@
#include <string.h>
#include <malloc.h>
#include "py/nlr.h"
#include "py/obj.h"
#include "py/compile.h"
#include "py/runtime0.h"
#include "py/runtime.h"
#include "py/stackctrl.h"
#include "py/gc.h"

@ -4,10 +4,8 @@
#include <string.h>
#include <malloc.h>
#include "py/nlr.h"
#include "py/obj.h"
#include "py/compile.h"
#include "py/runtime0.h"
#include "py/runtime.h"
#include "py/stackctrl.h"
#include "py/gc.h"

@ -28,7 +28,6 @@
#include <string.h>
#include "py/mphal.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "pin.h"
#include "genhdr/pins.h"

@ -27,7 +27,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/binary.h"
#include "py/mphal.h"

@ -28,7 +28,6 @@
#include <string.h>
#include <stdarg.h>
#include "py/nlr.h"
#include "py/objtuple.h"
#include "py/runtime.h"
#include "py/gc.h"

@ -27,7 +27,6 @@
#include <stdio.h>
#include <stdint.h>
#include "py/mpstate.h"
#include "py/obj.h"
#include "py/gc.h"
#include "py/mpthread.h"

@ -27,7 +27,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "irq.h"

@ -24,7 +24,6 @@
* THE SOFTWARE.
*/
#include "py/nlr.h"
#include "py/obj.h"
#include "py/mphal.h"
#include "irq.h"

@ -28,7 +28,6 @@
#include <string.h>
#include "py/mphal.h"
#include "py/nlr.h"
#include "py/runtime.h"
#if MICROPY_HW_HAS_LCD

@ -26,7 +26,6 @@
#include <stdio.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "timer.h"

@ -26,8 +26,6 @@
#ifndef MICROPY_INCLUDED_STMHAL_MODMACHINE_H
#define MICROPY_INCLUDED_STMHAL_MODMACHINE_H
#include "py/mpstate.h"
#include "py/nlr.h"
#include "py/obj.h"
void machine_init(void);

@ -28,7 +28,6 @@
#include <stdint.h>
#include <string.h>
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/runtime.h"
#include "modnetwork.h"

@ -30,7 +30,6 @@
// CC3000 defines its own ENOBUFS (different to standard one!)
#undef ENOBUFS
#include "py/nlr.h"
#include "py/objtuple.h"
#include "py/objlist.h"
#include "py/stream.h"

@ -28,7 +28,6 @@
#include <stdint.h>
#include <string.h>
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/runtime.h"
#include "py/mperrno.h"

@ -27,8 +27,6 @@
#include <stdint.h>
#include <stdio.h>
#include "py/mpstate.h"
#include "py/nlr.h"
#include "py/obj.h"
#include "py/gc.h"
#include "py/builtin.h"

@ -27,7 +27,6 @@
#include <stdint.h>
#include <string.h>
#include "py/mpstate.h"
#include "py/runtime.h"
#include "py/objtuple.h"
#include "py/objstr.h"

@ -27,7 +27,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/objtuple.h"
#include "py/objlist.h"
#include "py/runtime.h"

@ -1,6 +1,5 @@
#include <string.h>
#include "py/mpstate.h"
#include "py/runtime.h"
#include "py/mperrno.h"
#include "py/mphal.h"

@ -26,8 +26,6 @@
#include <stdio.h>
#include "py/mpconfig.h"
#include "py/mpstate.h"
#include "py/gc.h"
#include "py/mpthread.h"
#include "gccollect.h"

@ -26,7 +26,6 @@
#include <stdlib.h>
#include "py/mpstate.h"
#include "py/runtime.h"
#include "lib/utils/interrupt_char.h"
#include "pendsv.h"

@ -28,7 +28,6 @@
#include <stdint.h>
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "extmod/virtpin.h"

@ -26,7 +26,6 @@
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "lib/oofatfs/ff.h"

@ -27,7 +27,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "extmod/machine_spi.h"

@ -67,7 +67,6 @@
#include <stdio.h>
#include "py/mpstate.h"
#include "py/obj.h"
#include "py/mphal.h"
#include "stm32_it.h"

@ -28,7 +28,6 @@
#include <string.h>
#include <stdarg.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "py/mperrno.h"

@ -2,7 +2,6 @@
#include "Arduino.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "led.h"

@ -1,7 +1,6 @@
#include <stdio.h>
#include <string.h>
#include "py/mpstate.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "usb.h"

@ -29,7 +29,6 @@
#include <string.h>
#include <stddef.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/gc.h"
#include "py/mphal.h"

@ -27,7 +27,6 @@
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "bufhelper.h"
#include "uart.h"

@ -31,7 +31,6 @@
#include <sys/stat.h>
#include <sys/types.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "py/builtin.h"

@ -37,8 +37,6 @@
#include <errno.h>
#include <signal.h>
#include "py/mpstate.h"
#include "py/nlr.h"
#include "py/compile.h"
#include "py/runtime.h"
#include "py/builtin.h"

@ -32,7 +32,6 @@
#include <ffi.h>
#include <stdint.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/binary.h"
#include "py/mperrno.h"

@ -30,8 +30,6 @@
#include <dlfcn.h>
#include <ctype.h>
#include "py/nlr.h"
#include "py/runtime0.h"
#include "py/runtime.h"
#include "py/binary.h"

@ -34,7 +34,6 @@
#include <dirent.h>
#include "py/mpconfig.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/objtuple.h"
#include "py/mphal.h"

@ -38,7 +38,6 @@
#include <netdb.h>
#include <errno.h>
#include "py/nlr.h"
#include "py/objtuple.h"
#include "py/objstr.h"
#include "py/runtime.h"

@ -28,7 +28,6 @@
#include <stdlib.h>
#include <errno.h>
#include "py/mpstate.h"
#include "py/runtime.h"
#include "py/mpthread.h"
#include "py/gc.h"

@ -29,7 +29,6 @@
#include <string.h>
#include <sys/time.h>
#include "py/mpstate.h"
#include "py/mphal.h"
#include "py/runtime.h"
#include "extmod/misc.h"

@ -32,7 +32,6 @@
#include <zephyr.h>
#include <gpio.h>
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/gc.h"
#include "py/mphal.h"

@ -33,7 +33,6 @@
#include <net/net_context.h>
#endif
#include "py/nlr.h"
#include "py/compile.h"
#include "py/runtime.h"
#include "py/repl.h"

@ -27,7 +27,6 @@
#include <stdlib.h>
#include <assert.h>
#include "py/nlr.h"
#include "py/runtime.h"
void mp_arg_check_num(size_t n_args, size_t n_kw, size_t n_args_min, size_t n_args_max, bool takes_kw) {

@ -29,9 +29,7 @@
#include <string.h>
#include <assert.h>
#include "py/nlr.h"
#include "py/objfun.h"
#include "py/runtime0.h"
#include "py/runtime.h"
#include "py/bc0.h"
#include "py/bc.h"

@ -27,7 +27,6 @@
#define MICROPY_INCLUDED_PY_BC_H
#include "py/runtime.h"
#include "py/obj.h"
#include "py/objfun.h"
// bytecode layout:

@ -26,7 +26,6 @@
#include <stdint.h>
#include "py/nlr.h"
#include "py/objfun.h"
#include "py/compile.h"
#include "py/runtime.h"

@ -29,7 +29,6 @@
#include <string.h>
#include <assert.h>
#include "py/nlr.h"
#include "py/compile.h"
#include "py/objmodule.h"
#include "py/persistentcode.h"

@ -28,7 +28,6 @@
#include "py/lexer.h"
#include "py/scope.h"
#include "py/runtime0.h"