mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 07:28:38 +08:00
Move P-Code execution logic from interpreters/prun to system/prun
This commit is contained in:
parent
415500c6d9
commit
a3e2598d90
3 changed files with 6 additions and 2 deletions
|
@ -72,7 +72,7 @@ endif
|
|||
config PCODE
|
||||
bool "Support P-Code Applications"
|
||||
default n
|
||||
depends on INTERPRETERS_PCODE && INTERPRETERS_PRUN && (!NUTTX_KERNEL || EXPERIMENTAL)
|
||||
depends on INTERPRETERS_PCODE && SYSTEM_PRUN && (!NUTTX_KERNEL || EXPERIMENTAL)
|
||||
---help---
|
||||
Enable support for interpreted P-Code binaries. P-Code binaries are
|
||||
generated by the NuttX Pascal compiler.
|
||||
|
|
|
@ -74,6 +74,10 @@ Here is a simple test configuration using the NuttX simulator:
|
|||
|
||||
CONFIG_INTERPRETERS_PCODE=y
|
||||
|
||||
And the P-Code runtime support:
|
||||
|
||||
CONFIG_SYSTEM_PRUN=y
|
||||
|
||||
This enables building the PCODE binary format
|
||||
|
||||
CONFIG_PCODE=y
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <apps/interpreters/prun.h>
|
||||
#include <apps/prun.h>
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/poff.h>
|
||||
|
|
Loading…
Reference in a new issue