Skip to content

Update IAR project template and revert dynamic heap support #9432

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 3 commits into from
Feb 11, 2019

Conversation

deepikabhavnani
Copy link

@deepikabhavnani deepikabhavnani commented Jan 18, 2019

Description

Reference template file is used from IAR8.32 installation available at path
"Embedded Workbench 8.2\arm\config\template\ConvertToIAR\template_project.ewp"
Also added trustzone configs in iar_definitions.json

Reverting dynamic heap feature till IAR 8.x is stable and supported in Mbed OS for few releases
This reverts commit 8ee29bb a645bb2 891e1f2.

Pull request type

[X] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@ciarmcom ciarmcom requested review from a team January 18, 2019 18:00
@ciarmcom
Copy link
Member

@deepikabhavnani, thank you for your changes.
@ARMmbed/mbed-os-tools @ARMmbed/mbed-os-maintainers please review.

Copy link
Contributor

@theotherjimmy theotherjimmy left a comment

Choose a reason for hiding this comment

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

The size of the template diff would concern me, but it looks like the settings were just re-ordered.

@cmonr
Copy link
Contributor

cmonr commented Jan 30, 2019

This can be tested now since IAR8 should be enabled in CI (for the branch at least)

@cmonr
Copy link
Contributor

cmonr commented Jan 31, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Jan 31, 2019

Test run: FAILED

Summary: 1 of 5 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-IAR8

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 31, 2019

@deepikabhavnani Please review the failures. I assume first PR should be to disable these targets (they need updating their binaries), thus this PR should be "preceding PR needed" ?

@deepikabhavnani
Copy link
Author

Preceding PR is merged to feature branch, no dependencies now. Started CI

@mbed-ci
Copy link

mbed-ci commented Feb 6, 2019

Test run: FAILED

Summary: 3 of 6 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_exporter
  • jenkins-ci/mbed-os-ci_greentea-test
  • jenkins-ci/mbed-os-ci_cloud-client-test

@deepikabhavnani
Copy link
Author

@ARMmbed/mbed-os-test @ARMmbed/mbed-os-maintainers

Please help me understand this issue ---


[Pipeline] End of Pipeline



GitHub has been notified of this commit’s build result



org.jenkinsci.plugins.workflow.cps.CpsCompilationErrorsException: startup failed:

file:/var/jenkins_home/jobs/mbed-os-ci/branches/PR-9432/builds/4/libs/mbed-os-ci/src/ciconfigurations/repositories/mbedos/FeatureARMC6BranchConfig.groovy: 13: unexpected token: toolchains @ line 13, column 45.

                                 toolchains

                                 ^
1 error

Reference template file is used from IAR8.32 installation available at path
"Embedded Workbench 8.2\arm\config\template\ConvertToIAR\template_project.ewp"

Also added trustzone configs in iar_definitions.json
Deepika added 2 commits February 6, 2019 12:09
Two new block properties available in linker configuration files:
"expanding size" and "minimum size" for IAR 8.11.2 and above

Sample:
define block HEAP with expanding size, minimum size = 16K, alignment = 8 {};

This block will expand to consume all remaining available space in
the range where it is placed. If several such blocks end up in the same
range, they will share the remaining space.
Cannot place a block with expanding size inside another block with
expanding size, inside a block with maximum size, or inside an overlay.
Reverting this feature till IAR 8.x is stable and supported in Mbed OS
for few releases

1. Revert "Add Dynamic heap support to IAR"

This reverts commit 8ee29bb.

2. Revert "Splited RAM section not compatible with dynamic HEAP."

This reverts commit a645bb2.

3. Revert "Add Dynamic heap support to IAR"

This reverts commit 891e1f2.
@deepikabhavnani deepikabhavnani changed the title Update IAR project template as per IAR 8.32 Update IAR project template and revert dynamic heap support Feb 6, 2019
@NirSonnenschein
Copy link
Contributor

re-checking for latest changes: started CI

@alekla01
Copy link
Contributor

alekla01 commented Feb 7, 2019

restarted CI

@mbed-ci
Copy link

mbed-ci commented Feb 7, 2019

Test run: FAILED

Summary: 1 of 6 test jobs failed
Build number : 7
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_cloud-client-test

@deepikabhavnani
Copy link
Author

@ARMmbed/mbed-os-test-team - Please help with failure in cloud client CI

"Couldn't allocate required resources: Allocation failed"

@deepikabhavnani
Copy link
Author

@ARMmbed/mbed-os-maintainers - Not sure what is issue with cloud client CI, since this PR is for feature branch can we merge it with rest of the checks green.

I need to rebase feature branch for PSOC boards after this is merged.

@NirSonnenschein
Copy link
Contributor

Hi @deepikabhavnani , the error seems to be CI related ( resource allocation timeout) : re-running the cloud CI tests.

@deepikabhavnani
Copy link
Author

Hi @deepikabhavnani , the error seems to be CI related ( resource allocation timeout) : re-running the cloud CI tests.

Error still existed after re-running test, @NirSonnenschein - Please see if someone can help with this

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 11, 2019

I restarted it one more time and will report to CI team

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 11, 2019

Looks like it worked ! 💯

@0xc0170 0xc0170 merged commit 6c84b59 into ARMmbed:feature-iar8 Feb 11, 2019
@deepikabhavnani deepikabhavnani deleted the IAR8_template_changes branch February 11, 2019 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants