Skip to content

Pascal #1

@tcpipchip

Description

@tcpipchip
Hi, unzip the Pascal on
osboxes@osboxes:~/nuttx$ ls
apps  nuttx  Pascal
osboxes@osboxes:~/nuttx$

in nuttx/apps i type
ln -s /home/osboxes/nuttx/Pascal

then
./tools/configure.sh esp32-devkitc:nsh

and got

mkkconfig in /home/osboxes/nuttx/apps/industry
make[3]: Leaving directory '/home/osboxes/nuttx/apps/industry'
mkkconfig in /home/osboxes/nuttx/apps
make[2]: Leaving directory '/home/osboxes/nuttx/apps'
make[1]: Leaving directory '/home/osboxes/nuttx/nuttx'
**/home/osboxes/nuttx/Pascal/papps/Kconfig.papps:23:warning: ignoring unsupported character '$'**
#
# configuration written to .config
#

in nuttx/apps i can see pascal

osboxes@osboxes:~/nuttx/apps$ dir
Application.mk	crypto		fsutils   include	LICENSE    mlearning  nshlib	 system
boot		Directory.mk	gpsutils  industry	Make.defs  modbus     pascal	 testing
builtin		DISCLAIMER-WIP	graphics  interpreters	Makefile   netutils   platform	 tools
canutils	examples	import	  Kconfig	math	   NOTICE     README.md  wireless
osboxes@osboxes:~/nuttx/apps$ cd pascal
osboxes@osboxes:~/nuttx/apps/pascal$ 

And no Pascal on make menuconfig

But, after going into the pascal folder, i executed make menuconfig, then back to nuttx nutxx folder and now i can see on make menuconfig the pascal option

compiling but got this error

make[4]: Leaving directory '/home/osboxes/nuttx/Pascal/tools'
make[4]: Entering directory '/home/osboxes/nuttx/Pascal/insn16'
make[5]: Entering directory '/home/osboxes/nuttx/Pascal/insn16/libexec'
CC:  libexec_runloop.c
CC:  libexec_debug.c
libexec_debug.c:69:25: warning: 'enum command_e' declared inside parameter list will not be visible outside of this definition or declaration
                    enum command_e cmd, uint32_t value);
                         ^~~~~~~~~
libexec_debug.c:118:57: warning: 'enum command_e' declared inside parameter list will not be visible outside of this definition or declaration
 static void pdbg_ExecCommand(struct libexec_s *st, enum command_e cmd, uint32_t value)
                                                         ^~~~~~~~~
libexec_debug.c:118:67: error: parameter 2 ('cmd') has incomplete type
 static void pdbg_ExecCommand(struct libexec_s *st, enum command_e cmd, uint32_t value)
                                                    ~~~~~~~~~~~~~~~^~~
libexec_debug.c: In function 'pdbg_ExecCommand':
libexec_debug.c:122:5: error: 'struct libexec_s' has no member named 'lastCmd'
   st->lastCmd   = cmd;
     ^~
libexec_debug.c:123:5: error: 'struct libexec_s' has no member named 'lastValue'
   st->lastValue = value;
     ^~
libexec_debug.c:127:10: error: 'eCMD_NONE' undeclared (first use in this function); did you mean 'eOPEN_NONE'?
     case eCMD_NONE:   /* Do nothing */
          ^~~~~~~~~
          eOPEN_NONE
libexec_debug.c:127:10: note: each undeclared identifier is reported only once for each function it appears in
libexec_debug.c:130:10: error: 'eCMD_RESET' undeclared (first use in this function); did you mean 'ECONNRESET'?
     case eCMD_RESET:  /* Reset */
          ^~~~~~~~~~
          ECONNRESET
libexec_debug.c:134:9: error: 'struct libexec_s' has no member named 'lastCmd'
       st->lastCmd = eCMD_NONE;
         ^~
libexec_debug.c:137:10: error: 'eCMD_RUN' undeclared (first use in this function)
     case eCMD_RUN:    /* Run */
          ^~~~~~~~
libexec_debug.c:144:10: error: 'eCMD_STEP' undeclared (first use in this function)
     case eCMD_STEP:   /* Single Step (into)*/
.
.
.

Looks that now is config option on Make menuconfig, right 

Thanks!




Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions