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

Support Nuvoton's new target NUMAKER_PFM_M487 #4608

Merged
merged 75 commits into from
Aug 14, 2017

Conversation

ccli8
Copy link
Contributor

@ccli8 ccli8 commented Jun 22, 2017

Description

This PR is to add support for Nuvoton's new target NUMAKER_PFM_M487.

ARM mbed Greentea test

ARM toolchain

+----------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
| target               | platform_name    | test suite                                                                           | result | elapsed_time (sec) | copy_method |
+----------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-basic_test                        | OK     | 20.98              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-basic_test_default                | OK     | 20.94              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_async_validate               | OK     | 23.26              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_control_async                | OK     | 28.49              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_control_repeat               | OK     | 23.03              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_selection                    | OK     | 20.92              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_setup_failure                | OK     | 21.51              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_teardown_failure             | OK     | 21.58              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-control_type                      | OK     | 21.78              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-minimal_async_scheduler           | OK     | 21.98              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-minimal_scheduler                 | OK     | 22.71              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_assertion_failure_test_setup | OK     | 20.64              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_setup_case_selection_failure | OK     | 20.78              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_setup_failure                | OK     | 20.97              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-heap_block_device                                  | OK     | 23.0               | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-mbr_block_device                                   | OK     | 21.76              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-util_block_device                                  | OK     | 21.12              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-rtos-rtx5-target_cortex_m-tests-memory-heap_and_stack                        | OK     | 20.25              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-events-queue                                                           | OK     | 28.08              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-events-timing                                                          | OK     | 82.24              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-integration-basic                                                      | OK     | 20.01              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-c_strings                                                 | OK     | 22.78              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-dev_null                                                  | OK     | 22.09              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-echo                                                      | OK     | 36.38              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-flashiap                                                  | OK     | 21.18              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-generic_tests                                             | OK     | 21.17              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-lp_timeout                                                | OK     | 30.01              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-race_test                                                 | OK     | 21.86              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-rtc                                                       | OK     | 30.95              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-stl_features                                              | OK     | 21.98              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-ticker                                                    | OK     | 54.02              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-timeout                                                   | OK     | 31.51              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-wait_us                                                   | OK     | 31.89              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback                                               | OK     | 22.95              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback_big                                           | OK     | 22.53              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback_small                                         | OK     | 22.34              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-functionpointer                                        | OK     | 20.93              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | FAIL   | 22.46              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-lp_ticker                                                     | OK     | 30.25              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-rtc_time                                                      | OK     | 40.64              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-ticker                                                        | OK     | 29.75              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-attributes                                              | OK     | 22.73              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-call_before_main                                        | OK     | 20.19              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-cpp                                                     | OK     | 20.17              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-div                                                     | OK     | 25.52              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-static_assert                                           | OK     | 26.05              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-basic                                              | OK     | 31.06              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-isr                                                | OK     | 25.6               | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-mail                                               | OK     | 27.38              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-malloc                                             | OK     | 35.76              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-mutex                                              | OK     | 33.15              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-queue                                              | OK     | 21.7               | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-semaphore                                          | OK     | 28.02              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-signals                                            | OK     | 25.18              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-threads                                            | OK     | 26.33              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-timer                                              | OK     | 31.11              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedtls-selftest                                                       | OK     | 22.01              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-netsocket-ip_parsing                                                   | OK     | 22.56              | shell       |
+----------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
mbedgt: test suite results: 1 FAIL / 57 OK
  • mbed-os-tests-mbed_hal-flash / Flash - buffer alignment test failed
    This test item checks performance drift rate < 0.1%. On M487, it could reach 5%.
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - buffer alignment test                                 | 1      | 0      | OK     | 0.14               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - clock and cache test                                  | 0      | 1      | FAIL   | 0.15               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - erase sector                                          | 1      | 0      | OK     | 0.12               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - init                                                  | 1      | 0      | OK     | 0.08               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - mapping alignment                                     | 1      | 0      | OK     | 0.05               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - program page                                          | 1      | 0      | OK     | 0.22               |

