Commit Graph

33197 Commits (64c9e1fdb387132012a99313bb76f97ec71a9cc6)

Author SHA1 Message Date
pennam 64c9e1fdb3 Portenta split wiced_filesystem.h to avoid cpp BlockDevice inclusion from Cypress layer 2021-05-31 16:38:36 +02:00
pennam b34a436d25 Portenta removed resource_imp folder 2021-05-31 16:38:36 +02:00
pennam 2852fe41ae Portenta renamed 4343W to 4343W_FS 2021-05-31 16:38:36 +02:00
pennam d31e002bae Portenta SDIO patch to support non NULL response arguments 2021-05-31 16:38:36 +02:00
pennam 774821ca3b Portenta add cycfg.h 2021-05-31 16:38:35 +02:00
Martino Facchin 94ceb8379d Portenta add SDIO GPIO and filesystem implementation 2021-05-31 16:38:35 +02:00
Martino Facchin 4200d752b2 Portenta add interface to cypress hal 2021-05-31 16:38:35 +02:00
pennam ef7ce6ba68 Portenta Add COMPONENT_WHD/resources to TARGET_PORTENTA_H7 2021-05-31 16:38:35 +02:00
Martin Kojtal bfedc39f7c
Merge pull request #14471 from arduino/whd_patch
COMPONENT_WHD: make reusable code available for other targets
2021-05-31 15:49:25 +02:00
Martin Kojtal 15728abc85
Merge pull request #14702 from jrobeson/silence-warnings-in-3rd-party-nordic-code
Silence expansion-to-defined for nrfx
2021-05-31 15:33:58 +02:00
Martin Kojtal bc7fc2b2e7
Merge pull request #14708 from Patater/fix-test-function-return
test: Fix function does not return a value warnings
2021-05-31 12:20:00 +02:00
Martin Kojtal 0e72912f49
Merge pull request #14697 from jamesbeyond/fix_inte_test
TESTS: rename variable interface to fix broken tests
2021-05-31 11:37:54 +02:00
Martin Kojtal a2d62f9597
Merge pull request #14652 from Patater/upgrade-mbedtls-2.25.0
tls: Upgrade to Mbed TLS v2.25.0
2021-05-31 11:36:26 +02:00
Martin Kojtal 8c2db151e6
Merge pull request #14547 from ARMmbed/remove_unittest_cmake_script
CMake: Remove all unittest.cmake script from test suite
2021-05-31 11:34:26 +02:00
Martin Kojtal b0ab466484
Merge pull request #14705 from LDong-Arm/frozen_files_fix
Fix frozen tools check never failing
2021-05-31 11:33:54 +02:00
Jaeden Amero 5f208ae90a
Merge pull request #14709 from hugueskamba/hk_cmake_remove_debug_msg
CMake: Remove forgotten debug message
2021-05-27 17:44:30 +01:00
Jaeden Amero 9135966efe
Merge pull request #14687 from JeanMarcR/STM32L5_NEW_CUBE
STM32L5 update drivers version to CUBE V1.4.0
2021-05-27 14:55:32 +01:00
Jaeden Amero 3dd9140345
Merge pull request #14667 from wernerlewis/use-gcc-except
Update GCC except.S to support ARMC6 and use GCC assembly with ARM toolchain in CMake
2021-05-27 11:35:57 +01:00
Jaeden Amero 8ce03867c2 test: at: Remove dead code
Remove two expressions from at_cellularcontexttest that do nothing. This
fixes the following two warnings.

    connectivity/cellular/tests/UNITTESTS/framework/AT/at_cellularcontext/at_cellularcontexttest.cpp:61:67: warning: expression result unused [-Wunused-value]            ATHandler_stub::int_valid_count_table[kRead_int_table_size];                                                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~^
    connectivity/cellular/tests/UNITTESTS/framework/AT/at_cellularcontext/at_cellularcontexttest.cpp:64:66: warning: expression result unused [-Wunused-value]            ATHandler_stub::read_string_table[kRead_string_table_size];
2021-05-27 09:38:18 +01:00
Jaeden Amero 7f7571657e test: Fix function does not return a value warnings
Many test stub functions are meant to return a value, but weren't. Clang
would generate a warning for each instance where we weren't returning
anything in a function that was meant to return a value.

    warning: non-void function does not return a value [-Wreturn-type]

