Commit Graph

29947 Commits (tools-release-test-cov-patterns)

Author SHA1 Message Date
Martin Kojtal b574ff50da
Merge pull request #12817 from kivaisan/improve_at_debug_flags
Cellular: Disable AT traces when mbed-trace is disabled
2020-04-17 09:29:15 +02:00
Martin Kojtal dcd863bfe9
Merge pull request #12736 from Patater/rtosv2-compat
rtos: Improve CMSIS-RTOSv2 app compatibility
2020-04-17 09:29:01 +02:00
Arto Kinnunen a14ccad485 Review corrections
-Check pointer before writing to it. It allows application to ask
 only some of the  stagger values.
-Change type of data_amount in get_stagger_estimate_to_address to be
 uint16_t.
2020-04-17 08:55:48 +03:00
Arto Kinnunen a7d3a981b7 Add getsockopt option to reading network property
Add getsockopt options NSAPI_LATENCY and NSAPI_STAGGER to read
network specific timing constraints from socket.
-NS_LATENCY returns estimated latency to given address.
-NSAPI_STAGGER returns estimated initial delay that application
 should wait before transmitting data to network.

Application can use the new options to avoid network congestion by
adjusting transmission delays and retry timeouts.
2020-04-17 08:55:48 +03:00
Deepak Shreshti dc4f086129 Removed Toshiba target AdBun-M066, M3H6 and M3HQ.
---
AdBun-M066

Removed from targets.json
5d64e55880/targets/targets.json (L12900-L12941)

Deleted directory
https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_TOSHIBA/TARGET_TMPM066

Removed from mbed_rtx.h
5d64e55880/targets/TARGET_TOSHIBA/mbed_rtx.h (L23-L33)
---

AdBun-M3H6

Removed from targets.json
5d64e55880/targets/targets.json (L13465-L13507)

Deleted directory
https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_TOSHIBA/TARGET_TMPM3H6

Removed from mbed_rtx.h
5d64e55880/targets/TARGET_TOSHIBA/mbed_rtx.h (L47-L53)
---

AdBun-M3HQ

Removed from targets.json
5d64e55880/targets/targets.json (L14159-L14208)

Deleted directory
https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_TOSHIBA/TARGET_TMPM3HQ

Removed from mbed_rtx.h
5d64e55880/targets/TARGET_TOSHIBA/mbed_rtx.h (L63-L69)
---
2020-04-17 10:22:33 +05:30
Kyle Kearney 76a14f2ff4 Cypress: Fix unitialized memory in spi_master_write
'received' was declared as an int but populated by cyhal_spi_transfer
after being cast to to (uint8_t *), which left the upper 3 bytes
uninitialized. Instead, declare as uint8_t and let the compiler upcast
the value when it is returned.
2020-04-16 16:54:12 -07:00
Martin Kojtal 7b0c38aabb
Merge pull request #12742 from LDong-Arm/gatt_sm_deprecated_cleanup
BLE: remove deprecated APIs from Gatt and SecurityManager
2020-04-16 17:21:52 +02:00
Martin Kojtal bb8038513f
Merge pull request #12741 from kivaisan/add_lora_drivers
Add Semtech Lora radio drivers
2020-04-16 17:04:03 +02:00
Martin Kojtal 8fea81a96a
Merge pull request #12738 from Patater/rip-mbed-spm
Remove Mbed SPM
2020-04-16 17:01:39 +02:00
Kimmo Vaisanen 738f9fbcf6 Cellular: Disable AT traces when mbed-trace is disabled
Earlier if mbed-trace was disabled but debug-at enabled, some AT trace codes were still
enabled causing unnecessary code size increase.

This commit fixes the issue that AT debug trace code is enabled only when both
mbed-trace.enable and cellular.debug-at are enabled.

