Skip to content
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

LPC1768: Enable RTC #8009

Merged
merged 1 commit into from
Sep 24, 2018
Merged

LPC1768: Enable RTC #8009

merged 1 commit into from
Sep 24, 2018

Conversation

mmahadevan108
Copy link
Contributor

Description

Enable RTC on LPC1768. Passed the RTC tests, results below:

mbedgt: greentea test automation tool ver. 1.4.0
mbedgt: test specification file '.\BUILD\tests\LPC1768\IAR\test_spec.json' (specified with --test-spec option)
mbedgt: using '.\BUILD\tests\LPC1768\IAR\test_spec.json' from current directory!
mbedgt: detecting connected mbed-enabled devices...
mbedgt: detected 2 devices
mbedgt: processing target 'LPC1768' toolchain 'IAR' compatible platforms... (note: switch set to --parallel 1)
mbedgt: test case filter (specified with -n option)
mbed-os-tests-mbed_hal-rtc*
test filtered in 'mbed-os-tests-mbed_hal-rtc_time_conv'
test filtered in 'mbed-os-tests-mbed_hal-rtc_reset'
test filtered in 'mbed-os-tests-mbed_hal-rtc'
test filtered in 'mbed-os-tests-mbed_hal-rtc_time'
mbedgt: running 4 tests for platform 'LPC1768' and toolchain 'IAR'
mbedgt: mbed-host-test-runner: started
mbedgt: checking for GCOV data...
mbedgt: test on hardware with target id: 101000000000000000000002F7F2171F717c989aaee5786d06004ba75cb79c0b
mbedgt: test suite 'mbed-os-tests-mbed_hal-rtc_time_conv' ............................................ OK in 41.54 sec
test case: 'test make time and local time - RTC leap years full support' ..................... OK in 11.93 sec
test case: 'test make time and local time - RTC leap years partial support' .................. OK in 11.62 sec
mbedgt: test case summary: 2 passes, 0 failures
mbedgt: mbed-host-test-runner: started
mbedgt: checking for GCOV data...
mbedgt: test case summary event not found
no test case report present, assuming test suite to be a single test case!
test suite: mbed-os-tests-mbed_hal-rtc_reset
test case: mbed-os-tests-mbed_hal-rtc_reset
mbedgt: test on hardware with target id: 101000000000000000000002F7F2171F717c989aaee5786d06004ba75cb79c0b
mbedgt: test suite 'mbed-os-tests-mbed_hal-rtc_reset' ................................................ OK in 23.06 sec
test case: 'mbed-os-tests-mbed_hal-rtc_reset' ................................................ OK in 23.06 sec
mbedgt: test case summary: 1 pass, 0 failures
mbedgt: mbed-host-test-runner: started
mbedgt: checking for GCOV data...
mbedgt: test on hardware with target id: 101000000000000000000002F7F2171F717c989aaee5786d06004ba75cb79c0b
mbedgt: test suite 'mbed-os-tests-mbed_hal-rtc' ...................................................... OK in 53.04 sec
test case: 'RTC - accuracy' .................................................................. OK in 10.03 sec
test case: 'RTC - enabled' ................................................................... OK in 0.05 sec
test case: 'RTC - glitch' .................................................................... OK in 4.03 sec
test case: 'RTC - init' ...................................................................... OK in 0.05 sec
test case: 'RTC - persist' ................................................................... OK in 4.04 sec
test case: 'RTC - range' ..................................................................... OK in 16.05 sec
test case: 'RTC - write/read' ................................................................ OK in 0.04 sec
mbedgt: test case summary: 7 passes, 0 failures
mbedgt: mbed-host-test-runner: started
mbedgt: checking for GCOV data...
mbedgt: test on hardware with target id: 101000000000000000000002F7F2171F717c989aaee5786d06004ba75cb79c0b
mbedgt: test suite 'mbed-os-tests-mbed_hal-rtc_time' ................................................. OK in 53.33 sec
test case: 'RTC - accuracy' .................................................................. OK in 10.03 sec
test case: 'RTC - enabled' ................................................................... OK in 0.05 sec
test case: 'RTC - glitch' .................................................................... OK in 4.03 sec
test case: 'RTC - init' ...................................................................... OK in 0.04 sec
test case: 'RTC - persist' ................................................................... OK in 4.05 sec
test case: 'RTC - range' ..................................................................... OK in 16.04 sec
test case: 'RTC - write/read' ................................................................ OK in 0.05 sec
mbedgt: test case summary: 7 passes, 0 failures
mbedgt: all tests finished!
mbedgt: shuffle seed: 0.9782313111
mbedgt: test suite report:
+-------------+---------------+--------------------------------------+--------+--------------------+-------------+
| target | platform_name | test suite | result | elapsed_time (sec) | copy_method |
+-------------+---------------+--------------------------------------+--------+--------------------+-------------+
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc | OK | 53.04 | default |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_reset | OK | 23.06 | default |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time | OK | 53.33 | default |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time_conv | OK | 41.54 | default |
+-------------+---------------+--------------------------------------+--------+--------------------+-------------+
mbedgt: test suite results: 4 OK
mbedgt: test case report:
+-------------+---------------+--------------------------------------+--------------------------------------------------
--------------+--------+--------+--------+--------------------+
| target | platform_name | test suite | test case
| passed | failed | result | elapsed_time (sec) |
+-------------+---------------+--------------------------------------+--------------------------------------------------
--------------+--------+--------+--------+--------------------+
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc | RTC - accuracy
| 1 | 0 | OK | 10.03 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc | RTC - enabled
| 1 | 0 | OK | 0.05 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc | RTC - glitch
| 1 | 0 | OK | 4.03 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc | RTC - init
| 1 | 0 | OK | 0.05 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc | RTC - persist
| 1 | 0 | OK | 4.04 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc | RTC - range
| 1 | 0 | OK | 16.05 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc | RTC - write/read
| 1 | 0 | OK | 0.04 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_reset | mbed-os-tests-mbed_hal-rtc_reset
| 1 | 0 | OK | 23.06 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time | RTC - accuracy
| 1 | 0 | OK | 10.03 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time | RTC - enabled
| 1 | 0 | OK | 0.05 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time | RTC - glitch
| 1 | 0 | OK | 4.03 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time | RTC - init
| 1 | 0 | OK | 0.04 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time | RTC - persist
| 1 | 0 | OK | 4.05 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time | RTC - range
| 1 | 0 | OK | 16.04 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time | RTC - write/read
| 1 | 0 | OK | 0.05 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time_conv | test make time and local time - RTC leap years fu
ll support | 1 | 0 | OK | 11.93 |
| LPC1768-IAR | LPC1768 | mbed-os-tests-mbed_hal-rtc_time_conv | test make time and local time - RTC leap years pa
rtial support | 1 | 0 | OK | 11.62 |
+-------------+---------------+--------------------------------------+--------------------------------------------------
--------------+--------+--------+--------+--------------------+
mbedgt: test case results: 17 OK

Pull request type

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

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
@mmahadevan108
Copy link
Contributor Author

cc @0xc0170 @cmonr

@cmonr cmonr added the needs: CI label Sep 5, 2018
@mmahadevan108
Copy link
Contributor Author

Anything needed for this PR?

@cmonr
Copy link
Contributor

cmonr commented Sep 19, 2018

@mmahadevan108 Nope. We're just experiencing a worse-than-typical backlog of PRs due to the 5.10 release.

@cmonr
Copy link
Contributor

cmonr commented Sep 23, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Sep 23, 2018

Build : SUCCESS

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

Triggering tests

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

@mbed-ci
Copy link

mbed-ci commented Sep 24, 2018

@mbed-ci
Copy link

mbed-ci commented Sep 24, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 24, 2018

/morph test

@mbed-ci
Copy link

mbed-ci commented Sep 24, 2018

@cmonr cmonr merged commit 7ca85f9 into ARMmbed:master Sep 24, 2018
@mmahadevan108 mmahadevan108 deleted the LPC1768_RTC branch September 27, 2018 13:28
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.

4 participants