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

Add mbed_lib.json to usb folder #9874

Merged
merged 1 commit into from Mar 1, 2019

Conversation

Projects
None yet
7 participants
@mikisch81
Copy link
Contributor

commented Feb 27, 2019

Description

Add mbed_lib.json to usb folder in order to be able to build bare-metal without always compiling this folder.

Pull request type

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

Reviewers

Release Notes

@0xc0170 0xc0170 requested a review from c1728p9 Feb 27, 2019

@mikisch81 mikisch81 referenced this pull request Feb 27, 2019

Merged

mbed-SPM updates #9823

@mikisch81

This comment has been minimized.

Copy link
Contributor Author

commented Feb 27, 2019

@cmonr Approved, can it queue in the CI?

@NirSonnenschein

This comment has been minimized.

Copy link
Contributor

commented Feb 27, 2019

starting CI

@mbed-ci

This comment has been minimized.

Copy link

commented Feb 27, 2019

Test run: FAILED

Summary: 1 of 8 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-ARM
@mikisch81

This comment has been minimized.

Copy link
Contributor Author

commented Feb 27, 2019

@cmonr jenkins-ci/build-ARM failed for NUMAKER_PFM_M2351, not related to this PR:

Compile: armasm --cpu=Cortex-M23 --cpreproc --cpreproc_opts=-c,--target=arm-arm-none-eabi,-mthumb,-Os,-Wno-armcc-pragma-push-pop,-Wno-armcc-pragma-anon-unions,-DMULADDC_CANNOT_USE_R7,-fdata-sections,-fno-exceptions,-MMD,-D_LIBCPP_EXTERN_TEMPLATE(...)=,-fshort-enums,-fshort-wchar,-DMBED_TRAP_ERRORS_ENABLED=1,-mcpu=cortex-m23,-DMBED_ROM_START=0x0,-DMBED_ROM_SIZE=0x80000,-DMBED_RAM_START=0x20000000,-DMBED_RAM_SIZE=0x18000,-D__MBED_CMSIS_RTOS_CM,-D__CORTEX_M23,-DMBED_ALL_STATS_ENABLED,-DMBED_TRAP_ERRORS_ENABLED=1,-DDOMAIN_NS=1,-DMBED_STACK_STATS_ENABLED=1,-DMBED_FAULT_HANDLER_DISABLED,-DMBED_TEST_MODE,-DARM_MATH_ARMV8MBL,-DMBED_TZ_DEFAULT_ACCESS=1,-DLPTICKER_DELAY_TICKS=3,-D__CMSIS_RTOS,-DMBED_HEAP_STATS_ENABLED=1,-I.,-I./cmsis,-I./cmsis/TARGET_CORTEX_M,-I./components,-I./components/802.15.4_RF,-I./components/802.15.4_RF/atmel-rf-driver,-I./components/802.15.4_RF/atmel-rf-driver/atmel-rf-driver,-I./components/802.15.4_RF/atmel-rf-driver/source,-I./components/802.15.4_RF/mcr20a-rf-driver,-I./components/802.15.4_RF/mcr20a-rf-driver/mcr20a-rf-driver,-I./components/802.15.4_RF/mcr20a-rf-driver/source,-I./components/802.15.4_RF/stm-s2lp-rf-driver,-I./components/802.15.4_RF/stm-s2lp-rf-driver/source,-I./components/802.15.4_RF/stm-s2lp-rf-driver/stm-s2lp-rf-driver,-I./components/wifi,-I./components/wifi/esp8266-driver,-I./components/wifi/esp8266-driver/ESP8266,-I./drivers,-I./events,-I./events/equeue,-I./features,-I./features/cellular,-I./features/cellular/framework,-I./features/cellular/framework/API,-I./features/cellular/framework/AT,-I./features/cellular/framework/common,-I./features/cellular/framework/device,-I./features/cellular/framework/targets,-I./features/cellular/framework/targets/GEMALTO,-I./features/cellular/framework/targets/GEMALTO/CINTERION,-I./features/cellular/framework/targets/GENERIC,-I./features/cellular/framework/targets/GENERIC/GENERIC_AT3GPP,-I./features/cellular/framework/targets/MultiTech,-I./features/cellular/framework/targets/MultiTech/DragonflyNano,-I./features/cellular/framework/targets/MultiTech/DragonflyNano/PPP,-I./features/cellular/framework/targets/QUECTEL,-I./features/cellular/framework/targets/QUECTEL/BC95,-I./features/cellular/framework/targets/QUECTEL/BG96,-I./features/cellular/framework/targets/QUECTEL/M26,-I./features/cellular/framework/targets/QUECTEL/UG96,-I./features/cellular/framework/targets/TELIT,-I./features/cellular/framework/targets/TELIT/HE910,-I./features/cellular/framework/targets/UBLOX,-I./features/cellular/framework/targets/UBLOX/AT,-I./features/cellular/framework/targets/UBLOX/PPP,-I./features/device_key,-I./features/device_key/source,-I./features/frameworks,-I./features/frameworks/greentea-client,-I./features/frameworks/greentea-client/greentea-client,-I./features/frameworks/mbed-client-cli,-I./features/frameworks/mbed-client-cli/mbed-client-cli,-I./features/frameworks/mbed-client-randlib,-I./features/frameworks/mbed-client-randlib/mbed-client-randlib,-I./features/frameworks/mbed-client-randlib/mbed-client-randlib/platform,-I./features/frameworks/mbed-coap,-I./features/frameworks/mbed-coap/mbed-coap,-I./features/frameworks/mbed-coap/source,-I./features/frameworks/mbed-coap/source/include,-I./features/frameworks/mbed-trace,-I./features/frameworks/mbed-trace/mbed-trace,-I./features/frameworks/nanostack-libservice,-I./features/frameworks/nanostack-libservice/mbed-client-libservice,-I./features/frameworks/nanostack-libservice/mbed-client-libservice/platform,-I./features/frameworks/unity,-I./features/frameworks/unity/unity,-I./features/frameworks/utest,-I./features/frameworks/utest/utest,-I./features/lorawan,-I./features/lorawan/lorastack,-I./features/lorawan/lorastack/mac,-I./features/lorawan/lorastack/phy,-I./features/lorawan/system,-I./features/lwipstack,-I./features/lwipstack/lwip,-I./features/lwipstack/lwip-sys,-I./features/lwipstack/lwip-sys/arch,-I./features/lwipstack/lwip/src,-I./features/lwipstack/lwip/src/include,-I./features/lwipstack/lwip/src/include/lwip,-I./features/lwipstack/lwip/src/include/lwip/priv,-I./features/lwipstack/lwip/src/include/lwip/prot,-I./features/lwipstack/lwip/src/include/netif,-I./features/lwipstack/lwip/src/include/netif/ppp,-I./features/lwipstack/lwip/src/include/netif/ppp/polarssl,-I./features/mbedtls,-I./features/mbedtls/inc,-I./features/mbedtls/inc/mbedtls,-I./features/mbedtls/mbed-crypto,-I./features/mbedtls/mbed-crypto/inc,-I./features/mbedtls/mbed-crypto/inc/psa,-I./features/mbedtls/platform,-I./features/mbedtls/platform/inc,-I./features/nanostack,-I./features/nanostack/coap-service,-I./features/nanostack/coap-service/coap-service,-I./features/nanostack/coap-service/source,-I./features/nanostack/coap-service/source/include,-I./features/nanostack/mbed-mesh-api,-I./features/nanostack/mbed-mesh-api/mbed-mesh-api,-I./features/nanostack/mbed-mesh-api/source,-I./features/nanostack/mbed-mesh-api/source/include,-I./features/nanostack/nanostack-hal-mbed-cmsis-rtos,-I./features/nanostack/nanostack-interface,-I./features/nanostack/sal-stack-nanostack,-I./features/nanostack/sal-stack-nanostack-eventloop,-I./features/nanostack/sal-stack-nanostack-eventloop/nanostack-event-loop,-I./features/nanostack/sal-stack-nanostack-eventloop/nanostack-event-loop/platform,-I./features/nanostack/sal-stack-nanostack-eventloop/source,-I./features/nanostack/sal-stack-nanostack/nanostack,-I./features/nanostack/sal-stack-nanostack/nanostack/platform,-I./features/nanostack/sal-stack-nanostack/source,-I./features/nanostack/sal-stack-nanostack/source/6LoWPAN,-I./features/nanostack/sal-stack-nanostack/source/6LoWPAN/Bootstraps,-I./features/nanostack/sal-stack-nanostack/source/6LoWPAN/Fragmentation,-I./features/nanostack/sal-stack-nanostack/source/6LoWPAN/IPHC_Decode,-I./features/nanostack/sal-stack-nanostack/source/6LoWPAN/MAC,-I./features/nanostack/sal-stack-nanostack/source/6LoWPAN/Mesh,-I./features/nanostack/sal-stack-nanostack/source/6LoWPAN/ND,-I./features/nanostack/sal-stack-nanostack/source/6LoWPAN/NVM,-I./features/nanostack/sal-stack-nanostack/source/6LoWPAN/Thread,-I./features/nanostack/sal-stack-nanostack/source/6LoWPAN/ws,-I./features/nanostack/sal-stack-nanostack/source/BorderRouter,-I./features/nanostack/sal-stack-nanostack/source/Common_Protocols,-I./features/nanostack/sal-stack-nanostack/source/Core,-I./features/nanostack/sal-stack-nanostack/source/Core/include,-I./features/nanostack/sal-stack-nanostack/source/DHCPv6_Server,-I./features/nanostack/sal-stack-nanostack/source/DHCPv6_client,-I./features/nanostack/sal-stack-nanostack/source/MAC,-I./features/nanostack/sal-stack-nanostack/source/MAC/IEEE802_15_4,-I./features/nanostack/sal-stack-nanostack/source/MAC/virtual_rf,-I./features/nanostack/sal-stack-nanostack/source/MLE,-I./features/nanostack/sal-stack-nanostack/source/MPL,-I./features/nanostack/sal-stack-nanostack/source/NWK_INTERFACE,-I./features/nanostack/sal-stack-nanostack/source/NWK_INTERFACE/Include,-I./features/nanostack/sal-stack-nanostack/source/RPL,-I./features/nanostack/sal-stack-nanostack/source/Security,-I./features/nanostack/sal-stack-nanostack/source/Security/Common,-I./features/nanostack/sal-stack-nanostack/source/Security/PANA,-I./features/nanostack/sal-stack-nanostack/source/Security/TLS,-I./features/nanostack/sal-stack-nanostack/source/Security/eapol,-I./features/nanostack/sal-stack-nanostack/source/Security/kmp,-I./features/nanostack/sal-stack-nanostack/source/Security/protocols,-I./features/nanostack/sal-stack-nanostack/source/Security/protocols/eap_tls_sec_prot,-I./features/nanostack/sal-stack-nanostack/source/Security/protocols/fwh_sec_prot,-I./features/nanostack/sal-stack-nanostack/source/Security/protocols/gkh_sec_prot,-I./features/nanostack/sal-stack-nanostack/source/Security/protocols/key_sec_prot,-I./features/nanostack/sal-stack-nanostack/source/Security/protocols/tls_sec_prot,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/Neighbor_cache,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/Trickle,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/blacklist,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/etx,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/fhss,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/fnv_hash,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/hmac,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/ieee_802_11,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/load_balance,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mac_neighbor_table,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet/fnet_stack,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet/fnet_stack/port,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet/fnet_stack/port/compiler,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet/fnet_stack/port/cpu,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet/fnet_stack/services,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet/fnet_stack/services/dns,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet/fnet_stack/services/mdns,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet/fnet_stack/services/poll,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet/fnet_stack/services/serial,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet/fnet_stack/stack,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/mle_service,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/nd_proxy,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/nist_aes_kw,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/pan_blacklist,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/utils,-I./features/nanostack/sal-stack-nanostack/source/Service_Libs/whiteboard,-I./features/nanostack/sal-stack-nanostack/source/configs,-I./features/nanostack/sal-stack-nanostack/source/configs/base,-I./features/nanostack/sal-stack-nanostack/source/ipv6_stack,-I./features/nanostack/sal-stack-nanostack/source/libDHCPv6,-I./features/nanostack/sal-stack-nanostack/source/libNET,-I./features/nanostack/sal-stack-nanostack/source/libNET/src,-I./features/netsocket,-I./features/netsocket/cellular,-I./features/nfc,-I./features/nfc/acore,-I./features/nfc/acore/acore,-I./features/nfc/controllers,-I./features/nfc/nfc,-I./features/nfc/nfc/ndef,-I./features/nfc/nfc/ndef/common,-I./features/nfc/stack,-I./features/nfc/stack/ndef,-I./features/nfc/stack/platform,-I./features/nfc/stack/tech,-I./features/nfc/stack/tech/iso7816,-I./features/nfc/stack/tech/isodep,-I./features/nfc/stack/tech/type4,-I./features/nfc/stack/transceiver,-I./features/nfc/stack/transceiver/pn512,-I./features/storage,-I./features/storage/blockdevice,-I./features/storage/filesystem,-I./features/storage/filesystem/fat,-I./features/storage/filesystem/fat/ChaN,-I./features/storage/filesystem/littlefs,-I./features/storage/filesystem/littlefs/littlefs,-I./features/storage/kvstore,-I./features/storage/kvstore/conf,-I./features/storage/kvstore/direct_access_devicekey,-I./features/storage/kvstore/filesystemstore,-I./features/storage/kvstore/global_api,-I./features/storage/kvstore/include,-I./features/storage/kvstore/kv_map,-I./features/storage/kvstore/securestore,-I./features/storage/kvstore/tdbstore,-I./features/storage/nvstore,-I./features/storage/nvstore/source,-I./features/storage/system_storage,-I./hal,-I./hal/TARGET_FLASH_CMSIS_ALGO,-I./hal/storage_abstraction,-I./platform,-I./rtos,-I./rtos/TARGET_CORTEX,-I./rtos/TARGET_CORTEX/rtx4,-I./rtos/TARGET_CORTEX/rtx5,-I./rtos/TARGET_CORTEX/rtx5/Include,-I./rtos/TARGET_CORTEX/rtx5/RTX,-I./rtos/TARGET_CORTEX/rtx5/RTX/Config,-I./rtos/TARGET_CORTEX/rtx5/RTX/Include,-I./rtos/TARGET_CORTEX/rtx5/RTX/Source,-I./targets/TARGET_NUVOTON,-I./targets/TARGET_NUVOTON/TARGET_M2351,-I./targets/TARGET_NUVOTON/TARGET_M2351/crypto,-I./targets/TARGET_NUVOTON/TARGET_M2351/device,-I./targets/TARGET_NUVOTON/TARGET_M2351/device/Reg,-I./targets/TARGET_NUVOTON/TARGET_M2351/device/StdDriver,-I./usb,-I./usb/device,-I./usb/device/USBAudio,-I./usb/device/USBDevice,-I./usb/device/USBHID,-I./usb/device/USBMIDI,-I./usb/device/USBMSD,-I./usb/device/USBPhy,-I./usb/device/USBSerial,-I./usb/device/hal,-I./usb/device/utilities,-I./usb/device/utilities/events,-I/builds/ws/mbed-os-ci_build-ARM/mbed-os,-include,./BUILD/tests/NUMAKER_PFM_M2351/ARM/mbed_config.h -o BUILD/tests/NUMAKER_PFM_M2351/ARM/cmsis/TARGET_CORTEX_M/TOOLCHAIN_ARM/except.o ./cmsis/TARGET_CORTEX_M/TOOLCHAIN_ARM/except.S
[DEBUG] Return: 8
[DEBUG] Output: Fatal error: A3903U: Argument 'Cortex-M23' not permitted for option 'cpu'.
[DEBUG] Output: 1 Error, 0 Warnings

