Skip to content

Add GR_MANGO as a new target #13375

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 6 commits into from
Aug 21, 2020
Merged

Conversation

RyoheiHagimoto
Copy link
Contributor

Summary of changes

Adding GR-MANGO as a new target.

Impact of changes

none

Migration actions required

none

Documentation

none.
GR_MANGO is added to the targets.
Added NULL-check to dns_get_interface_server() function in lwip_dns.c.


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[x] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

greentea_grmango_20200729.zip

UDP test was failed because of network environment.
rtos-tests-tests-mbedmicro-rtos-mbed-basic was ERROR because of issue #13359.


Reviewers


@mergify mergify bot added the needs: work label Jul 30, 2020
@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Jul 30, 2020
@ciarmcom ciarmcom requested review from toyowata and a team July 30, 2020 03:00
@ciarmcom
Copy link
Member

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

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 30, 2020

Please review astyle failures

@RyoheiHagimoto
Copy link
Contributor Author

Could you re-review this request?
Modified files to fix following 2 issues:

  • align with astyle rule.
  • delete old ARMC5 check.

greentea_grmango_20200731.zip

0xc0170
0xc0170 previously approved these changes Jul 31, 2020
@toyowata toyowata self-requested a review July 31, 2020 14:34
toyowata
toyowata previously approved these changes Jul 31, 2020
@mergify mergify bot dismissed stale reviews from 0xc0170 and toyowata August 3, 2020 03:09

Pull request has been modified.

@RyoheiHagimoto
Copy link
Contributor Author

Modified features/netsocket/emac_drivers/TARGET_RENESAS_EMAC/TARGET_RZ_A1XXX files to follow astyle.

greentea_rza1h_20200803.zip

toyowata
toyowata previously approved these changes Aug 4, 2020
@mergify mergify bot added needs: CI and removed needs: work labels Aug 4, 2020
@mergify
Copy link

mergify bot commented Aug 5, 2020

This PR cannot be merged due to conflicts. Please rebase to resolve them.

@mergify mergify bot added needs: work and removed needs: CI labels Aug 5, 2020
@mergify mergify bot dismissed toyowata’s stale review August 6, 2020 21:35

Pull request has been modified.

@RyoheiHagimoto
Copy link
Contributor Author

Rebased the repository.
Could you re-review?

greentea_grmango_gccarm_20200806.zip

@toyowata
Copy link
Contributor

toyowata commented Aug 7, 2020

@RyoheiHagimoto
Your PR contains some merge commits.
https://github.com/ARMmbed/mbed-os/pull/13375/commits

Can you fix?

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 12, 2020

@RyoheiHagimoto can you rebase to clean the history on your branch?

Added argument-check to avoid accessing NULL pointer.
The second argument 'interface_name' of this function can be NULL.
And the argument 'interface_name' is used for the argument of strcmp() without checked.

For example, LWIP::add_dns_server() calls dns_getserver(index - 1, NULL).
@mergify mergify bot added needs: CI and removed needs: work labels Aug 18, 2020
@0xc0170
Copy link
Contributor

0xc0170 commented Aug 19, 2020

CI started

@mergify mergify bot added needs: work and removed needs: CI labels Aug 19, 2020
@mbed-ci
Copy link

mbed-ci commented Aug 19, 2020

Jenkins CI Test : ❌ FAILED

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-ARM
jenkins-ci/mbed-os-ci_build-GCC_ARM

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 19, 2020

Please review the build failures, they are related

@toyowata
Copy link
Contributor

@0xc0170 I have quickly checked the log file. The target name for --mcu option should be GR_MANGO, not RZ_A2XX.

python -u ../mbed-os/tools/test/examples/examples.py -e mbed-os-example-blinky compile ARM --mcu RZ_A2XX

Compiling example repos....

[EXAMPLES]> INFO     In folder 'mbed-os-example-blinky'
[EXAMPLES]> INFO     Compiling mbed-os-example-blinky RZ_A2XX ARM
[EXAMPLES]> INFO     Executing command 'mbed-cli compile -t ARM -m RZ_A2XX -j 0'...

#### STDOUT ####
Building project mbed-os-example-blinky (RZ_A2XX, ARMC6)
Scan: mbed-os-example-blinky
Configuration error: Bootloader not supported on this target. ROM start not found in targets.json.
Configuration error: Bootloader not supported on this target. RAM start not found in targets.json.
No Linker Script found

Could not compile for RZ_A2XX: No Linker Script found```

"core": "Cortex-A9",
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
"extra_labels": ["RENESAS", "RZ_A2XX"],
"device_has": [
Copy link
Contributor

Choose a reason for hiding this comment

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

the issue is here, the target should not be a public (it's MCU_).

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 20, 2020

@toyowata +1, I've found the issue in the targets,json, I left a comment above

@toyowata
Copy link
Contributor

@0xc0170 thanks for your comment.

the issue is here, the target should not be a public (it's MCU_).

Do you mean the inherited target RZ_A2XX should have below?

    "public": false,

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 20, 2020

Yes that is correct

@mergify mergify bot dismissed stale reviews from 0xc0170 and toyowata August 20, 2020 10:49

Pull request has been modified.

@toyowata toyowata self-requested a review August 20, 2020 14:12
Copy link
Contributor

@toyowata toyowata left a comment

Choose a reason for hiding this comment

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

@RyoheiHagimoto thank you for the change.
@0xc0170 can you please start CI?

@mergify mergify bot added needs: CI and removed needs: work labels Aug 20, 2020
@0xc0170
Copy link
Contributor

0xc0170 commented Aug 21, 2020

CI restarted

@mbed-ci
Copy link

mbed-ci commented Aug 21, 2020

Jenkins CI Test : ✔️ SUCCESS

Build Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-ARM ✔️
jenkins-ci/mbed-os-ci_build-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️
jenkins-ci/mbed-os-ci_dynamic-memory-usage ✔️
jenkins-ci/mbed-os-ci_cloud-client-pytest ✔️

@0xc0170 0xc0170 merged commit 7b211f0 into ARMmbed:master Aug 21, 2020
@mergify mergify bot removed the ready for merge label Aug 21, 2020
@RyoheiHagimoto RyoheiHagimoto deleted the add_gr-mango branch August 27, 2020 01:56
@mbedmain mbedmain added release-version: 6.3.0 Release-pending and removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Sep 14, 2020
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.

7 participants