uARM toolchain

+-----------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
| target                | platform_name    | test suite                                                                           | result | elapsed_time (sec) | copy_method |
+-----------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-basic_test                        | OK     | 21.23              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-basic_test_default                | OK     | 20.72              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_async_validate               | OK     | 28.89              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_control_async                | OK     | 28.36              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_control_repeat               | OK     | 22.74              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_selection                    | OK     | 20.61              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_setup_failure                | OK     | 21.2               | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_teardown_failure             | OK     | 21.26              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-control_type                      | OK     | 21.48              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-minimal_async_scheduler           | OK     | 21.53              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-minimal_scheduler                 | OK     | 22.62              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_assertion_failure_test_setup | OK     | 22.68              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_setup_case_selection_failure | OK     | 20.56              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_setup_failure                | OK     | 20.61              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-heap_block_device                                  | OK     | 22.36              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-mbr_block_device                                   | OK     | 21.62              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-util_block_device                                  | OK     | 20.94              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-rtos-rtx5-target_cortex_m-tests-memory-heap_and_stack                        | OK     | 19.91              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-events-queue                                                           | OK     | 27.8               | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-events-timing                                                          | OK     | 81.31              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-integration-basic                                                      | OK     | 19.78              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-c_strings                                                 | OK     | 22.53              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-dev_null                                                  | OK     | 21.89              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-echo                                                      | OK     | 36.37              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-flashiap                                                  | OK     | 21.09              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-generic_tests                                             | OK     | 20.97              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-lp_timeout                                                | OK     | 29.83              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-rtc                                                       | OK     | 30.69              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-stl_features                                              | OK     | 21.33              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-ticker                                                    | OK     | 53.82              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-timeout                                                   | OK     | 31.33              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-wait_us                                                   | OK     | 31.28              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback                                               | OK     | 22.32              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback_big                                           | OK     | 22.25              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback_small                                         | OK     | 26.21              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-functionpointer                                        | OK     | 20.92              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | FAIL   | 22.25              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-lp_ticker                                                     | OK     | 29.55              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-rtc_time                                                      | OK     | 46.72              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-ticker                                                        | OK     | 29.52              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-attributes                                              | OK     | 22.73              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-call_before_main                                        | OK     | 19.77              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-cpp                                                     | OK     | 19.97              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-div                                                     | OK     | 19.91              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-static_assert                                           | OK     | 20.26              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedtls-selftest                                                       | OK     | 21.87              | shell       |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-netsocket-ip_parsing                                                   | OK     | 22.45              | shell       |
+-----------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
mbedgt: test suite results: 1 FAIL / 46 OK
  • mbed-os-tests-mbed_hal-flash / Flash - buffer alignment test failed
    Same cause as above.
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - buffer alignment test                                 | 1      | 0      | OK     | 0.14               |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - clock and cache test                                  | 0      | 1      | FAIL   | 0.15               |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - erase sector                                          | 1      | 0      | OK     | 0.12               |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - init                                                  | 1      | 0      | OK     | 0.08               |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - mapping alignment                                     | 1      | 0      | OK     | 0.05               |
| NUMAKER_PFM_M487-uARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | Flash - program page                                          | 1      | 0      | OK     | 0.22               |

GCC toolchain