@deepikabhavnani It might be something with the cv8 ore type changes?

@deepikabhavnani

This comment has been minimized.

Copy link
Contributor

commented Feb 27, 2019

armasm - is available in ARMC5_PATH and ARMC6_PATH, if proper toolchain is not used, we can see this error. Did anything change in CI? @cmonr

@mikisch81

This comment has been minimized.

Copy link
Contributor Author

commented Feb 27, 2019

It appears the NUMAKER_PFM_M2351 has been failing in ARM for a couple of PRs

@deepikabhavnani

This comment has been minimized.

Copy link
Contributor

commented Feb 27, 2019

Its seems some incorrect settings in CI, for each ARM build.
ARM for ARMC6 - should use assembler / linker / compiler all from ARMC6 path. Simple command to demonstrate this failure

"C:\Keil_v5\ARM\ARMCC\bin\armasm" --cpu=Cortex-M23 -DMBED_FAULT_HANDLER_DISABLED -o BUILD/except.o ./mbed-os/cmsis/TARGET_CORTEX_M/TOOLCHAIN_ARM/except.S
Fatal error: A3903U: Argument 'Cortex-M23' not permitted for option 'cpu'.
1 Error, 0 Warnings
>"C:\Program Files\ARMCompiler6.10\bin\armasm" --cpu=Cortex-M23 -DMBED_FAULT_HANDLER_DISABLED -o BUILD/except.o ./mbed-os/cmsis/TARGET_CORTEX_M/TOOLCHAIN_ARM/except.S
Fatal error: A3900U: Unrecognized option '-DMBED_FAULT_HANDLER_DISABLED'.
1 Error, 0 Warnings
@cmonr

