Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing COMPILE 'gcc' export #354

Open
hannes-angst opened this issue Dec 16, 2018 · 0 comments
Open

Missing COMPILE 'gcc' export #354

hannes-angst opened this issue Dec 16, 2018 · 0 comments

Comments

@hannes-angst
Copy link

hannes-angst commented Dec 16, 2018

$ make clean all
...
Run gen_appbin.py
sh: xt-nm: command not found
no entry point!!
mv: rename eagle.app.flash.bin to firmware/eagle.flash.bin: No such file or directory
make: *** [build/app.out] Error 1

When looking at gen_appbin.py we see the following code:

151      if os.getenv('COMPILE')=='gcc' :
152        cmd = 'xtensa-lx106-elf-nm -g ' + elf_file + ' > eagle.app.sym'
153    else :
154        cmd = 'xt-nm -g ' + elf_file + ' > eagle.app.sym'

So we need to export COMPILE='gcc' to use the proper tool.

$ make clean all
... 
Run gen_appbin.py
No boot needed.
Generate eagle.flash.bin and eagle.irom0text.bin successully in folder firmware
eagle.flash.bin-------->0x00000
eagle.irom0text.bin---->0x10000
Done

Another way is to remove line 151, 153 and 154 to not bother at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant