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

make some functions inline #22

Merged
merged 5 commits into from
Aug 14, 2020
Merged

Conversation

nerdralph
Copy link
Contributor

reduces code size when functions are not used

@nerdralph
Copy link
Contributor Author

I get no build errors with sdcc 3.8.0. I think the failure is due to Travis using sdcc 3.3.0.

@cibomahto
Copy link
Member

Makes sense. I'll take a look at updating the CI server to use something more modern. I had it pegged to an old version because they hadn't released a newer binary for Windows, however this is no longer the case: https://sourceforge.net/projects/sdcc/files/sdcc-win64/

@cibomahto cibomahto closed this Jul 31, 2020
@cibomahto cibomahto reopened this Jul 31, 2020
@cibomahto
Copy link
Member

Updating SDCC fixes the first issue, however it looks like an extra example 'play' was checked in, that doesn't have a proper makefile, so the CI test still fails. You can recreate what the test is doing by going to the 'examples' directory and typing 'make' - on Linux, this should build all of the examples cleanly. It doesn't work on Windows because the 'usb_device_cdc_i2c' example compiles some native code; that should probably be fixed but is a separate issue.

@nerdralph
Copy link
Contributor Author

Sorry, I forgot to make a new branch after I created the pull request and before I added the new 'play' subdir. Or maybe I could've just tagged my fork before generating the pull request instead of going off master. I'll see what I can do to clean that up.

@cibomahto
Copy link
Member

No worries, apologies for taking so long to check it out.

@nerdralph
Copy link
Contributor Author

nerdralph commented Aug 1, 2020 via email

@nerdralph
Copy link
Contributor Author

Any more comments?

@cibomahto cibomahto merged commit cbdb483 into Blinkinlabs:master Aug 14, 2020
@cibomahto
Copy link
Member

That looks great, thanks!

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

Successfully merging this pull request may close these issues.

2 participants