+--------------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
| target                   | platform_name    | test suite                                                                           | result | elapsed_time (sec) | copy_method |
+--------------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-basic_test                        | OK     | 21.11              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-basic_test_default                | OK     | 21.26              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_async_validate               | OK     | 22.74              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_control_async                | OK     | 29.94              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_control_repeat               | OK     | 23.13              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_selection                    | OK     | 21.03              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_setup_failure                | OK     | 21.61              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_teardown_failure             | OK     | 21.64              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-control_type                      | OK     | 21.9               | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-minimal_async_scheduler           | OK     | 22.18              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-minimal_scheduler                 | OK     | 22.81              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_assertion_failure_test_setup | OK     | 20.78              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_setup_case_selection_failure | OK     | 21.86              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_setup_failure                | OK     | 21.15              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-heap_block_device                                  | OK     | 22.95              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-mbr_block_device                                   | OK     | 22.21              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-util_block_device                                  | OK     | 21.22              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-rtos-rtx5-target_cortex_m-tests-memory-heap_and_stack                        | OK     | 20.65              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-events-queue                                                           | OK     | 28.14              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-events-timing                                                          | OK     | 81.84              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-integration-basic                                                      | OK     | 27.28              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-c_strings                                                 | OK     | 22.92              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-dev_null                                                  | OK     | 22.87              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-echo                                                      | OK     | 36.74              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-flashiap                                                  | OK     | 21.39              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-generic_tests                                             | OK     | 21.62              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-lp_timeout                                                | OK     | 30.11              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-race_test                                                 | OK     | 22.2               | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-rtc                                                       | OK     | 31.5               | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-stl_features                                              | OK     | 21.78              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-ticker                                                    | OK     | 54.13              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-timeout                                                   | OK     | 31.93              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-wait_us                                                   | OK     | 31.67              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback                                               | OK     | 22.81              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback_big                                           | OK     | 22.53              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback_small                                         | OK     | 22.45              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-functionpointer                                        | OK     | 21.14              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | OK     | 22.46              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-lp_ticker                                                     | OK     | 29.8               | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-rtc_time                                                      | OK     | 59.37              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-ticker                                                        | OK     | 29.87              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-attributes                                              | OK     | 22.82              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-call_before_main                                        | OK     | 20.84              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-cpp                                                     | OK     | 20.89              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-div                                                     | OK     | 20.56              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-static_assert                                           | OK     | 20.7               | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-basic                                              | OK     | 31.28              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-isr                                                | OK     | 25.58              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-mail                                               | OK     | 22.0               | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-malloc                                             | OK     | 35.88              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-mutex                                              | OK     | 39.39              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-queue                                              | OK     | 22.23              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-semaphore                                          | OK     | 27.52              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-signals                                            | OK     | 25.57              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-threads                                            | OK     | 26.63              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-timer                                              | OK     | 31.28              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-mbedtls-selftest                                                       | OK     | 22.42              | shell       |
| NUMAKER_PFM_M487-GCC_ARM | NUMAKER_PFM_M487 | mbed-os-tests-netsocket-ip_parsing                                                   | OK     | 23.42              | shell       |
+--------------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
mbedgt: test suite results: 58 OK

IAR toolchain