This comment has been minimized.

Copy link
Contributor

commented Feb 27, 2019

Info: A CI config issue appears to be affecting NUMAKER_PFM_M2351 builds. Please ignore build errors against the target for now.

Other build failures should still be investigated, if any. Will restart CI when appropriate.

@0xc0170

This comment has been minimized.

Copy link
Member

commented Feb 28, 2019

CI restarted

@mbed-ci

This comment has been minimized.

Copy link

commented Feb 28, 2019

Test run: SUCCESS

Summary: 13 of 13 test jobs passed
Build number : 2
Build artifacts

@cmonr cmonr added ready for merge and removed needs: CI labels Feb 28, 2019

@cmonr cmonr merged commit 26b1f4b into ARMmbed:master Mar 1, 2019

30 checks passed

continuous-integration/jenkins/pr-head This commit looks good
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
jenkins-ci/build-ARM Success
Details
jenkins-ci/build-ARMC5 Success
Details
jenkins-ci/build-ARMC6 Success
Details
jenkins-ci/build-GCC_ARM Success
Details
jenkins-ci/build-IAR8 Success
Details
jenkins-ci/cloud-client-test Success
Details
jenkins-ci/dynamic-memory-usage RTOS ROM(+0 bytes) RAM(+0 bytes)
Details
jenkins-ci/exporter Success
Details
jenkins-ci/greentea-test Success
Details
jenkins-ci/mbed2-build-ARM Success
Details
jenkins-ci/mbed2-build-ARMC5 Success
Details
jenkins-ci/mbed2-build-ARMC6 Success
Details
jenkins-ci/mbed2-build-GCC_ARM Success
Details
jenkins-ci/mbed2-build-IAR8 Success
Details
jenkins-ci/unittests Success
Details
travis-ci/astyle Local astyle testing has passed
Details
travis-ci/docs Local docs testing has passed
Details
travis-ci/doxy-spellcheck Local doxy-spellcheck testing has passed
Details
travis-ci/events Passed, runtime is 10021 cycles
Details
travis-ci/gitattributestest Local gitattributestest testing has passed
Details
travis-ci/include_check Local include_check testing has passed
Details
travis-ci/licence_check Local licence_check testing has passed
Details
travis-ci/littlefs Passed, code size is 8408B
Details
travis-ci/psa-autogen Local psa-autogen testing has passed
Details
travis-ci/tools-py2.7 Local tools-py2.7 testing has passed
Details
travis-ci/tools-py3.5 Local tools-py3.5 testing has passed
Details
travis-ci/tools-py3.6 Local tools-py3.6 testing has passed
Details
travis-ci/tools-py3.7 Local tools-py3.7 testing has passed
Details

@cmonr cmonr removed the ready for merge label Mar 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.