Re: Running ELF example hello world on simulator

2021-04-12 Thread Brennan Ashton
On Mon, Apr 12, 2021, 9:01 PM Tanushree Baindur wrote: > Thanks a lot for your reply. I used menuconfig to generate the .config file > this time and noticed the elf relocation error for 64 bit. So I enabled the > option "Build 32-bit simulation on 64-bit machine" under System Type to > set CONF

Re: Running ELF example hello world on simulator

2021-04-12 Thread Tanushree Baindur
Thanks a lot for your reply. I used menuconfig to generate the .config file this time and noticed the elf relocation error for 64 bit. So I enabled the option "Build 32-bit simulation on 64-bit machine" under System Type to set CONFIG_SIM_M32. I now get the following linker error: LD: nuttx /us

Re: Running ELF example hello world on simulator

2021-04-12 Thread Brennan Ashton
Tanushree, Couple notes to get you going here. First off you really want to avoid editing the .config file directly and instead use menuconfig so that the dependencies are handled correctly. You can use "/" to search for config settings. I tweaked the nsh config like this and was able to make it

Running ELF example hello world on simulator

2021-04-11 Thread Tanushree Baindur
Hi, I am trying to run the hello world example in /apps/examples/elf/tests/hello in the simulator. I cleared the existing configuration using make distclean and then regenerated the .config file for sim:nsh configuration. I have added the following lines to the end of the .config file: CONFIG_L