+----------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
| target               | platform_name    | test suite                                                                           | result | elapsed_time (sec) | copy_method |
+----------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-basic_test                        | OK     | 20.75              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-basic_test_default                | OK     | 20.84              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_async_validate               | OK     | 22.39              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_control_async                | OK     | 28.39              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_control_repeat               | OK     | 22.81              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_selection                    | OK     | 20.67              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_setup_failure                | OK     | 21.23              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-case_teardown_failure             | OK     | 21.25              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-control_type                      | OK     | 21.53              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-minimal_async_scheduler           | OK     | 21.7               | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-minimal_scheduler                 | OK     | 22.32              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_assertion_failure_test_setup | OK     | 20.44              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_setup_case_selection_failure | OK     | 21.12              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-frameworks-utest-tests-unit_tests-test_setup_failure                | OK     | 21.84              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-heap_block_device                                  | OK     | 22.39              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-mbr_block_device                                   | OK     | 21.7               | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-features-tests-filesystem-util_block_device                                  | OK     | 20.83              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-rtos-rtx5-target_cortex_m-tests-memory-heap_and_stack                        | OK     | 19.92              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-events-queue                                                           | OK     | 27.89              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-events-timing                                                          | OK     | 81.18              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-integration-basic                                                      | OK     | 19.7               | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-c_strings                                                 | OK     | 22.49              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-dev_null                                                  | OK     | 22.17              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-echo                                                      | OK     | 36.07              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-flashiap                                                  | OK     | 21.05              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-generic_tests                                             | OK     | 21.08              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-lp_timeout                                                | OK     | 29.73              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-race_test                                                 | OK     | 21.76              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-rtc                                                       | OK     | 30.8               | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-stl_features                                              | OK     | 21.2               | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-ticker                                                    | OK     | 53.92              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-timeout                                                   | OK     | 31.33              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_drivers-wait_us                                                   | OK     | 31.28              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback                                               | OK     | 22.12              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback_big                                           | OK     | 22.23              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-callback_small                                         | OK     | 22.11              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_functional-functionpointer                                        | OK     | 21.36              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-flash                                                         | OK     | 22.25              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-lp_ticker                                                     | OK     | 29.41              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-rtc_time                                                      | OK     | 42.87              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbed_hal-ticker                                                        | OK     | 30.08              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-attributes                                              | OK     | 22.48              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-call_before_main                                        | OK     | 30.28              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-cpp                                                     | OK     | 20.03              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-div                                                     | OK     | 20.0               | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-mbed-static_assert                                           | OK     | 20.38              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-basic                                              | OK     | 30.92              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-isr                                                | OK     | 25.01              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-mail                                               | OK     | 21.51              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-malloc                                             | OK     | 35.32              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-mutex                                              | OK     | 32.93              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-queue                                              | OK     | 22.0               | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-semaphore                                          | OK     | 27.66              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-signals                                            | OK     | 25.07              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-threads                                            | OK     | 26.16              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedmicro-rtos-mbed-timer                                              | OK     | 30.73              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-mbedtls-selftest                                                       | OK     | 21.65              | shell       |
| NUMAKER_PFM_M487-IAR | NUMAKER_PFM_M487 | mbed-os-tests-netsocket-ip_parsing                                                   | OK     | 22.5               | shell       |
+----------------------+------------------+--------------------------------------------------------------------------------------+--------+--------------------+-------------+
mbedgt: test suite results: 58 OK

ARM mbed CI test

+----------------------+------------------+-----------------------------+--------+--------------------+-------------+
| target               | platform_name    | test suite                  | result | elapsed_time (sec) | copy_method |
+----------------------+------------------+-----------------------------+--------+--------------------+-------------+
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-analogin          | OK     | 22.0               | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-businout          | OK     | 41.8               | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-digitalio         | OK     | 22.59              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | FAIL   | 24.79              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-interruptin       | OK     | 22.46              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-pwm               | OK     | 103.29             | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-spi               | OK     | 23.37              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-assumptions-analogin  | OK     | 25.05              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-assumptions-digitalio | OK     | 23.32              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-assumptions-i2c       | OK     | 21.04              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-assumptions-pwm       | OK     | 20.84              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-assumptions-pwmout    | OK     | 20.97              | shell       |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-assumptions-spi       | OK     | 21.83              | shell       |
+----------------------+------------------+-----------------------------+--------+--------------------+-------------+
mbedgt: test suite results: 1 FAIL / 12 OK
  • tests-api-i2c / I2C - LM75B Temperature Read failed
    This test item fails due to no I2C LM75B sensor at hand.
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | I2C -  EEProm 2nd WR 10  Bytes                             | 1      | 0      | OK     | 0.06               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | I2C -  EEProm 2nd WR 100 Bytes                             | 1      | 0      | OK     | 0.06               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | I2C -  EEProm 2nd WR 2 Bytes                               | 1      | 0      | OK     | 0.06               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | I2C -  EEProm 2nd WR Single Byte                           | 1      | 0      | OK     | 0.06               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | I2C -  EEProm WR 10  Bytes                                 | 1      | 0      | OK     | 0.06               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | I2C -  EEProm WR 100 Bytes                                 | 1      | 0      | OK     | 0.06               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | I2C -  EEProm WR 2 Bytes                                   | 1      | 0      | OK     | 0.06               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | I2C -  EEProm WR Single Byte                               | 1      | 0      | OK     | 0.06               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | I2C -  Instantiation of I2C Object                         | 1      | 0      | OK     | 0.07               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | tests-api-i2c               | I2C -  LM75B Temperature Read                              | 0      | 2      | FAIL   | 0.17               |
  • tests-api-pwm, tests-assumptions-pwm, and tests-assumptions-pwmout
    Limited by pinout of this target board, 2 pin pairs out of 4 are bypassed for these test suites.

