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

Conversation

Projects
None yet
4 participants
@mmahadevan108
Contributor

mmahadevan108 commented Sep 5, 2018

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
LPC1768: Enable RTC
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
@mmahadevan108

This comment has been minimized.

Contributor

mmahadevan108 commented Sep 5, 2018

@cmonr

cmonr approved these changes Sep 5, 2018

@cmonr cmonr added the needs: CI label Sep 5, 2018

@mmahadevan108

This comment has been minimized.

Contributor

mmahadevan108 commented Sep 19, 2018

Anything needed for this PR?

@cmonr

This comment has been minimized.

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

This comment has been minimized.

Contributor

cmonr commented Sep 23, 2018

/morph build

@mbed-ci

This comment has been minimized.

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

This comment has been minimized.

@mbed-ci

This comment has been minimized.

@0xc0170

This comment has been minimized.

Member

0xc0170 commented Sep 24, 2018

/morph test

@mbed-ci

This comment has been minimized.

@0xc0170 0xc0170 added ready for merge and removed needs: CI labels Sep 24, 2018

@cmonr cmonr merged commit 7ca85f9 into ARMmbed:master Sep 24, 2018

14 checks passed

ci-morph-build build completed
Details
ci-morph-exporter build completed
Details
ci-morph-mbed2-build build completed
Details
ci-morph-test test completed , RTOS ROM(+0.0%) RAM(+0.0%)
Details
continuous-integration/jenkins/pr-head This commit looks good
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
jenkins-ci/cloud_client_smoke_test Test job: successful
Details
travis-ci/astyle Passed, 597 files
Details
travis-ci/docs Local docs testing has passed
Details
travis-ci/events Passed, runtime is 9106 cycles (-1113 cycles)
Details
travis-ci/gitattributestest Local gitattributestest testing has passed
Details
travis-ci/licence_check Local licence_check testing has passed
Details
travis-ci/littlefs Passed, code size is 8372B (+0.00%)
Details
travis-ci/tools-py2.7 Local tools-py2.7 testing has passed
Details

@cmonr cmonr removed the ready for merge label Sep 24, 2018

@mmahadevan108 mmahadevan108 deleted the NXPmicro:LPC1768_RTC branch Sep 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment