-
Notifications
You must be signed in to change notification settings - Fork 3k
Add IM880B as a new target platform #10681
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
Conversation
@itziardelatorre, thank you for your changes. |
Please review Travis, |
Could you please give me more details about the information that is missing? |
device_name updated. Could you please run the tests again? |
Seems travis passed, I'll run CI soon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Styling changes requested, otherwise it looks fine
|
||
//Standardized button name | ||
SW1 = PB_15, | ||
BUTTON1 = SW1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small style change - some pins are not aligned - can you fix that ? It will cause "space style errors" in the future that we should avoid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Styling changes fixed.
/* mbed Microcontroller Library | ||
******************************************************************************* | ||
* Copyright (c) 2016, STMicroelectronics | ||
* All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand these files were copied from elsewhere or other target. Can you add SPDX identifier for new files (we should still fix the old files). If you look at SPI.h or other files in platform folder, they contain
SPDX-License-Identifier: Apache-2.0
, in this case it would be BSD I believe. please add to the new files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your feedback.
Is the "SPDX-License-Identifier: BSD-3-Clause" identifier correct?
Is this only for the "PeripheralPins.c" file required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any new file should contain it (it's stated in our license docs guide).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, BSD-3-Clause should be the one for this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SPDX-License-Identifier added
Can you change the commit msg - not all of them are being about "adding new platform" but rather fixing the platform - first line could be "IM880B: fix style" or similar |
I added in the second line the details. E.g. "Add IM880B as a new target platform
Is this not enough? |
I would propose to have first commit as it is "Add IM880B as a new target platform" but the following commits to contain first lines to reflect what has changed. Simple If you need assistance , let us know |
I have modified the last message. Could you please continue with the PR? |
What is the merge commit, can you remove that one please? This does not require any merge commits (should not contain them). |
I've rebased this here https://github.com/0xc0170/mbed-os/pull/new/new_target_IM880B (I can push to your branch if this looks good) |
This looks fine. Thanks. |
2f7473a
to
b3e4e4c
Compare
Your branch was updated, will start CI once CI is fixed (there's currently internal issue) |
Many thanks for your support |
CI started |
Test run: FAILEDSummary: 6 of 7 test jobs failed Failed test jobs:
|
CI was aborted, restarted again |
Test run: FAILEDSummary: 1 of 7 test jobs failed Failed test jobs:
|
The last test failed. Is any update from my side required? |
@itziardelatorre Please review build artifacts. ARM fails with errors:
Some symbols from boot sequence are missing in the linker script file? |
Thanks for the information. I have updated the settings for the ARM compiler. |
Is there any input from my side required to continue with the CI? |
Please rebase, recent merge causing the conflicts now. we will retrigger CI (I actually was faster with CI rebuild than realizing there's merge conflict) |
Please let me know if the update does not fix the conflict |
Could you please confirm me if the conflict has been fixed? |
Could you please confirm me if the conflict has been fixed? |
@0xc0170 Could you please confirm me if the conflict has been fixed? |
It still reports the conflict. Have you pushed to your branch? I don't see any new commit |
@0xc0170 Thanks for your quick feedback. |
The latest commit looks incorrect to me (contains changes already on master) therefore there are conflicts. |
How could I solve the conflicts? I have updated the last target.json from master with the new target information "IM880B". |
d54cf18
to
b3e4e4c
Compare
I am rebasing this locally. The history looks wrong (line endings incorrect and the latest merges to resolve conflicts - rather use |
9dc3a1f
to
b3e4e4c
Compare
Thanks for your support. Please let me know if you need any input from my side. |
da9a335
to
b3e4e4c
Compare
I tried to clean it but still failing to get this conflict locally. I removed one commit that seemed to just change encoding of the files. I think the best would be to create new PR with clean history. I can see here targets.json has most probably tab but locally I see spaces 🤕 I'll close this and @itziardelatorre please create new PR from a new branch, much easier. |
Resolved via #10972 |
Description
Adds IM880B as a new platform.
The iM880B is a compact and low-cost radio module that operates in the unlicensed 868 MHz band and combines a powerful Cortex-M3 controller with the new LoRa® transceiver SX1272 of Semtech Corporation.
More details available at https://wireless-solutions.de/products/radiomodules/im880b-l.html
Please find attached the corresponding test results.
2019-05-24-TESTS_IM880B.zip
Pull request type
Reviewers
Release Notes