Commit Graph

29445 Commits (aec63034378f652b76b6b7fd74b4b3e40da8342c)

Author SHA1 Message Date
Martin Kojtal aec6303437
Merge pull request #12787 from kyle-cypress/pr/cyeskit-064b0s2-4343w
Cypress: Add CYESKIT-064B0S2-4343W
2020-04-21 10:08:40 +02:00
Martin Kojtal bb6345e63b
Merge pull request #12827 from ithinuel/bare_metal_hal
enable common tickers & lp_tickers hal tests in baremetal mode
2020-04-21 09:56:59 +02:00
Martin Kojtal b9ab2d2f25
Merge pull request #12816 from rajkan01/semaphore_greentea_test
Baremetal: Enable Semaphore greentea test
2020-04-21 09:51:07 +02:00
Martin Kojtal f468c9b1fe
Merge pull request #12830 from kivaisan/fix_bg96_offload_dns_query
Cellular: Fix BG96 offloaded DNS query for new API
2020-04-21 09:38:56 +02:00
Martin Kojtal 27405bff31
Merge pull request #12671 from hugueskamba/hk-netsocket-remove-armc5-support
Netsocket/lwIP Stack: Remove support for ARM Compiler 5
2020-04-20 14:16:20 +02:00
Rajkumar Kanagaraj a24419bde6 Incorporated the review comments 2020-04-20 12:56:50 +01:00
Kimmo Vaisanen fe98dbef94 Cellular: Fix BG96 offloaded DNS query for new API
Fixed following issues in BG96 offloaded DNS:
- Fixed mbed-os 6 API change for asynchronous DNS callback. Return value is no longer
  an error value but in success case the amount of DNS records
- Asynchronous request returns request ID instead of NSAPI_ERROR_OK. BG96 supports only
  one asynchronouse DNS query at the time, so ID 1 is used.
- BG96 does not support multi-ip DNS responses, so disabled multi-ip tests
2020-04-20 12:35:09 +03:00
Wilfried Chauveau 3d74526fa9
enable common tickers & lp_tickers hal tests in baremetal mode 2020-04-17 15:01:56 +01:00
Martin Kojtal a79d3ce18d
Merge pull request #12271 from jainvikas8/jae-feature-twincpu-6-mbed-os-integration
Make cypress psoc64 TFM ready and also add TF-M initialization
2020-04-17 15:48:58 +02:00
Martin Kojtal 41309c6ccb
Merge pull request #12811 from hugueskamba/hk_remove_deprecate_platform_api
Remove deprecated Platform header files
2020-04-17 12:46:47 +02:00
Martin Kojtal a1c7cf5e73
Merge pull request #12819 from kyle-cypress/pr/psoc6-spi-memfix
Cypress: Fix unitialized memory in spi_master_write
2020-04-17 11:02:13 +02:00
Martin Kojtal 4f7abe970f
Merge pull request #12746 from deepak-shreshti/master
Removed Toshiba targets (AdBun-M066, M3H6 & M3HQ).
2020-04-17 10:06:06 +02:00
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
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
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