@theotherjimmy
Copy link
Contributor

@ccli8 It looks like the device you entered in the "device_name" key in targets.json is not a valid part in a CMSIS pack. Could you remove or correct that entry?

@ccli8
Copy link
Contributor Author

ccli8 commented Jun 26, 2017

@theotherjimmy I remove device_name entry in targets.json > NUMAKER_PFM_M487 temporarily because CMSIS pack for the target has not released yet.

@theotherjimmy
Copy link
Contributor

@ccli8 I suppose we should get this in now, and turn on uvision later when the pack is released. Is that acceptable to you?

@ccli8
Copy link
Contributor Author

ccli8 commented Jun 27, 2017

@theotherjimmy OK

I suppose we should get this in now, and turn on uvision later when the pack is released. Is that acceptable to you?

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 4, 2017

@ccli8 I am reviewing this patch at the moment, will provide feedback soon. Can you please rebase to resolve the conflict?

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 4, 2017

This test item checks performance drift rate < 0.1%. On M487, it could reach 5%.

Can this be reported as an issue, I would like to see more details for this drift.

@yanesca @andresag01 mbedtls additions here, please review

Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

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

minor comments, mostly related to dead code or style. Can you please look at all files within HAL , I only commented on some lines

if (carry && minor_us > (US_PER_TMR0HIRES_INT / 2)) {
major_minor_us = (counter_major + 1) * US_PER_TMR0HIRES_INT;
}
else {
Copy link
Contributor

Choose a reason for hiding this comment

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

else should be on the same line as previous }. Its on more lines in this file, please align

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 Please refer to ed7ec19 for coding style fix.


core_util_critical_section_exit();
}
while (minor_us == 0 || minor_us == US_PER_TMR0HIRES_INT);
Copy link
Contributor

Choose a reason for hiding this comment

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

while also } while ()

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 Please refer to ed7ec19 for coding style fix.


// Reset 8-bit PSC counter, 24-bit up counter value and CNTEN bit
// NUC472/M451
//timer1_base->CTL |= TIMER_CTL_RSTCNT_Msk;
Copy link
Contributor

Choose a reason for hiding this comment

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

dead code removed?

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 Please refer to 7434f90 for removing dead code.

{NC, 0, 0, 0, 0, (IRQn_Type) 0, NULL}
};

