Hi,
Just got an mbed. Board+compiler looks great. Going well so far; the lights on the board are flashing away!
I've noticed a minor bug in the compiler when copying a project. A bit odd at first, but I managed to reproduce this in the compiler:
- Right click 'My Programs', select new program, give it a name e.g. 'temp'
- click on main.cpp. Add a line to it (I just put a comment at the end).
- Hit compile.
- Now right click on temp and select 'save as'. Call it e.g. temp2.
- If you now click on main.cpp in temp2, you can see from the top of the compiler window the file is still temp/main.cpp, not temp2/main.cpp
- If you edit this file, it's actually working on the file in the old project.
- If you hit compile, the new project gets compiled, not the code you've just written!
If I hit F5 after creating the project the compiler refreshes and it's all OK. So it's no big deal...
I'd just recommend hitting refresh after copying a project, or you might edit the wrong file. Since this happened on a copy, you've still got both versions, just in the wrong project :-)
cheers!
Hi,
Just got an mbed. Board+compiler looks great. Going well so far; the lights on the board are flashing away!
I've noticed a minor bug in the compiler when copying a project. A bit odd at first, but I managed to reproduce this in the compiler:
If I hit F5 after creating the project the compiler refreshes and it's all OK. So it's no big deal...
I'd just recommend hitting refresh after copying a project, or you might edit the wrong file. Since this happened on a copy, you've still got both versions, just in the wrong project :-)
cheers!