-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Conversation
This PR inherit from #6508 |
tools/targets/__init__.py
Outdated
@@ -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: |
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.
@theotherjimmy Please review this addition
@@ -0,0 +1,174 @@ | |||
/* mbed Microcontroller Library | |||
* Copyright (c) 2006-2013 ARM Limited |
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.
These files should have 2018 only year there
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 have already corrected them.
#endif | ||
|
||
// set to sleep | ||
hal_sleep(); |
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.
Does this pass the sleep test (hal - sleep tests) ?
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, we have passed greentea test
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.
@kyliuxing Would you mind posting the results for all three compilers?
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.
@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) |
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.
@bulislaw Stack 1kB for new devices?
Change target name from UNO_81C to UNO_91H |
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.
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.
@theotherjimmy Rcf file is used for design verification , data and dasm can help track crash issue. |
@kyliuxing We don't take post build scrits that "help track crash issues". Why is the RCF file needed by an arbitrary user? |
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). |
@theotherjimmy I have removed them |
@@ -0,0 +1,27 @@ | |||
/* mbed Microcontroller Library - sbrkwrap | |||
* Copyright (C) 2009-2018 ARM Limited. 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.
Can you edit this license to be as in other 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.
done.
@@ -0,0 +1,5 @@ | |||
libhal files in the subfolders are generated with toolchains: | |||
|
|||
Arm Compiler 5 - version 5.06u1 |
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.
👍
What license are these released with? Permissive Binary License?
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.
@0xc0170 yes, I have added license.
@ARMmbed/mbed-os-tls Please review TRNG addition |
@kyliuxing Thanks! Now you're target will be trivial to get working in the online compiler. |
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 Attachment Greentea_report.zip is already the latest GreenTea test results.Thanks! |
@kyliuxing The PR still needs a rebase to resolve the current conflicts. |
@cmonr done |
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. |
Hi @kyliuxing @cmonr , test results Look good to me. Thanks |
/morph build |
Build : SUCCESSBuild number : 3602 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 3207 |
Test : FAILUREBuild number : 3379 |
/morph test |
Test : FAILUREBuild number : 3396 |
/morph test |
Test : FAILUREBuild number : 3400 |
Test failure is still unrelated to PR... |
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. |
Please ignore. I derped. |
Description
New target UNO_91H from RDA Microelectronics.
Pull request type
greentea logs are attached below:
Greentea_report.zip