Micro Python: Changes to pyexec.c to get it to compile. Still other compilation issues
This commit is contained in:
parent
dd59fb775d
commit
94d571fea6
@ -37,7 +37,13 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#include "py/mpconfig.h"
|
||||||
|
#include "py/misc.h"
|
||||||
|
#include "py/qstr.h"
|
||||||
|
#include "py/obj.h"
|
||||||
#include "py/nlr.h"
|
#include "py/nlr.h"
|
||||||
|
#include "py/lexer.h"
|
||||||
|
#include "py/parse.h"
|
||||||
#include "py/parsehelper.h"
|
#include "py/parsehelper.h"
|
||||||
#include "py/compile.h"
|
#include "py/compile.h"
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
@ -291,9 +297,7 @@ int pyexec_friendly_repl(void)
|
|||||||
vstr_init(&line, 32);
|
vstr_init(&line, 32);
|
||||||
|
|
||||||
friendly_repl_reset:
|
friendly_repl_reset:
|
||||||
fprintf(stdout,
|
fprintf(stdout, "Micro Python " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "\n");
|
||||||
"Micro Python " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE
|
|
||||||
"; NuttX with " CONFIG_ARCH_FAMILY " " CONFIG_ARCH_CHIP "\r\n");
|
|
||||||
fprintf(stdout, "Type \"help()\" for more information.\r\n");
|
fprintf(stdout, "Type \"help()\" for more information.\r\n");
|
||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
|
@ -30,12 +30,6 @@
|
|||||||
#ifndef __APPS_INTERPRETERS_MICROPYTHON_PYEXEC_H
|
#ifndef __APPS_INTERPRETERS_MICROPYTHON_PYEXEC_H
|
||||||
#define __APPS_INTERPRETERS_MICROPYTHON_PYEXEC_H 1
|
#define __APPS_INTERPRETERS_MICROPYTHON_PYEXEC_H 1
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Included Files
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "py/obj.h"
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user