Commit Graph

32198 Commits (feature-bluetooth-unit-test)

Author SHA1 Message Date
Martin Kojtal 8e6a01557b
Merge pull request #14095 from rajkan01/add_cmake_greentea_events
CMake: Add CMake support for events greentea test
2021-01-11 13:13:01 +00:00
Martin Kojtal 8ab24443a4
Merge pull request #14093 from rajkan01/add_cmake_greentea_hal
CMake: Add Support for hal greentea test
2021-01-11 12:05:18 +00:00
Ahmet Alincak 1fd7de0eee Update header file to include SPDX identifier 2021-01-11 15:04:55 +03:00
Ahmet Alincak c63a9b7ff8 Maxim targets; Add USB stack implementation 2021-01-11 15:04:48 +03:00
Martin Kojtal 4eaabc5f22
Merge pull request #14094 from rajkan01/add_cmake_greentea_rtos
CMake: Add CMake support for rtos greentea test
2021-01-11 11:51:37 +00:00
Martin Kojtal c79ccf1fb7
Merge pull request #14134 from hugueskamba/hk_heap_size_fix_gigadevice
GigaDevice: Fix heap size formula in scatter files
2021-01-11 11:47:58 +00:00
Martin Kojtal 4ea4058e18
Merge pull request #14083 from MaximIntegrated/max32630fthr-add-sleep-feature
Add SLEEP/DEEPSLEEP support for MAX32630FTHR
2021-01-11 11:46:47 +00:00
Martin Kojtal 5021c01852
Merge pull request #14088 from hugueskamba/hk_cmake_greentea_kvstore
CMake: Add support for KVstore Greentea tests
2021-01-11 11:46:34 +00:00
Martin Kojtal d3d02eb7e6
Merge pull request #14129 from hugueskamba/hk_heap_size_fix_silabs
EFM32GG: Fix heap size formula in scatter files
2021-01-11 11:46:22 +00:00
Martin Kojtal 4c25b88287
Merge pull request #14135 from hugueskamba/hk_heap_size_fix_nxp
NXP: Fix heap size formula in scatter files
2021-01-11 11:42:45 +00:00
Martin Kojtal b7c639580f
Merge pull request #14066 from jeromecoutant/DEV_F2
STM32F2 update drivers version to CUBE V1.9.2
2021-01-11 11:27:09 +00:00
Martin Kojtal ec3228398f
Merge pull request #14060 from rajkan01/add_cmake_greentea_drivers
CMake: Add CMake to drivers greentea test
2021-01-11 11:26:08 +00:00
Martin Kojtal a124bcab32
Merge pull request #14048 from mikaleppanen/corr_cert_add
Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
2021-01-11 11:19:26 +00:00
Hugues Kamba 96dbb42024 MUSCA_B1: Fix heap size formula in scatter files
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:35:33 +00:00
Hugues Kamba ad68c17096 EFM32GG: Fix heap size formula in scatter files
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:34:28 +00:00
Hugues Kamba 4780dd55e5 NRF52840: Fix heap size formula in scatter files
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:32:46 +00:00
Hugues Kamba 0cef209182 GigaDevice: Fix heap size formula in scatter files
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:30:44 +00:00
Hugues Kamba 1ca4b1a34f NXP: Fix heap size formula in scatter files
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:29:03 +00:00
Hugues Kamba a3fccf7d21 STM: Fix heap size formula in scatter files
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:18:40 +00:00
adbridge 9e7c82ceed Fix astyle issues 2021-01-08 17:33:51 +00:00
adbridge 37f13bdeb2 Remove unecessary namespace qualified
(Also minor whitespace correction)
2021-01-08 17:15:13 +00:00
Rajkumar Kanagaraj 7d7159d20f
Apply suggestions from code review
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-01-08 03:21:03 -08:00
Rajkumar Kanagaraj bc4b3f5846
Apply suggestions from code review
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-01-08 03:20:15 -08:00
paul.szczepanek@arm.com 497504dde1 remove deprecated examples 2021-01-07 14:10:03 +00:00
Vincent Coubard 4cfcadd9e9 BLE: Fix SM random number generation.
Ensure the more than 8 random bytes are fetched from the stack.
2021-01-07 12:38:47 +00:00
Vincent Coubard b28e11574a BLE: Regenerate CSRK if it is all zeroes. 2021-01-07 12:35:24 +00:00
Ahmet Alincak 819d3fc9e0 Add bare-metal support for MAXIM targets 2021-01-07 09:13:14 +03:00
Ahmet Alincak 0a036b3c2a Add SLEEP/DEEPSLEEP support for MAX32630FTHR 2021-01-07 09:03:12 +03:00
adbridge f2b86864d5 Fix some whitespace issues 2021-01-06 16:07:04 +00:00
adbridge c0a57ba3b9 Updated event period handling and greentea test
non_periodic constant has been moved out of the Event class and
made static within the events namespace so that it is available
both internally within the class and externally.

