Rockbox Development > Starting Development and Compiling
New to Rockbox Development, Plugins?
saratoga:
Yeah pretty much. Theres actually some decent docs on this in the wiki:
http://www.rockbox.org/twiki/bin/view/Main/RockboxArchitecture
Also, if you look at the target tree:
http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/?pathrev=12771
You can see how some of the code is divided. I say some since a lot of it isn't neatly separated yet, but the newer stuff mostly is.
neoAKiRAz:
Thanks for the info, I'll take a look at it later. Actually I should have read that before wanting to see my code in my Sansa LCD, but I'm sooo anxious :)
And, yes, it's working. Horribly, but at least the color of the snake is ok :)
I wanted to know if is there a way of compiling only my .C since the execution of 'make' takes about 3-4 mins in my machine (just checking that there are no changes in the rest of all ^_^'). I'm a little forgotten in C, so "gcc -c my_plugin.c .../plugins.h" didn't work :P
Any other idea??
safetydan:
If you do another svn update, you should get a new version of the configure script. If you rerun that (i.e. run tools/configure again and select the simulator options as before), you should have a new makefile that will let you build your plugins faster using "make rocks".
neoAKiRAz:
I updated to revision 12772 (9 files updated).
Then I run the configure script, where I chose '50' for Sansa-e260 again and N for Normal build.
The output was:
--- Code: ---Normal build selected
Using source code root directory: /home/rockbox
Using arm-elf-gcc 4.0.3 (400)
Created Makefile
--- End code ---
Then I tried 'make rocks', but it took an awful long time. I suppose it was because of the new downloaded files. So I modified my_plugin.c and ran it again but the same "is up to date" and "nothing to be done with" arose, and it took about 3-4 min. So I guess it didn't work. Did I miss something?
neoAKiRAz:
It worked!!! :D
I have a beautiful white 8-pixel thick snake crawling over a black background after a red fruit. Hehe!
It speeds up and down with the wheel and grows with the round select button (for debug purpouses only :P)
Now I can go to sleeep... ;D
Thanks for all the help!
PS: The script was right, "much happiness arose" from running "../tools/configure" from the build directory. Ho ho.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version