-
Notifications
You must be signed in to change notification settings - Fork 49
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
[RASPBERRYPI] Easy build for RPi MUST work and be maintained. #34
Comments
I can work on this, if you point me to the docs. |
Its mostly implemented now. I see that the main work is pushed already.
It should then use arm-none-eabi- compiler by default and just build (I hope). There's also a cleaner mechanism than adding code to bt_main.c to get your own code into BitThunder. Create a new folder outside of the BitThunder tree then inside that folder run the following command:
(Where ../bitthunder/ is the path to your bitthunder kernel source tree). From the project folder you'll see an objects.mk file with the following contents:
$(APP) is your project folder relative, and so you can add as main objects to the build as you like. Simply add a function called main inside main.c to override the default BitThunder main. I just pushed some fixes to make this all work correctly, so give me a shout if it doesn't work. James |
I've updated the post, to use the approach you suggest, and it all seems to be working, give me a shout if there are any changes I should make. |
Hi Richard, I've put a link to your tutorial now on the main website. I'll add it to some other places and make a blog post too to make it more prominent. Your updates look great. James |
😄 thanks! I'll contact you if I post anything else on it. |
No description provided.
The text was updated successfully, but these errors were encountered: