Skip to content

DISCO_L475VG_IOT01A : Add new target #4242

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 26 commits into from
Jun 20, 2017
Merged

Conversation

bcostm
Copy link
Contributor

@bcostm bcostm commented Apr 28, 2017

Description

This PR adds the new B-L475E-IOT01A board.

Status

READY

Migrations

NO

/* [RAM = 128kb = 96kb + 32kb = 0x20000] */
/* Vector table dynamic copy: Total: 98 vectors = 392 bytes (0x188) to be reserved in RAM */
define symbol __NVIC_start__ = 0x10000000;
define symbol __NVIC_end__ = 0x10000187; /* Aligned on 8 bytes (392 = 49 x 8) */
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be aligned as the comment says? Or that one is related to SRAM2 start that is then?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes this is already aligned (must be blocks of 8 bytes). This is the same on other L4xx devices.

Copy link
Contributor

Choose a reason for hiding this comment

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

Could we change that comment to say that the address after the end is 8 byte aligned? I don't think that 0x187 is a multiple of 8 bytes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@adbridge
Copy link
Contributor

adbridge commented May 4, 2017

Oulu CI failed with:
Couldn't allocate resources

Restarted....

@bcostm bcostm force-pushed the dev_disco-l475-iot branch from 5c232ee to b45e88d Compare May 9, 2017 11:25
@bcostm
Copy link
Contributor Author

bcostm commented May 9, 2017

Rebased + solved conflicts

define region SRAM1_region = mem:[from __region_SRAM1_start__ to __region_SRAM1_end__];

/* Stack 1/8 and Heap 1/4 of RAM */
define symbol __size_cstack__ = 0x8000;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this not too big for mbed OS - this is isr stack ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes maybe. I kept the same values as those used in L476 targets.

@@ -84,6 +84,8 @@
{ "target": "DISCO_F469NI", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos"] },
{ "target": "DISCO_F746NG", "toolchains": "GCC_ARM", "libs": ["dsp"] },
{ "target": "DISCO_F769NI", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos"] },
{ "target": "DISCO_L475VG_IOT01A", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb"] },
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please remove rtos from here (cmsis5 will make this deprecated soon)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

{"target": "DISCO_L475VG_IOT01A",
"toolchains": "GCC_ARM",
"tests": {"" : ["MBED_2", "MBED_10", "MBED_11", "MBED_16"],
"rtos" : ["RTOS_1", "RTOS_2", "RTOS_3"],
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@bcostm bcostm force-pushed the dev_disco-l475-iot branch from b45e88d to 2954449 Compare May 15, 2017 09:06
@bcostm
Copy link
Contributor Author

bcostm commented May 15, 2017

Rebased + removed rtos in build_travis.py

@0xc0170
Copy link
Contributor

0xc0170 commented May 15, 2017

Can you please rebase again, There was one merge earlier to result in conflicts ( this is probably because of cmsis5 update) as reported earlier

@bcostm
Copy link
Contributor Author

bcostm commented May 16, 2017

Rebased

@theotherjimmy
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 237

All builds and test passed!

@0xc0170
Copy link
Contributor

0xc0170 commented May 17, 2017

Note: this might require one more rebase, as cmsis5 update is going to land soon. It touches tools script, and might require additional update for the new rtos, we will keep you informed and provide an assistance to make it forward. Thank you for understanding

@bcostm
Copy link
Contributor Author

bcostm commented May 18, 2017

OK. So I wait the merge of CMSIS5 update and I will rebase after.

@bcostm
Copy link
Contributor Author

bcostm commented May 30, 2017

cmsis5 update is going to land soon

Any idea when ?

It becomes critical for us. Can we merge this PR first ?

@0xc0170
Copy link
Contributor

0xc0170 commented May 30, 2017

Any idea when ?

Should have been. There's one last module to be updated, our tests should be fixed by then and get a green light.

It becomes critical for us. Can we merge this PR first ?

We would like to, however constant rebasing (too many changes ongoing) and restarting tests are prolonging this update. We will have a look at new targets today, and cmsis5, I'll keep you updated. Thanks for understanding.

@sg- sg- added the needs: CI label Jun 3, 2017
@bcostm bcostm force-pushed the dev_disco-l475-iot branch from 2be7918 to 66cbc8b Compare June 12, 2017 15:03
@bcostm
Copy link
Contributor Author

bcostm commented Jun 12, 2017

Rebased and solve build issue related to recent other PRs merges.

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 15, 2017

An update: We will run CI for this as soon as the upcoming release is made (CI queued up with jobs for it).

@screamerbg
Copy link
Contributor

@0xc0170 does this mean that this PR will be included in the release as well or?

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 15, 2017

Shall get in for 5.5.1 (the next week), I added a label.

@sg-
Copy link
Contributor

sg- commented Jun 15, 2017

/morph test

@mbed-bot
Copy link

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 563

Test Prep failed!

@adbridge
Copy link
Contributor

Looks like one of the test nodes lost communication with github:

19:19:18  > git checkout -f 226af545a41df30f1846f4da3eb700eea7ed29ec
19:29:18 ERROR: Timeout after 10 minutes
19:29:35 FATAL: Could not checkout 226af545a41df30f1846f4da3eb700eea7ed29ec
19:29:50 hudson.plugins.git.GitException: Command "git checkout -f 226af545a41df30f1846f4da3eb700eea7ed29ec" returned status code -1:

We can just restart this once rc3 is green

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 17, 2017

/morph test

@mbed-bot
Copy link

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 579

Test failed!

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 19, 2017

The failures are not related to this patch, neither the failures reappearing

/morph test

@mbed-bot
Copy link

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 584

Example Build failed!

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 19, 2017

Job aborted ,will be restarted

@theotherjimmy
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 589

Example Build failed!

@studavekar
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 590

All builds and test passed!

@adbridge adbridge merged commit c5e1fa7 into ARMmbed:master Jun 20, 2017
@bcostm bcostm deleted the dev_disco-l475-iot branch June 28, 2017 12:41
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