Skip to content

Add support for RapidIoT #8307

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
Oct 18, 2018
Merged

Conversation

mmahadevan108
Copy link
Contributor

Description

This PR requires

  1. Update to greentea set forced_reset_timeout 10 sec for RAPIDIOT_K64F greentea#282
  2. Update to mbed-ls Add support for RapidIoT mbed-ls#393
  3. Update to DAPLink RapidIoT: Need separate board ID for the K64F and KW41Z DAPLink#508

Pull request type

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

@mmahadevan108
Copy link
Contributor Author

cc @maclobdell @cmonr @0xc0170

@mmahadevan108 mmahadevan108 force-pushed the Add-Support_RapidIoT branch 2 times, most recently from 0b2cc58 to 6e86296 Compare October 3, 2018 17:03
@0xc0170 0xc0170 requested a review from a team October 4, 2018 15:37
@0xc0170
Copy link
Contributor

0xc0170 commented Oct 5, 2018

Update to greentea ARMmbed/greentea#282
Update to mbed-ls ARMmbed/mbed-ls#393
Update to DAPLink ARMmbed/DAPLink#508

needs: preceding PR

@cmonr
Copy link
Contributor

cmonr commented Oct 8, 2018

Interesting.

@ARMmbed/mbed-os-test
This should only require PR updates, correct? No changes/updatess to CI needed?

@studavekar
Copy link
Contributor

@cmonr as the board is not part of HW test, no need to update tools.

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 9, 2018

@maclobdell @ashok-rao Please review


I2C_SCL = PTC10,
I2C_SDA = PTC11,

Copy link
Contributor

Choose a reason for hiding this comment

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

@mmahadevan108 : No SPI brought out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have added SPI defines in the PinNames.h file.

"macros": ["FSL_RTOS_MBED", "USE_EXTERNAL_RTC"],
"default_toolchain": "ARM",
"default_lib": "std",
"release_versions": ["2", "5"]
Copy link
Contributor

Choose a reason for hiding this comment

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

@mmahadevan108 : you may want to add a "public: false" here for the parent target..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you. I have made this change and updated the PR.

"macros_add": ["CPU_MK64FN1M0VMD12", "TARGET_K64F"],
"is_disk_virtual": true,
"mbed_rom_start": "0x00014000",
"mbed_rom_size": "0xEC000",
Copy link
Contributor

Choose a reason for hiding this comment

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

@0xc0170, @mmahadevan108 / @maclobdell : Would it be better to move these 2 (ram,rom starts) to the respective linker descriptions (ARMCC / GCC / IAR) rather than here? wrapped in an #ifdef for the rapidiot targets only..

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

@ashok-rao ashok-rao left a comment

Choose a reason for hiding this comment

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

Thanks @mmahadevan108 . Some minor comments added. Otherwise looking good!

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 11, 2018

@mmahadevan108 Can you review latest comments? This addition is almost ready for CI

@mmahadevan108
Copy link
Contributor Author

@ashok-rao @0xc0170 I have updated the PR with changes to include comments received.

@cmonr
Copy link
Contributor

cmonr commented Oct 16, 2018

@ashok-rao @maclobdell Could y'all take another look? Ignore the unittest result, as it's not this PR's fault.

SPI_MOSI = PTC6,
SPI_MISO = PTC7,
SPI_SCK = PTC5,
SPI_PERSISTENT_MEM_CS = PTC4,
Copy link
Contributor

@ashok-rao ashok-rao Oct 17, 2018

Choose a reason for hiding this comment

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

@mmahadevan108 : Not sure if this pin name for the CS maintains consistency with others? why not SPI_SSEL or SPI_NCS ..?
cc @0xc0170 @cmonr ..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not familiar with the names, I copied this from K64F. These are new additions and I am not familiar with the use-case for which these were added, please suggest and I will make the change.

Copy link
Contributor

Choose a reason for hiding this comment

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

@yossi2le Can you review this one?

Copy link
Contributor

@ashok-rao ashok-rao left a comment

Choose a reason for hiding this comment

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

Just a minor comment added on naming convention.. rest all LGTM! Thanks @mmahadevan108 ..

@cmonr
Copy link
Contributor

cmonr commented Oct 17, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 17, 2018

Build : SUCCESS

Build number : 3392
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8307/

Triggering tests

/morph test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Oct 17, 2018

@mbed-ci
Copy link

mbed-ci commented Oct 18, 2018

@cmonr cmonr merged commit c9adf3c into ARMmbed:master Oct 18, 2018
@cmonr cmonr removed the needs: CI label Oct 18, 2018
@mmahadevan108 mmahadevan108 deleted the Add-Support_RapidIoT branch October 18, 2018 13:59
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