Commit Graph

31877 Commits (82c98618cd063cd09f6c43ee0c7cb0f82d21f4d1)

Author SHA1 Message Date
Martin Kojtal 33a7e66a07
Merge pull request #13906 from jeromecoutant/PR_G070
STM32G070: generic target creation
2020-11-27 12:49:52 +00:00
Evelyne Donnaes 786c64af06 Fix ThisThread warnings 2020-11-27 11:57:09 +00:00
Martin Kojtal 28eeee2b4c
Merge pull request #13922 from 0xc0170/cmake-nuvoton
CMake: add nuvoton targets
2020-11-27 11:02:53 +00:00
Martin Kojtal 1d0e9b100e
Merge pull request #13973 from ladislas/ladislas-stm32f7-remove-objects_dot_h
stm32: delete objects.h
2020-11-27 10:23:39 +00:00
Ladislas de Toldi eba8df7ed6
Delete objects.h 2020-11-27 09:24:31 +01:00
Lingkai Dong 23702ff2b3 Update include paths to SFDP.h 2020-11-26 17:31:31 +00:00
Lingkai Dong 5d2fbdc11e Move SFDP into blockdevice where it belongs to 2020-11-26 17:31:31 +00:00
Hugues Kamba be84b8cb0f CMake: Add Freescale in the list of supported targets 2020-11-26 16:14:06 +00:00
Hugues Kamba 43fb514832 CMake: Add support for Freescale MCUXpresso_MCUS targets
All Freescale MCUXpresso_MCUS targets supported by Mbed OS
can now be built with CMake.
2020-11-26 16:13:25 +00:00
Hugues Kamba 8ef0087314 CMake: Add support for Freescale KLXX targets
All Freescale KLXX targets supported by Mbed OS
can now be built with CMake.
2020-11-26 16:13:24 +00:00
Martin Kojtal b20278a5f4
Merge pull request #13964 from hugueskamba/hk_cmake_arm_fm_support
CMake: Add support for all ARM FM Mbed targets
2020-11-26 15:55:43 +00:00
Martin Kojtal 22c1c6c7cf
Merge pull request #13951 from LDong-Arm/NRF52_DK-baremetal
MCU_NRF52832 (NRF52_DK, SDT52832B): use two-region memory model to support MicroLib
2020-11-26 15:54:46 +00:00
Martin Kojtal aea691a67a
Merge pull request #13960 from harmut01/2260_erase_size_const
Add const keyword to get_erase_size declaration
2020-11-26 15:54:07 +00:00
Martin Kojtal 61e4b55a22
Merge pull request #13947 from LDong-Arm/erase_algorithm_fix
Fix erase type determination for [Q/O/]BlockDevice::erase()
2020-11-26 15:53:03 +00:00
Hugues Kamba 6ccee16e87 MAX32610: Remove source files
The targets of this family are not supported by Mbed OS 6
2020-11-26 13:47:20 +00:00
Hugues Kamba 4a0718c697 MAX32620HSP: Remove source files
This target was not supported by Mbed OS 6
2020-11-26 13:23:18 +00:00
Martin Kojtal c9ff692858
Merge pull request #13780 from JojoS62/PR-fix-H7-USB
STM32 H7: fix USB in sleep mode
2020-11-26 13:19:35 +00:00
Martin Kojtal d0cfc67652
Merge pull request #13962 from 0xc0170/cmake-fix-stm-armclang
STM: fix ARMClang sct files, using proper -E command
2020-11-26 13:13:34 +00:00
Hugues Kamba ff5fca636b MAX32600MBED: Remove support
The target is no longer supported by Maxim
2020-11-26 12:58:59 +00:00
Hugues Kamba def23e18e0 Add ARM FM in the list of supported targets 2020-11-26 11:31:20 +00:00
Martin Kojtal dd432a387e
Merge pull request #13942 from paul-szczepanek-arm/securitydb-fix
ble: Fix persistence in SecurityDB
2020-11-26 11:17:28 +00:00
Lingkai Dong c41f7cb864 Fix integer type warnings in SFDP and *SPIFBlockDevice 2020-11-26 10:28:58 +00:00
Lingkai Dong fb0f9687e4 Initial unit test for SFDP
As a starting point, only sfdp_iterate_next_largest_erase_type(),
which the pull request is intended to fix, is tested. More test
cases shall be added in the future.
2020-11-26 09:55:47 +00:00
Hugues Kamba ec9c6cbc02 CMake: Add support for all ARM's FM Mbed targets
Add CMakeLists.txt files so all ARM's FM Mbed targets can be built with CMake
2020-11-25 14:55:17 +00:00
Martin Kojtal 66ca70af94
Merge pull request #13949 from LDong-Arm/fat_filesystem_test_fix
Fix mbed::Dir type handling in fat_filesystem
2020-11-25 14:38:18 +00:00
Martin Kojtal b5b0cfb2c6 STM32: fix H7 target definition in sct files 2020-11-25 14:12:26 +00:00
Martin Kojtal 483db06a5f
Merge pull request #13948 from rajkan01/simplify_ble_lib_inclusion
CMake: Simplify BLE library inclusion
2020-11-25 13:37:11 +00:00
Martin Kojtal fc16d2bae7 STM: fix ARMClang sct files, using proper -E command
This is required for ARMClang, otherwise there is an error with unknown command.
2020-11-25 13:35:36 +00:00
Lingkai Dong e0bd9a1c6a sfdp_iterate_next_largest_erase_type: return -1 if no erase type is applicable 2020-11-25 13:34:01 +00:00
Martin Kojtal 58c0319b28
Merge pull request #13958 from douardda/patch-1
Fix a typo in STM32F3's CMakeList.txt
2020-11-25 13:22:35 +00:00
Martin Kojtal 0efffa3411 CMake nuvoton: fix ARMClang linker script command 2020-11-25 13:18:15 +00:00
Hugues Kamba 3f182c59ee Silabs: Remove EFR32_1 rail files
Mbed OS 6 does not support Silicon Labs EFR32_1 rail
2020-11-25 13:17:02 +00:00
Harrison Mutai 9857a4d63b Add const keyword to get_erase_size declaration
Add const to function declaration. Const objects cannot access const
safe functions, a compiler error is thrown if one tries to do so. This
helps ensure that the object calling the method will not be modified.
This is espescially desirable in functions where all we need to do is
query existing data and not make any alterations.
2020-11-25 13:09:06 +00:00
David Douard 5a4a34802b
Fix a typo in STM32F3's CMakeList.txt
A typo has been introduced preventing the STM32F303x8 to be buildable using the new cmake based build system.
2020-11-25 11:53:59 +01:00
Martin Kojtal 62faa46fb4
Merge pull request #13921 from hugueskamba/hk_remove_lpc55s69
TARGET_NXP: Remove support for LPC55S69
2020-11-25 10:03:17 +00:00
Martin Kojtal b7c2b77093
Merge pull request #13953 from rajkan01/add_nanostack_dependency_lib
Add nanostack dependency lib
2020-11-25 10:02:56 +00:00
jeromecoutant 59fc99bf50 STM32: full GPIO reset during mbed init 2020-11-25 09:07:58 +01:00
Mika Leppänen 06be25722f Replaced new calls with nothrow version of the call on mesh api
Replaced new calls with nothrow version of the call.
2020-11-25 10:04:58 +02:00
Arto Kinnunen 9ede631e76 Update EmacTestNetworkStack
-Uncomment get_mac_address
-Document set_mac_address
2020-11-25 09:32:23 +02:00
Arto Kinnunen 636c19af16 Fix unittests
Use path in "mbed-trace/mbed_trace.h" to keep unittest happy.
2020-11-25 09:29:59 +02:00
Lingkai Dong ac86aff928 sfdp_iterate_next_largest_erase_type: do not modify type_mask
The supported erase types of a given flash region are indicated
in bitfields of the variable `type_mask`. Even if an erase type
is unused for the current chunk (e.g. size too large, unaligned, etc.),
its bitfield should NOT be cleared - the same erase type might
actually be useful for the next chunk.

