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
Docs #322
Docs #322
Conversation
Sorry, I'm not merging this one. It works fine for me - and the path in there is meant to be relative, and you've changed it. You've also added the print statement to before the variable was defined! Looks to me like it's because you're running this on Windows when all the development toolchains are designed for Mac/Linux. I'd suggest running under git shell - or ideally under a Linux VM or something, or you'll be fighting an uphill battle. |
:) I use Git Bash Shell Linux WM and anything that makes life easy. |
I may have missed something as build.sh is being worked on. |
There must be some built-in way of getting the directory part of a filename? You could use that instead of finding the slash? Worst case just use a regex to find It's not the '.sh' file. It works fine on Linux and Mac OS. |
Found the problem. |
Thanks - I'd forgotten about that. I think that'll make things a whole lot easier moving forward actually. It might even work for compilation |
tested compilation for hex last night: I will test that the result actually runs on the nRF52 today. The link below is just a quicky to show anybody how to until I make an advertisement free github version for espruino where the context is how to easy espurino on the os one has as a workstation. http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/ |
|
looks really promising - as long as the compiler's up to date it seems like it'll be fine. Shame about the lack of USB/Bluetooth, but still - being able to compile is a huge help for everyone |
Number one rule of open source: ensure that the work one would like to do is in line with the git master. Windows 10 is the last non-linux from Microsoft: an apple os9 to osX the microsoft way is happening with a Windows Desktop. |
Quick Doc to be placed in docs when structure found
Edit: mkdir -p ${installdir} wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/6-2016q4/gcc-arm-none-eabi-6_2-2016q4-20161216-linux.tar.bz2 add path to the toolchain of choice (to be tested) |
You probably don't want As per the build instructions you want to install this one directly - not using the ppa as it's usually out of date |
Remember, you are the git-master so you have the last call https://launchpad.net/gcc-arm-embedded
Moving forward means also means a sub-project of embrassing ver 6.0 |
Yes, that's because it doesn't support it yet: espruino/EspruinoTools#32 I don't believe it says it can do that anywhere in the docs or help? |
I had not read of support, so I had guessed not supported. That about wraps up the quick test of Bash on Ubuntu on Windows I will continue to use Bash on Ubuntu on Windows, but for the record, let us agree on the reference OS and compiler to be used so I do not report problems that may be my OS and choice of compiler. |
I use Ubuntu (16.04 currently), and GCC 5.4.1 - realistically that's the thing that all the tools are designed and run on here. |
If I have issues which could be os, I fire up a VM with 16.xx.
Basically, run both and do a diff on the output to see if one gets a heads-up for hidden things that could be "interesting" |
I'm not sure I really see what this will add? If you diff the listings you'll almost certainly see a massive difference between versions - different registers, instructuion order, etc. |
I think I expressed myself unclearly: I continue to test and doc and then we take it "then". |
Yes, it would be interesting to compare - however I'm not sure adding a script/documentation to the Espruino repository on doing this would be useful to many people? I mean, it's a very rare thing to want to do, and anyone who cared would likely do it themselves in a few lines of bash anyway, rather than searching to see if it had already been done. |
It would only be useful at certain times. |
got rid of another problem
still getting there