-
Notifications
You must be signed in to change notification settings - Fork 34
Add support for EP_AGORA #21
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
Can one of the admins verify this patch? |
@maclobdell @ARMmbed/team-embeddedplanet |
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.
@trowbridgec thanks for the PR. We'd like to keep a very simple application with no custom configuration.
Do you think would be possible to remove extra code and only introduce a json configuration a maybe a .lib file for the network driver?
Note we don't (yet) have tests in place - depends on #13 FYI @maclobdell |
@MarceloSalazar Thank you for taking time to review this PR! Part of the reason that we didn't put the board initialization in mbed-os proper is that this target can be used with 3 different types of connectivity based on populate options (BLE, LoRa, cellular). So, we didn't want to hard-code support for cellular in the target definition for someone who is just using the BLE functionality, for example. You can see more info on our platform here. We tried to keep the target definition as generic as possible and intended to "specialize" what's needed for the various mbed-os example applications (e.g. I totally understand the desire to keep the test application to a minimum. I think I can move some of the special code to a |
Depends on ARMmbed/mbed-os#11566 |
@trowbridgec The latest commit no longer builds. Looks like mbed os might have the wrong version??? Compile [ 17.9%]: arm_uc_pal_blockdevice.c [mbed] ERROR: "/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python" returned error. |
@linlingao Yes, that makes sense. This PR is now dependent on this PR in mbed-os: ARMmbed/mbed-os#11566. |
Builds fine now with #11566. Thanks! |
mbed_app.json
Outdated
"target.components_add" : ["FLASHIAP"], | ||
"update-client.bootloader-details" : "0x9884", | ||
"update-client.application-details" : "0xB000", | ||
"update-client.storage-address" : "(2*1024*1024)", |
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.
Is there a reason this starts at 2 MB ?
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.
This starts at 2MB because that example that I was following started at 2MB and now our Pelion applications use 2MB. I'm not sure that it needs to be at 2MB, but our NOR flash part is +4MB (depending on populate option) and the internal flash size of our application MCU (Nordic nRF52840) is 1MB, so it shouldn't be an issue.
I noticed the latest pelion client enables PSA on K64 (beta).
What is the path for this on NRF52840 and this target?
I would like to move all our secure storage related to identity internal to the part if possible.
|
@teetak01 I made some tweaks to this PR, can you please take another look at it? Thanks! |
@loverdeg-ep we will make this repo public, so you might consider editing your earlier post from email. |
8766a2d
to
a92a919
Compare
This PR relies on PR ARMmbed/mbed-os#11566 which was merged into |
We still need to get CI-automation support for this board, and get the official Mbed OS release updated here. |
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.
Approved pending the release of Mbed OS 5.14.1 which should have ARMmbed/mbed-os#11566 released in it.
build-only |
6349264
to
89f9917
Compare
Bump, now that mbed-os 5.14.1 has been released (https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.14.1, which includes ARMmbed/mbed-os#11566), and CI boards have been received by @maclobdell |
The boards are not yet part of CI. |
@maclobdell @trowbridgec can you rebase this? I can then merge this in. Could you also add this note to the README for this target: "Build-only" This effectively signifies that we only test the compilation for this target so far. We will remove the note after we get the board in CI. |
run-ci |
8651e06
to
87ca6dd
Compare
build-only |
Closed due to issues when the repo was switched to public. New PR created at #68. |
Adds support for the Embedded Planet Agora platform (
EP_AGORA
) to this demo application.NOTE: This PR updatesmbed-os.lib
tomaster
since there are necessary pinout changes to theEP_AGORA
target which are set to be released in 5.14.0 in a couple days.