Open amirremad opened 1 year ago
Need php binary in your path... this, or move to fw v3
How could i do the binary path ? or can you give me the link of the new repo ?
i try the fw v3 it is doesnot work ! can you tell me how to add php binary in my path
Hi Amir
https://www.php.net/manual/en/install.windows.php
On Mon, Dec 26, 2022 at 1:24 PM Amir Emad @.***> wrote:
i try the fw v3 it is doesnot work ! can you tell me how to add php binary in my path
— Reply to this email directly, view it on GitHub https://github.com/ciaa/firmware_v1/issues/468#issuecomment-1365274710, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA227NUD2C7KKPGBSCP5WM3WPHBE3ANCNFSM6AAAAAATJXVRQA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Carlos Pantelides @pelucaKiller https://github.com/cpantel https://seguridad-agile.blogspot.com/ http://seguridad-agile.blogspot.com/
https://www.php.net/downloads after I download this should I add the path of this file to the system environment variable?
I do not use windows, what I would do is:
https://devdojo.com/tnylea/installing-php-on-windows -> 3. Add PHP Environment Variable
then, instead of powershell open a plain cmd to check if it is working
On Mon, Dec 26, 2022 at 1:45 PM Amir Emad @.***> wrote:
https://www.php.net/downloads after I download this should I add the path of this file to the system environment variable?
— Reply to this email directly, view it on GitHub https://github.com/ciaa/firmware_v1/issues/468#issuecomment-1365281175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA227NRDAK74TIXAHW2JL6DWPHDTTANCNFSM6AAAAAATJXVRQA . You are receiving this because you commented.Message ID: @.***>
Carlos Pantelides @pelucaKiller https://github.com/cpantel https://seguridad-agile.blogspot.com/ http://seguridad-agile.blogspot.com/
NOW I HAVE A NEW PROBLEM AFTER MAKING MAKE GENERATE
Run RTOS Generator
php modules/tools/generator/generator.php --cmdline -l -v \ -DARCH=x86 -DCPUTYPE=ia32 -DCPU=none \ -c examples/blinking/etc/blinking.oil -t ./modules/rtos/gen/inc/Os_Internal_Cfg.h.php ./modules/rtos/gen/inc/Os_Cfg.h.php ./modules/rtos/gen/src/Os_Cfg.c.php ./modules/rtos/gen/src/Os_Internal_Cfg.c.php ./modules/rtos/gen/src/x86/Os_Internal_Arch_Cfg.c.php ./modules/rtos/gen/inc/x86/Os_Internal_Arch_Cfg.h.php -o ./out/gen PHP Fatal error: Uncaught Error: Call to a member function printMsg() on null in D:\OSEK_TRIAL\Firmware\modules\tools\generator\OilGenerator.php:80 Stack trace:
thrown in D:\OSEK_TRIAL\Firmware\modules\tools\generator\OilGenerator.php on line 80
Fatal error: Uncaught Error: Call to a member function printMsg() on null in D:\OSEK_TRIAL\Firmware\modules\tools\generator\OilGenerator.php:80 Stack trace:
thrown in D:\OSEK_TRIAL\Firmware\modules\tools\generator\OilGenerator.php on line 80 make: *** [Makefile:601: gen.intermediate] Error 255
You requiere php v5 not more
make generate is not working and give me this error !! D:\OSEK_TRIAL\Firmware>make generate
=============================================================================== Run RTOS Generator
php modules/tools/generator/generator.php --cmdline -l -v \ -DARCH=x86 -DCPUTYPE=ia32 -DCPU=none \ -c examples/blinking/etc/blinking.oil -t ./modules/rtos/gen/inc/Os_Internal_Cfg.h.php ./modules/rtos/gen/inc/Os_Cfg.h.php ./modules/rtos/gen/src/Os_Cfg.c.php ./modules/rtos/gen/src/Os_Internal_Cfg.c.php ./modules/rtos/gen/src/x86/Os_Internal_Arch_Cfg.c.php ./modules/rtos/gen/inc/x86/Os_Internal_Arch_Cfg.h.php -o ./out/gen make: php: No such file or directory make: *** [Makefile:601: gen.intermediate] Error 127