Reduces binary size by about ~340bytes when mbed-trace is disabled but debug-at enabled.
2020-04-16 16:24:40 +03:00
Jaeden Amero 07a84ec10a psa: Remove MBED_SPM code
All MBED_SPM targets have been removed previously, via commits
5cc66282dd ("PSOC6: remove PSA targets") and 115b09aba43b ("psoc6:
Remove FUTURE_SEQUANA and FUTURE_SEQUANA_M0"). Remove all the dead
MBED_SPM code, as no targets use it.

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-16 14:10:54 +01:00
Jaeden Amero 47b359974f psoc6: Remove FUTURE_SEQUANA and FUTURE_SEQUANA_M0
FUTURE_SEQUANA targets are no longer supported. Remove the target from
Mbed.

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-16 14:10:51 +01:00
Martin Kojtal 7f4dc90853
Merge pull request #12815 from kivaisan/allow_debug_at_null
Cellular: Fix build problem if cellular.debug-at is set as null
2020-04-16 15:02:41 +02:00
Martin Kojtal 3f4e8e500c
Merge pull request #12755 from artokin/update_astyle_filtering_rules
Update astyle filtering rules for Nanostack
2020-04-16 13:39:25 +02:00
Rajkumar Kanagaraj 8bc7ffe6e3 Baremetal: Enable Semaphore greentea test 2020-04-16 12:07:05 +01:00
Kimmo Vaisanen 2f384e3c1f Cellular: Fix build problem if cellular.debug-at is set as null 2020-04-16 13:50:02 +03:00
Martin Kojtal ac21ee90a8
Merge pull request #12791 from cy-arsm/cy-arsm/pr/IPv6_Dual_stack_fix
Fix for IPv6 Dual Stack support
2020-04-16 12:10:40 +02:00
Martin Kojtal fcc20b1201
Merge pull request #12765 from MultiTechSystems/update-mdot-target
Update MTS_MDOT_F411RE target and remove bootloader from tools
2020-04-16 11:53:26 +02:00
Hugues Kamba d6b764e75f Remove deprecated Platform header files 2020-04-16 09:28:27 +01:00
Devaraj Ranganna fa5a954031 rtos: Improve CMSIS-RTOSv2 app compatibility
Some non-Mbed-OS, pre-existing CMSIS-RTOSv2 applications depend on
CMSIS-RTOSv2 Automatic Dynamic Allocation, also known as Object-specific
memory pools. Mbed OS doesn't by default provide any memory to the
CMSIS-RTOSv2 Automatic Dynamic Allocation pool, as doing so would waste
memory if the feature is not used; even if the feature is used, as a
platform, Mbed OS can't know how many objects of which types will be
created by an application and therefore will either waste memory or not
provide enough memory in a hard to debug manner. Portable CMSIS-RTOSv2
applications depending on CMSIS-RTOSv2 Automatic Dynamic Allocation
should instead configure the memory pools themselves, as applications
know best their memory requirements.

Add Mbed configuration options which can be used by applications to
control the amounts of memory available to the CMSIS-RTOSv2 Automatic
Dynamic Allocation subsystem. This enables portable CMSIS-RTOSv2
applications, which can run on any CMSIS-RTOSv2 OS, to be able to run on
Mbed OS as well.

RTX's configuration options for CMSIS-RTOSv2 memory are documented at
http://www.keil.com/pack/doc/CMSIS_Dev/RTOS2/html/config_rtx5.html

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-15 18:08:14 +01:00
Martin Kojtal a252b073cf
Merge pull request #12797 from AGlass0fMilk/stm-custom-board
Add custom board option to STM32 pins generation script
2020-04-15 17:01:33 +02:00
Martin Kojtal 4c08455125
Merge pull request #12778 from GaborAbonyi/add_i2c_to_musca_b1
Add I2C api to Musca-B1 target
2020-04-15 16:53:35 +02:00
Martin Kojtal ee476d9954
Merge pull request #12699 from hugueskamba/hk_remove_armc5_support_storage
Storage: Remove support for ARM Compiler 5
2020-04-15 15:30:44 +02:00
Martin Kojtal 447cfbc9a0
Merge pull request #12804 from kivaisan/check_serial_for_set_baud_rate
Cellular: Check if serial is supported
2020-04-15 15:01:03 +02:00
Martin Kojtal 9ffc5bcaa6
Merge pull request #12779 from rajkan01/eventflags_greentea_test
Baremetal: Enable EventFlags greentea test
2020-04-15 15:00:48 +02:00
Martin Kojtal 58de040af3
Merge pull request #12674 from LDong-Arm/ble_remove_deprecated_targets
Remove Maxim and SoftDevice BLE stacks which do not support the latest APIs
2020-04-15 14:23:21 +02:00
Lingkai Dong 6954dbe17d targets.json: further clean-up of SoftDevice configurations 2020-04-15 10:29:01 +01:00
Gabor Abonyi b442e35f85 Add I2C api to Musca-B1 target
Change-Id: Iab5a76e6b8ea28933b39b4ec4ee753f45e5bfcc7
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-04-15 11:13:46 +02:00
Lingkai Dong a85c157952 Remove Nordic SoftDevice BLE driver 2020-04-15 09:57:42 +01:00
Lingkai Dong 897acb8f8e Disable Nordic SoftDevice BLE stack from targets (affects NRF51* targets)
The Nordic SoftDevice BLE stack used by NRF51* targets only
supports legacy BLE APIs which we will removed completely.

Note: NRF52* targets which use Cordio BLE stack are unaffected.
2020-04-15 09:57:38 +01:00
Lingkai Dong 4cb729fb49 Remove Maxim BLE stack which does not implement the new API 2020-04-15 09:51:14 +01:00
Lingkai Dong ab8d84a46c Disable BLE on Maxim targets until an updated driver becomes available
The current Maxim BLE driver only implements the old BLE API
which is deprecated and will be removed soon. Once an updated
BLE stack for Maxim becomes available, BLE feature can be
re-enabled.
2020-04-15 09:51:12 +01:00
Chun-Chieh Li 123c254f52 KVStore: Remove incorrect check with non-default configuration FLASHIAP
With non-default configuration FLASHIAP, the region can be defined in front of application. The after-application check must be skipped.
2020-04-15 16:50:06 +08:00
jeromecoutant f7852142c1 COMPONENT_BlueNRG_MS review updates 2020-04-15 10:31:24 +02:00
jeromecoutant f68ac88671 COMPONENT_BlueNRG_MS enabled for DISCO_L475VG_IOT01A and DISCO_L562QE 2020-04-15 10:31:02 +02:00
jeromecoutant aa66ae52bc COMPONENT_BlueNRG_MS cleanup
- use of json config
- add license header
- update ReadMe
- remove mbed.h
- astyle
2020-04-15 10:30:03 +02:00
jeromecoutant a9135a1971 COMPONENT_BlueNRG_MS creation
import from https://github.com/ARMmbed/cordio-ble-x-nucleo-idb0xa1
2020-04-15 10:29:58 +02:00
Martin Kojtal 35c93011ea
Merge pull request #12748 from hugueskamba/hk_fix_c_lib_build_failure
Fix build failure due to C lib selected
2020-04-15 10:26:09 +02:00
Martin Kojtal f9052e38cc
Merge pull request #12734 from jeromecoutant/PR_WB_IAR
NUCLEO_WB55RG : enable IAR export
2020-04-15 10:22:49 +02:00
Martin Kojtal e88e4ea2a8
Merge pull request #12702 from hugueskamba/hk_remove_armc5_support_tfm
TFM: Remove ARM Compiler 5 considerations
2020-04-15 10:22:32 +02:00
Martin Kojtal 9835722635
Merge pull request #12691 from hugueskamba/hk_replace_small_lib_with_std_lib
Replace small with std C lib if not supported by a target's toolchain
2020-04-15 10:21:40 +02:00
Martin Kojtal f0d04c8c99
Merge pull request #12802 from OpenNuvoton/nuvoton_sectors
Nuvoton: Add 'sectors' configuration option into targets.json
2020-04-15 09:43:21 +02:00
Martin Kojtal ea56ffbafc
Merge pull request #12799 from kyle-cypress/pr/tdb-calc-size
TDBStore: Handle odd number of sectors in block
2020-04-15 09:43:06 +02:00
Martin Kojtal c83924d3dc
Merge pull request #12786 from rajkan01/kernel_tick_count_greentea_test
Baremetal: Enable kernel_tick_count greentea test
2020-04-15 09:42:34 +02:00
Martin Kojtal 07872bcd3a
Merge pull request #12768 from OpenNuvoton/esp8266_bud
ESP8266 Drv support baud-rate switch
2020-04-15 09:42:13 +02:00
Martin Kojtal 8926ea0983
Merge pull request #12763 from kivaisan/fix_athandler_read_string
Cellular: Fix ATHandler::read_string to handle delimiter inside string
2020-04-15 09:27:40 +02:00
Martin Kojtal d4da29840f
Merge pull request #12758 from hugueskamba/hk_fix_microlib_minimal_console
Fix: Return the correct std I/O device handle for Microlib in retarget code
2020-04-15 09:24:17 +02:00
Martin Kojtal c9515af262
Merge pull request #12752 from vmedcy/pr/psoc6-ram-start
PSoC 62/63: set correct mbed_ram_start and mbed_ram_size
2020-04-15 09:22:13 +02:00
Martin Kojtal 90db09ed9f
Merge pull request #12745 from JojoS62/add-eth-MI-config
add config option for phy media interface
2020-04-15 09:21:44 +02:00
Martin Kojtal fef75b3b52
Merge pull request #12731 from kivaisan/fix_socketaddress_verification
Testing: Fix multihoming test compilation issues
2020-04-15 09:21:18 +02:00