The MBED_ASSERT has been changed to MBED_WARNING.

The greentea test has been updated:
1) timings reduced to make the test cases run faster
2) The call handler simplified
2021-01-06 16:07:04 +00:00
adbridge 6b2a0fe1d4 Update events period method to check for invalid values
The period method currently allows any ms value positive, negative
and zero. A negative value means dispatch a non periodic event
ie just once. 0 is unspecified behaviour. This commit forces the
user to use either positive periods or a new constant non_periodic
and should any other value be provided will default to
non_periodic.

A Greentea test case is also provided to check this works as
expected.
2021-01-06 16:07:04 +00:00
Dustin Crossman 82c98618cd Ran astyle for mbed code format. 2021-01-05 13:51:52 -08:00
Dustin Crossman 782b23d626 Addressing review feedback. 2021-01-05 13:50:30 -08:00
Dustin Crossman b0b07477fd Add missing includes. 2021-01-05 12:54:56 -08:00
Dustin Crossman f3caf6a805 Add back nvram image for CYTFM board.
Add label so nvram image is found for 064B0S2 board.
2021-01-05 10:43:57 -08:00
Rajkumar Kanagaraj 2d53e005e8 CMake: Add CMake support for rtos greentea test 2021-01-05 09:11:41 -08:00
Rajkumar Kanagaraj 48829eee60 CMake: Add CMake support for netsocket greentea test 2021-01-05 09:11:22 -08:00
Rajkumar Kanagaraj accf24aeaf CMake: Add CMake support for events greentea test 2021-01-05 09:11:06 -08:00
Rajkumar Kanagaraj 71729238f0 CMake: Add support for mbed_timing_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
Rajkumar Kanagaraj d9f2d765f4 CMake: Add support for mbed_hal_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
Rajkumar Kanagaraj f78d7e1fe5 CMake: Add CMake support for mbed_hal greentea test 2021-01-05 09:10:45 -08:00
Rajkumar Kanagaraj 20fb74f829 Add CMake support 2021-01-05 09:10:05 -08:00
Martin Kojtal e917282d60
Merge pull request #14072 from rajkan01/add_cmake_greentea_platform
CMake: Add CMake to platform greentea test
2021-01-05 17:08:30 +00:00
Martin Kojtal dd4eca1b69
Merge pull request #14100 from hugueskamba/hk_cmake_fix_ambiq_ble
CMake: Fix path to Ambiq BLE source file
2021-01-05 15:50:32 +00:00
Martin Kojtal d0cd5fa5f1
Merge pull request #13826 from arduino/portenta-mainline
Add Arduino Portenta H7 as target
2021-01-05 15:49:44 +00:00
Rajkumar Kanagaraj eb9bb7bf33 Apply suggestions from code review
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-01-05 06:52:44 -08:00
Rajkumar Kanagaraj 634d3be5f0 Incorporating the review comments 2021-01-05 06:52:12 -08:00
Rajkumar Kanagaraj bcbd243b1b Create Greentea CMake Macro 2021-01-05 06:52:12 -08:00
Rajkumar Kanagaraj 9596c1beea CMake: Add platform greentea test with CMake 2021-01-05 06:52:12 -08:00
Martin Kojtal 6e81af259c
Merge pull request #14068 from rvasquez6089/master
Enabled USBDevice in targets.json for H743ZI2
2021-01-05 14:51:03 +00:00