Skip to content

Config tests, GCC flags, requirements.txt #1911

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

Merged
merged 2 commits into from
Jun 13, 2016
Merged

Config tests, GCC flags, requirements.txt #1911

merged 2 commits into from
Jun 13, 2016

Conversation

screamerbg
Copy link
Contributor

This PR adds:

  • Config system tests
  • GCC flags to support uVisor
  • Updated requirements.txt

@@ -37,12 +37,11 @@ CPU = {% block cpu %}{% for cf in cpu_flags %}{{cf|replace("-mfloat-abi=softfp",
CC_FLAGS = {% block cc_flags %}$(CPU) -c -g -fno-common -fmessage-length=0 -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fomit-frame-pointer -MMD -MP{% endblock %}
CC_SYMBOLS = {% block cc_symbols %}{% for s in symbols %}-D{{s}} {% endfor %}{% endblock %}

LD_FLAGS = {%- block ld_flags -%}
LD_FLAGS = {%- block ld_flags -%} $(CPU) -Wl,--gc-sections --specs=nano.specs -Wl,--wrap,main -Wl,-Map=$(PROJECT).map,--cref -Wl,--wrap,_malloc_r -Wl,--wrap,_free_r -Wl,--wrap,_realloc_r
Copy link
Contributor

@0xc0170 0xc0170 Jun 12, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the flags should be located in the gcc file as they are now not in the template

I have to look, did not we fix gcc flags?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1872 fixes gcc flags. I'll prefer to merge that one once tested (I can do it tonight), and we apply this patch on top of it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I closed 1872, and there's replacement #1914. I can rebase that one on top of this one as I have it on the branch I can push to. I need now this changes then reapply them into the common flags.

@0xc0170 0xc0170 merged commit 3a0d561 into master Jun 13, 2016
@screamerbg screamerbg deleted the config-tests branch June 13, 2016 15:00
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