For a specific example, my_radio::time_on_air() is supposed to return a
uint32_t, but wasn't returning anything. We'll return a zero instead of
relying on undefined behavior.

Without this, clang 11.0.1 was generating a virtual function
implementation with a `ud2` instruction to abort at run-time, causing
some execution of some unit tests to abort.

    Running main() from gmock_main.cc
    [==========] Running 10 tests from 1 test suite.
    [----------] Global test environment set-up.
    [----------] 10 tests from Test_LoRaPHYUS915
    [ RUN      ] Test_LoRaPHYUS915.constructor
    [       OK ] Test_LoRaPHYUS915.constructor (0 ms)
    [ RUN      ] Test_LoRaPHYUS915.restore_default_channels
    [       OK ] Test_LoRaPHYUS915.restore_default_channels (0 ms)
    [ RUN      ] Test_LoRaPHYUS915.rx_config
    [       OK ] Test_LoRaPHYUS915.rx_config (0 ms)
    [ RUN      ] Test_LoRaPHYUS915.tx_config
    Process 35669 stopped
    * thread #1, name = 'lorawan-loraphy-', stop reason = signal SIGILL: privileged instruction
        frame #0: 0x0000000000276f73 lorawan-loraphy-us915-unittest`my_radio::time_on_air(this=0x0000000800c2b048, modem=MODEM_LORA, pkt_len='\0') at Test_LoRaPHYUS915.cpp:90:5
       87       };
       88
       89       virtual uint32_t time_on_air(radio_modems_t modem, uint8_t pkt_len)
    -> 90       {
       91       };
       92
       93       virtual bool perform_carrier_sense(radio_modems_t modem,
    (lldb) disassemble --pc
    lorawan-loraphy-us915-unittest`my_radio::time_on_air:
    ->  0x276f73 <+67>: ud2
        0x276f75:       int3
        0x276f76:       int3
        0x276f77:       int3
    (lldb)
2021-05-27 09:38:18 +01:00
Hugues Kamba ebf495006e CMake: Remove forgotten debug message
A debug message to display the selected toolchain was left in
the main CMakeLists.txt file. This commit removes it.
2021-05-26 17:40:09 +01:00
Rajkumar Kanagaraj 50fc85dc44 CMake: Remove all unittest.cmake script from test suite
- Remove redundant cmake script as already added the CMake configuration file
- Remove redundant empty_baseline as it is no longer needed with the help of CMake configuration file
2021-05-26 07:09:14 -07:00
Lingkai Dong e31f2bb781 Travis: Do not ignore deleted frozen files
The filter `--diff-filter=d' causes deleted files to be ignored from
the frozen tools check. But there is no reason for this, as deleting
a file can break compatibility with the legacy tools.
2021-05-26 14:38:23 +01:00
Lingkai Dong 4d09e47c8f Travis: Fix frozen tools check never failing
Having recently moved the frozen tools check to a standalone stage
at the end, we need to fetch the base branch so make comparison
work. Travis environments are not shared across different stages.

Without the fetch, the check always passes as a PR is compared with
itself.
2021-05-26 14:37:16 +01:00
Lingkai Dong d28ce001ab Travis: Use shallow fetches
We only compare files in current PR with the base branch. There's no
need to fetch the full git history or branches that are not involved
in the comparison.

This is to save time in Travis runs.
2021-05-26 14:35:07 +01:00
Johnny Robeson 65533a9d81 Silence expansion-to-defined in nrfx 2021-05-26 01:06:01 -04:00
Anna Bridge 2ea0386f55
Merge pull request #14691 from adbridge/master
Add GitHub action for issue triaging script
2021-05-25 17:02:50 +01:00
Anna Bridge cb4dd19ad0
Merge pull request #14689 from MubeenHCLite/HighSpeed_Async_SPI_limitation
Information on Asynchronous SPI limitation on High Speeds
2021-05-25 14:05:41 +01:00
Anna Bridge 891805b42e
Merge pull request #14662 from AGlass0fMilk/can-message-comparison-operators
Add CANMessage deep comparison operators
2021-05-25 14:05:03 +01:00
Anna Bridge ef0b31ab53
Merge pull request #14629 from artokin/phy_mode_and_channel_plan_master
Mesh api: Added PHY mode, channel plan IDs and configuration functions
2021-05-25 14:04:32 +01:00
Anna Bridge 8b1cd98a8e
Merge pull request #14574 from noonfom/string-buffer-length
Fix string buffer length in UUID trace helper
2021-05-25 12:38:06 +01:00
Anna Bridge e5c79edf34
Merge pull request #14665 from LDong-Arm/frozen_tools_end
Travis: Move frozen tools check to the end
2021-05-25 12:26:58 +01:00
Qinghao Shi 8301854be1 TESTS: rename variable interface to fix broken tests 2021-05-24 19:52:51 +00:00
Lingkai Dong f9a0501263 Travis: Move frozen tools check to the end
When the scripts for the old tools are modified (e.g. when a new
target is added), the frozen tools check fails but we allow the change
if it's really needed. By moving the frozen tools check to the end,
Travis doesn't terminate early and the other tests get to run.
2021-05-24 14:39:56 +01:00
Werner Lewis c97dcd0bae CMSIS: Modify M0/M0+ GCC asm to support ARMC6 2021-05-24 13:56:19 +01:00
Werner Lewis bef020b0c7 cmake: Remove armasm workaround for Cortex M55 2021-05-24 13:56:19 +01:00
Werner Lewis 204dd5b1a8 cmake: Use GCC CMSIS assembly with ARM toolchain
CMSIS provides both GNU and legacy ARM assembly files. Instead of using
armasm and legacy asm with ARM Compiler 6, CMakeLists is modified to
use the GNU format with both GCC_ARM and ARM C6.
2021-05-24 13:56:19 +01:00
adbridge 1684b9c647 Add GitHub action for issue triaging script
Improve comments
2021-05-24 13:55:19 +01:00
Werner Lewis 046fa78319 Update GCC except.S to support ARMC6
ARM Compiler 6 supports GNU-style assembly with armclang. Instead of
relying on armasm with the legacy syntax, GCC except.S is updated so
that it can be used with ARM as well as GCC_ARM toolchains. CMake is
updated to use this version.
2021-05-24 13:54:57 +01:00
Anna Bridge 77927d0c7a
Merge pull request #14684 from AGlass0fMilk/fix-kvstore-security-db
Fix missing `as_entry` method in KVStoreSecurityDb
2021-05-24 13:22:31 +01:00
Anna Bridge 39922228d6
Merge pull request #14683 from jeromecoutant/PR_WBBARE
Baremetal tests: enable BLE tests with NUCLEO_WB55RG
2021-05-24 13:20:55 +01:00
Anna Bridge e0069d8b9a
Merge pull request #14678 from ghseb/uartserial-shadowing-2
Serial: remove shadowing member variables
2021-05-24 13:20:11 +01:00
Anna Bridge ae62f9d02c
Merge pull request #14674 from anttiylitokola/master
Update mbed-coap to version v5.1.10
2021-05-24 13:18:53 +01:00
Anna Bridge 12025a107f
Merge pull request #14671 from saheerb/master
enable aws example test in CI
2021-05-24 13:17:24 +01:00
Anna Bridge 10a2da9b5e
Merge pull request #14668 from ikmdani/fix_i2c_read_13967
Driver: I2C: STM32F2/STM32F4/STM32L1: Fix alternate i2c read.
2021-05-24 13:14:36 +01:00
Anna Bridge 95dadc67b1
Merge pull request #14664 from LDong-Arm/nrf52832_flashiap
Enable FlashIAP for MCU_NRF52832
2021-05-24 13:12:06 +01:00
Anna Bridge 72f08db8f6
Merge pull request #14593 from JeanMarcR/STM32F7_NEW_CUBE
STM32F7 update drivers version to CUBE V1.16.1
2021-05-24 13:10:35 +01:00
Anna Bridge 9e98a2ceb4
Merge pull request #14592 from JeanMarcR/STM32G4_NEW_CUBE
STM32G4 update drivers version to CUBE V1.4.0
2021-05-24 13:10:04 +01:00
Anna Bridge 5ef56cc6f4
Merge pull request #14557 from affrinpinhero-2356/feature_i2cTiming_Calculation
STM32: driver/Added I2C timing calculation algorithm
2021-05-24 13:09:19 +01:00
Anna Bridge dcd6dc3837
Merge pull request #14536 from jeromecoutant/DEV_STM32F0_LPTICKER_OPTIM
STM32: Add LP_TICKER and US_TICKER optimisation macro
2021-05-24 13:06:03 +01:00