The function argument is now a value instead of a reference.
2020-11-24 18:07:34 +00:00
Lingkai Dong 04915198d4 Fix mbed::Dir type handling in fat_filesystem
Full credits to @kjbracey-arm for the fix.

Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
2020-11-24 17:00:20 +00:00
Lingkai Dong b174edb282 MCU_NRF52832: use two-region memory layout (stack + heap) to support MicroLib
MicroLib is the lightweight C lib for the Arm toolchain and
used as the default C lib on bare metal builds with the Arm
toolchain. It requires two separate memory regions for stack
and heap.

The change is based on nRF52840.sct.
2020-11-24 16:35:02 +00:00
Martin Kojtal 6d89500dfe
Merge pull request #13935 from MultiTechSystems/mtqn-soft-power-on
Dragonfly Nano(MTQN): power on/off so soft_power_on() fix
2020-11-24 14:14:07 +00:00
Martin Kojtal ced4aa6e2d
Merge pull request #13939 from jeromecoutant/PR_LSEDRIVE
STM32: LSE DRIVE feature update
2020-11-24 14:13:52 +00:00
Martin Kojtal 9de73f89ef
Merge pull request #13932 from LDong-Arm/st_trace_verbosity
Reduce ST QSPI/OSPI trace verbosity to debug
2020-11-24 14:12:13 +00:00
Martin Kojtal b552127916
Merge pull request #13931 from jeromecoutant/PR_I2C_LEGACY
STM32 I2C: use correct HAL API
2020-11-24 14:12:05 +00:00
Martin Kojtal 214291b6be
Merge pull request #13930 from LDong-Arm/arm_compiler_macros
CMake: pass macros to ARM toolchain linker
2020-11-24 14:11:48 +00:00
Martin Kojtal 50262876c6
Merge pull request #13928 from hugueskamba/hk_cmake_clean_arm_toolchain_support
Clean remnant of experiment with ARM toolchain
2020-11-24 14:11:26 +00:00
Martin Kojtal 985fab4ea0
Merge pull request #13918 from hugueskamba/hk_removed_lpc11u6x
TARGET_NXP: Remove support for LPC11U6X
2020-11-24 14:10:35 +00:00