void spi_init(spi_t *obj, PinName mosi, PinName miso, PinName sclk, PinName ssel) {
Copy link
Contributor

Choose a reason for hiding this comment

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

{ on the new line for function body

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 Same as above.



// Configure the SPI data format and frequency
//spi_format(obj, 8, 0, SPI_MSB); // 8 bits, mode 0
Copy link
Contributor

Choose a reason for hiding this comment

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

dead code

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 Same as above.

MBED_ASSERT(modinit != NULL);
MBED_ASSERT(modinit->modname == obj->spi.spi);

void (*vec)(void) = (void (*)(void)) NVIC_GetVector(modinit->irq_n);
Copy link
Contributor

Choose a reason for hiding this comment

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

what is this magic with vec function pointer?

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 This is SPI vector, which is cast to function type to be called in DMA vector.

// Flush Tx FIFO. Otherwise, output data may get lost on this change.
while (! UART_IS_TX_EMPTY((UART_T *) NU_MODBASE(obj->serial.uart)));

// TODO: Assert for not supported parity and data bits
Copy link
Contributor

Choose a reason for hiding this comment

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

this todo can be easily fixed?

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 Please refer to 4997782 for the fix.

@@ -0,0 +1,29 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

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

shall this be part of target configuration ? (in targets.json) file? it would be all in one place. we already have there config for some targets.

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 There is incompatibility issue with some sample code. I will move to targets.json later.

LED1 = LED_RED,
LED2 = LED_YELLOW,
LED3 = LED_GREEN,
LED4 = D0, // No real LED. Just for passing ATS.
Copy link
Contributor

Choose a reason for hiding this comment

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

wouldnt be better to haver this as another LED duplicate rather than D0?


#include "analogin_api.h"

// NOTE: Ensure mbed_sdk_init() will get called before C++ global object constructor.
Copy link
Contributor

Choose a reason for hiding this comment

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

is this needed? I believe for mbed OS 5, we have boot unified and should be called as needed here?

@ccli8
Copy link
Contributor Author

ccli8 commented Jul 5, 2017

This test item checks performance drift rate < 0.1%. On M487, it could reach 5%.

@0xc0170 I reported the issue on #4705.

@ccli8
Copy link
Contributor Author

ccli8 commented Jul 5, 2017

I am reviewing this patch at the moment, will provide feedback soon. Can you please rebase to resolve the conflict?

@0xc0170 I've fixed it.

@theotherjimmy
Copy link
Contributor

@0xc0170 Could you rereview?

Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

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

Please remove any dead code within this patch

return (elapsed >= timeout);
}

#if 0
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove any dead code like this

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 Please refer to f09ce86 for the update.

@theotherjimmy
Copy link
Contributor

@0xc0170 Dead code removed. Could you review?

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 18, 2017

@ccli8 Thanks for the updates. this looks good to me. There is one more change that either this PR gets or I'll based it on top of this, as it was merged recently - fire now functionality for tickers. Can you rebase to get that API addition or we can help. Let us know

@theotherjimmy
Copy link
Contributor

@0xc0170 Yes. This dropped out of my todo list, sorry about the delay.

How do I update mbed OS's CMSIS pack database?

You should be able to do mbed export --update-packs ... and it will update the data we cache from CMSIS packs. you will have to commit tools/arm_pack_manager/index.json and possibly tools/arm_pack_manager/aliases.json for the update to take effect.

@ccli8
Copy link
Contributor Author

ccli8 commented Aug 8, 2017

You should be able to do mbed export --update-packs ... and it will update the data we cache from CMSIS packs. you will have to commit tools/arm_pack_manager/index.json and possibly tools/arm_pack_manager/aliases.json for the update to take effect.

@0xc0170 @theotherjimmy I've updated CMSIS pack. Please check 1e02309.

@ccli8
Copy link
Contributor Author

ccli8 commented Aug 8, 2017

This is another example what we need to document. I would expect putc to be synchronous (might use fifo buffering, but no interrupt invoked). fflush should just flush its buffer (no guarantees that all characters will actually be send out once fflush is returned). There's no API at the moment that would guarantee that all characters were actually sent (fifo empty, nothing in the shift register).

Based on this, I would expect an application to handle it (fflush neither putc do not guarantee this).- using at least some delay before resetting the device.

@0xc0170 M487's serial_putc implementation doesn't invoke interrupt but use H/W FIFO, For performance, it doesn't wait for H/W FIFO empty. So it is synchronous as you define above. With no other concern, I would make no change.
@Patater

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 8, 2017

/morph test

@Patater
Copy link
Contributor

Patater commented Aug 8, 2017

It's unfortunate that the mbed OS serial API doesn't have a way to wait until all serial data is sent. My applications were written assuming that fflush would do this, and it seemed to so far on the targets I've tested on.

M487's serial_putc's behavior is within the HAL specification. I'll have to figure out another way to wait for all data to be sent than fflush.

@theotherjimmy
Copy link
Contributor

I've updated CMSIS pack. Please check 1e02309.

Yep. Looks good. Travis is now happy.

@mbed-bot
Copy link

mbed-bot commented Aug 8, 2017

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 965

Example Build failed!

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 9, 2017

Failure is not related (again IAR for one platform that I can not reproduce :( )

/morph test

@mbed-bot
Copy link

mbed-bot commented Aug 9, 2017

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 973

Example Build failed!

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 9, 2017

/morph test

1 similar comment
@studavekar
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 984

Example Build failed!

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 10, 2017

/morph test

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 11, 2017

The above job was aborted, will be restarted soon once the release candidate gets tested

cc @studavekar

@studavekar
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1027

All builds and test passed!

@0xc0170 0xc0170 removed the needs: CI label Aug 14, 2017
@0xc0170
Copy link
Contributor

0xc0170 commented Aug 14, 2017

/morph export-build

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph export-build

Output

mbed Build Number: 124

All exports and builds passed!

Copy link
Contributor

@RonEld RonEld left a comment

Choose a reason for hiding this comment

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

Personally I don't like the fact that this PR includes so many files. The new driver files should have been pushed in a separate PR.
Also, this PR has a lot of duplications between HW an SW implementations, but I guess this is a necessity due to current mbed TLS architecture, but this will change in the future

#define MBEDTLS_SHA256_ALT
#define MBEDTLS_SHA512_ALT

#define MBEDTLS_AES_ALT
Copy link
Contributor

Choose a reason for hiding this comment

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

if MBEDTLS_AES_ALT is defined, no need to define other AES alternative function definitions, as MBEDTLS_AES_ALT defines alternative implementation for the whole functionality

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RonEld Please check fix in another PR e05595a.

int ret;

mbedtls_trace("=== %s keybits[%d]\r\n", __FUNCTION__, keybits);
dumpHex((uint8_t *)key,keybits/8);
Copy link
Contributor

Choose a reason for hiding this comment

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

it is better to remove the prints

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RonEld Same as above.

{
unsigned int i;

mbedtls_trace("=== %s keybits[%d]\r\n", __FUNCTION__, keybits);
Copy link
Contributor

Choose a reason for hiding this comment

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

It is better to remove the prints

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RonEld Please check fix in another PR b931d75.

unsigned char* pOut;

// mbedtls_trace("=== %s \r\n", __FUNCTION__);
dumpHex(input,16);
Copy link
Contributor

Choose a reason for hiding this comment

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

It is better to remove the prints

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RonEld Same as above.

#ifndef MBEDTLS_AES_ALT_H
#define MBEDTLS_AES_ALT_H

#if !defined(MBEDTLS_CONFIG_FILE)
Copy link
Contributor

Choose a reason for hiding this comment

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

no real need, as aes.h includes config.h before including aes_alt.h , and aes_alt.h should not be included in any other location

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RonEld Please check fix in another PR eac2707.

ivl = nu_get32_be(iv + 4);
TDES_SetInitVect(0, ivh, ivl);

memcpy(dmabuf_in, in_pos, data_len);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this thread safe? dmabuf_in and dmabuf_out are static variables, which can be used by anyone calling this function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RonEld Same as above.




static int mbedtls_des_docrypt(uint16_t keyopt, uint8_t key[3][MBEDTLS_DES_KEY_SIZE], int enc, uint32_t tdes_opmode, size_t length,
Copy link
Contributor

Choose a reason for hiding this comment

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

This function doesn't seem to be thread safe

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RonEld Please check fix in 60817ca.

#ifndef MBEDTLS_DES_ALT_H
#define MBEDTLS_DES_ALT_H

#if !defined(MBEDTLS_CONFIG_FILE)
Copy link
Contributor

Choose a reason for hiding this comment

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

no need to add config.h, as des.h already includes the configuration file, before including des_alt.h

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RonEld Please check fix in eac2707.

#ifndef MBEDTLS_SHA1_ALT_H
#define MBEDTLS_SHA1_ALT_H

#if !defined(MBEDTLS_CONFIG_FILE)
Copy link
Contributor

Choose a reason for hiding this comment

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

no need to include config.h as sha1.h already includes the configuration file before including sha1_alt.h file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RonEld Same as above.

#ifndef MBEDTLS_SHA512_ALT_H
#define MBEDTLS_SHA512_ALT_H

#if !defined(MBEDTLS_CONFIG_FILE)
Copy link
Contributor

Choose a reason for hiding this comment

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

no need to include config.h as sha512.h already includes the configuration file before including sha512_alt.h file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RonEld Same as above.

exmachina-auto-deployer pushed a commit to exmachina-dev/mbed-os that referenced this pull request Sep 13, 2017
mbed OS 5.5.6 release

We are pleased to announce the [mbed OS 5.5.6
release](https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.5.6)
is now available.

This release includes ...

Known Issues

The following list of known issues apply to this release:

Contents

Ports for Upcoming Targets

[4608](ARMmbed#4608)
Support Nuvoton's new target NUMAKER_PFM_M487

[4840](ARMmbed#4840)
Add Support for TOSHIBA TMPM066 board

Fixes and Changes

[4801](ARMmbed#4801)
STM32 CAN: Fix issue with speed function calculation

[4808](ARMmbed#4808)
Make HAL & US tickers idle safe

[4812](ARMmbed#4812)
Use DSPI SDK driver API's in SPI HAL driver

[4832](ARMmbed#4832)
NUC472/M453: Fix several startup and hal bugs

[4842](ARMmbed#4842)
Add call to DAC_Enable as this is no longer done as part

[4849](ARMmbed#4849)
Allow using of malloc() for reserving the Nanostack's heap.

[4850](ARMmbed#4850)
Add list of defines to vscode exporter

[4863](ARMmbed#4863)
Optimize memory usage of wifi scan for REALTEK_RTW8195AM

[4869](ARMmbed#4869)
HAL LPCs SPI: Fix mask bits for SPI clock rate

[4873](ARMmbed#4873)
Fix Cortex-A cache file

[4878](ARMmbed#4878)
STM32 : Separate internal ADC channels with new pinmap

[4392](ARMmbed#4392)
Enhance memap, and configure depth level

[4895](ARMmbed#4895)
Turn on doxygen for DEVICE_* features

[4817](ARMmbed#4817)
Move RTX error handlers into RTX handler file

[4902](ARMmbed#4902)
Using CMSIS/RTX Exclusive access macro

[4923](ARMmbed#4923)
fix export static_files to zip

[4844](ARMmbed#4844)
bd: Add ProfilingBlockDevice for measuring higher-level applications

[4896](ARMmbed#4896)
target BLUEPILL_F103C8 compile fix

[4921](ARMmbed#4921)
Update gcc-arm-embedded PPA in Travis

[4926](ARMmbed#4926)
STM32L053x8: Refactor NUCLEO_L053R8 and DISCO_L053C8 targets

[4831](ARMmbed#4831)
Remove excessive use of printf/scanf in mbed_fdopen/_open

[4922](ARMmbed#4922)
bug fix: xdot clock config

[4935](ARMmbed#4935)
STM32: fix F410RB vectors size

[4940](ARMmbed#4940)
Update mbed-coap to version 4.0.9

[4941](ARMmbed#4941)
Update of MemoryPool.h header file.

You can fetch this release from the [mbed-os
GitHub](https://github.com/ARMmbed/mbed-os) repository,
using the tag "mbed-os-5.5.6".

Please feel free to ask any questions or provide feedback on this
release [on the forum](https://forums.mbed.com/),
or to contact us at [support@mbed.org](mailto:support@mbed.org).
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.

8 participants