Commit Graph

33252 Commits (0675d30be85d0c051dbc8ff4fd49c5db75814373)

Author SHA1 Message Date
Martin Kojtal 0675d30be8
Merge pull request #14670 from jeromecoutant/PR_README_SLEEP
STM32: add information in README for SLEEP feature
2021-06-07 12:32:01 +02:00
Martin Kojtal fef89d93ce
Merge pull request #14738 from MaximIntegrated/master
Gate ticker (timer0) clock on deepsleep for MAX32620FTHR
2021-06-07 12:31:48 +02:00
Martin Kojtal 9fbb89e2d1
Merge pull request #14692 from jeromecoutant/PR_WB_HCI
STM32WB: improve FLASH size
2021-06-07 11:18:26 +02:00
Ahmet Alincak 43d9c0fbb4 Gate ticker (timer0) clock on deepsleep 2021-06-07 00:41:09 +03:00
Anna Bridge 5047bd3c27
Merge pull request #14608 from JeanMarcR/STM32H7_NEW_CUBE
STM32H7 update drivers version to CUBE V1.9.0
2021-06-04 11:51:05 +01:00
Anna Bridge 986add717e
Merge pull request #14722 from jeromecoutant/PR_RNG
STM32 TRNG: update init to match all configs
2021-06-04 11:40:07 +01:00
Anna Bridge 3ee443bfde
Looks like ref has to be a valid branch
For mbed-os-ci-scripts the ref was set to 'triage_test' which was a valid branch for that repo, however it looks like somone deleted that branch causing the script to fail. This commit updates the ref to 'master' which should hopefully fix the issue.
2021-06-03 16:41:30 +01:00
Anna Bridge 444004110e
Change actions/checkout ref field
Looks like something has changed that now requires this to be set differently
2021-06-03 16:29:04 +01:00
Martin Kojtal 5fe4dafc34
Merge pull request #14221 from macronix/macronix_rww
Enable the RWW function of Macronix Flash MX25LW51245G in OSPI block device driver
2021-06-02 16:53:59 +02:00
jeromecoutant a4ae9f13a7 STM32 TRNG : update init to match all config 2021-06-02 16:37:38 +02:00
jeromecoutant 20e4a351f1 Revert "STM32L5 RNG : update for deprecated MCU version"
This reverts commit f599a5463c.
2021-06-02 16:37:38 +02:00
Martin Kojtal 045c48db3e
Merge pull request #14669 from affrinpinhero-2356/adcBank
STM32L152: Added ADC Bank_B functionality
2021-06-02 16:33:03 +02:00
Martin Kojtal 5aaf3a3390
Merge pull request #14720 from chrJost/STM32L5x2_pwr_register
STM32L5: corrected voltage scaling when using MSI
2021-06-02 15:50:02 +02:00
Martin Kojtal be9850be53
Merge pull request #14701 from donatieng/utf-8-check
Add Travis test to make sure text files are UTF-8 encoded
2021-06-02 15:49:14 +02:00
Martin Kojtal 0711e488a1
Merge pull request #14686 from jeromecoutant/PR_CPP
STM32: correct __cplusplus brackets
2021-06-02 13:59:26 +02:00
Martin Kojtal d3ba2e1699
Merge pull request #14724 from jeromecoutant/PR_G0PWR
STM32G0: correct voltage scaling control
2021-06-02 13:59:10 +02:00
Donatien Garnier eac5956407 Add Travis test to detect any non-UTF-8-encoded text 2021-06-02 12:13:01 +01:00
Donatien Garnier decd7d0167 Convert shci.h from (presumably) latin1 encoding to UTF-8 2021-06-02 12:12:34 +01:00
jeromecoutant cadc328947 STM32G0: correct voltage scaling control 2021-06-02 09:37:19 +02:00
Jost, Chris 3bfa124f80 enable the power settings register prior to setting them 2021-06-01 16:40:15 +02:00
Martin Kojtal 0738aabb87
Merge pull request #14710 from noonfom/non-low-power-devices
BLE: support non-low power devices
2021-06-01 11:26:21 +02:00
Martin Kojtal 543bcb5192
Merge pull request #14441 from OpenNuvoton/nuvoton_m2354_tfm
M2354: Support Nuvoton's new target
2021-06-01 11:25:59 +02:00
Martin Kojtal da13755a9f
Merge pull request #14699 from jeromecoutant/PR_ASTYLE
STM32 astyle format
2021-06-01 10:02:34 +02:00
Martin Kojtal 8a0c3c7915
Merge pull request #14698 from affrinpinhero-2356/HAL_I2C_ErrorCallback-#14696
STM32: Fixed I2C Bug
2021-05-31 16:11:38 +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
Affrin Pinhero b7e6c0437c STM32: Fixed I2C Bug reported.
Modified HAL_I2C_ErrorCallback function to solve bug reported in I2C Driver.
This commit solves compilation error occured when DEVICE_I2CSLAVE is not defined.

fix #14696

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-05-27 15:06:35 +05:30
Affrin Pinhero 4a8b2301a5 STM32: Fixed I2C Bug reported.
Modified HAL_I2C_ErrorCallback function to solve bug reported in I2C Driver.
This commit solves compilation error occured when DEVICE_I2CSLAVE is not defined.

fix #14696

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-05-27 15:02:39 +05:30
Abbas Bracken Ziad 8ee7fb8642 BLE: support non-low power devices 2021-05-27 10:11:05 +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
Chun-Chieh Li 3fc81fb883 M2354: Comply with standard pin naming rule 2021-05-26 09:35:05 +08:00
Chun-Chieh Li e2491509f5 M2354: Update to TF-M 1.3 2021-05-26 09:35:05 +08:00
Chun-Chieh Li 98f5a99219 M2354: Refine TF-M/Mbed integration readme 2021-05-26 09:35:04 +08:00
Chun-Chieh Li 9fee7d9b18 M2354: Use TF-M exported region_defs.h to replace target.mbed_rom_start and friends 2021-05-26 09:35:04 +08:00
Chun-Chieh Li 7db441401b M2354: Support TRNG as entropy source on TF-M
1.  Update TF-M Secure bin enabling TRNG as entropy source
2.  Replaced with above, remove TRNG HAL stuff on Mbed, including platform extra secure functions, cmake, etc.
2021-05-26 09:35:04 +08:00