Skip to content

New target UNO_91H from RDA Microelectronics. #7309

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 1 commit into from
Nov 15, 2018
Merged

Conversation

kyliuxing
Copy link
Contributor

@kyliuxing kyliuxing commented Jun 25, 2018

Description

New target UNO_91H from RDA Microelectronics.

Pull request type

[ ] Fix
[ ] Refactor
[x] New target
[ ] Feature
[ ] Breaking change

greentea logs are attached below:
Greentea_report.zip

@kyliuxing
Copy link
Contributor Author

This PR inherit from #6508

@@ -538,6 +538,65 @@ class RTL8195ACode:
def binary_hook(t_self, resources, elf, binf):
from tools.targets.REALTEK_RTL8195AM import rtl8195a_elf2bin
rtl8195a_elf2bin(t_self, elf, binf)

class RDATargetCode:
Copy link
Contributor

Choose a reason for hiding this comment

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

@theotherjimmy Please review this addition

@@ -0,0 +1,174 @@
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
Copy link
Contributor

Choose a reason for hiding this comment

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

These files should have 2018 only year there

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 already corrected them.

#endif

// set to sleep
hal_sleep();
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this pass the sleep test (hal - sleep tests) ?

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, we have passed greentea test

Copy link
Contributor

Choose a reason for hiding this comment

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

@kyliuxing Would you mind posting the results for all three compilers?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cmonr I have added them.

; 8_byte_aligned(31 vect * 4 bytes) = 8_byte_aligned(0x7C) = 0x80
ER_IRAMVEC RDA_IRAM_BASE EMPTY 0x80 { ; Reserved for vectors
}
; IRAM Size: Total(128KB) - Vector(128B) - Stack(2KB)
Copy link
Contributor

Choose a reason for hiding this comment

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

@bulislaw Stack 1kB for new devices?

@kyliuxing kyliuxing changed the title New target UNO_81C from RDA Microelectronics. New target UNO_91H from RDA Microelectronics. Jun 25, 2018
@kyliuxing
Copy link
Contributor Author

Change target name from UNO_81C to UNO_91H

Copy link
Contributor

@theotherjimmy theotherjimmy left a comment

Choose a reason for hiding this comment

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

Could you explain to me why you need the following files generated by your post-bulid script:

  • project.rcf
  • project_data.txt
  • project_dasm.txt

None of these are returned to the user by the online compiler.

@kyliuxing
Copy link
Contributor Author

@theotherjimmy Rcf file is used for design verification , data and dasm can help track crash issue.

@theotherjimmy
Copy link
Contributor

@kyliuxing We don't take post build scrits that "help track crash issues". Why is the RCF file needed by an arbitrary user?

@theotherjimmy
Copy link
Contributor

Further, Disassembly can be done by GDB, Uvision, IAR and many other IDEs without the use of any specialized infrastructure. Ditto for data section dumping (which is already part of the map file).

@kyliuxing
Copy link
Contributor Author

@theotherjimmy I have removed them

@@ -0,0 +1,27 @@
/* mbed Microcontroller Library - sbrkwrap
* Copyright (C) 2009-2018 ARM Limited. All rights reserved.
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 edit this license to be as in other files

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.

@@ -0,0 +1,5 @@
libhal files in the subfolders are generated with toolchains:

Arm Compiler 5 - version 5.06u1
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

What license are these released with? Permissive Binary License?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@0xc0170 yes, I have added license.

@0xc0170 0xc0170 requested a review from a team June 29, 2018 11:33
@0xc0170
Copy link
Contributor

0xc0170 commented Jun 29, 2018

@ARMmbed/mbed-os-tls Please review TRNG addition

@0xc0170 0xc0170 requested a review from a team June 29, 2018 11:35
@theotherjimmy
Copy link
Contributor

@kyliuxing Thanks! Now you're target will be trivial to get working in the online compiler.

@yanesca
Copy link
Contributor

yanesca commented Jul 2, 2018

Can you please fix the reviewers? This needs to be reviewed by @mbed-os-crypto, not @mbed-os-tls.

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 2, 2018

Can you please fix the reviewers? This needs to be reviewed by @mbed-os-crypto, not @mbed-os-tls.

Will do. Just to confirm for @ARMmbed/mbed-os-maintainers - TRNG belongs to the crypto team

@0xc0170 0xc0170 removed the request for review from a team July 2, 2018 10:34
@0xc0170 0xc0170 requested a review from ashok-rao November 9, 2018 14:00
@kyliuxing
Copy link
Contributor Author

@0xc0170 Attachment Greentea_report.zip is already the latest GreenTea test results.Thanks!

@cmonr
Copy link
Contributor

cmonr commented Nov 10, 2018

@kyliuxing The PR still needs a rebase to resolve the current conflicts.

@kyliuxing
Copy link
Contributor Author

@cmonr done

@cmonr
Copy link
Contributor

cmonr commented Nov 12, 2018

Weird. Can't seem to dismiss @jamesbeyond's comment.

@jamesbeyond The tests results look good, aside from missing IAR, but not going to block this PR being able to start CI on that.

@kyliuxing Will start when able. We're looking at a couple of things internally.

@jamesbeyond
Copy link
Contributor

Hi @kyliuxing @cmonr , test results Look good to me. Thanks

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 12, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Nov 12, 2018

Build : SUCCESS

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

Triggering tests

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

@mbed-ci
Copy link

mbed-ci commented Nov 12, 2018

@mbed-ci
Copy link

mbed-ci commented Nov 12, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 14, 2018

/morph test

@mbed-ci
Copy link

mbed-ci commented Nov 14, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 14, 2018

/morph test

@mbed-ci
Copy link

mbed-ci commented Nov 14, 2018

@cmonr
Copy link
Contributor

cmonr commented Nov 14, 2018

Test failure is still unrelated to PR...
Will restart when able.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 15, 2018

Note: This PR is now a part of a rollup PR (#8753).

In order to expedite remaining CI testing, this PR has been bundled into the above rollup PR.

No further work is needed here, as once that PR is merged, this PR will also be closed and marked as merged.

If any more commits are made in this PR, this PR will remain open and have to go through CI on its own.

@cmonr
Copy link
Contributor

cmonr commented Nov 15, 2018

Please ignore. I derped.

@cmonr cmonr merged commit 6270642 into ARMmbed:master Nov 15, 2018
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.