Commit Graph

31871 Commits (d6784c3ee6ada8e886801d0197904d3ab94c891c)

Author SHA1 Message Date
jeromecoutant 8f07246008 STM32F0: targets.json update to create MCU sub families 2020-12-03 17:15:39 +01:00
jeromecoutant 6f25e46181 STM32F0: code alignment
No impact, no change
2020-12-03 17:15:31 +01:00
Kevin Bracey 0b30742c80 Add missing retry to atomic exchange
Atomic exchange implementation forgot to do the retry if the exclusive
store failed.
2020-12-03 16:36:23 +02:00
jeromecoutant 58ac265039 STM32F0: directory restructuration 2020-12-03 13:05:06 +01:00
RyoheiHagimoto 0572cf3310 Added octa RAM calibration feature to GR-MANGO.
Modified files in the sub-directory of targets/TARGET_RENESAS/TARGET_RZ_A2XX/.
2020-12-03 20:57:15 +09:00
Martin Kojtal d2adc9ef78
Merge pull request #13925 from hugueskamba/hk_remove_CY8CKIT_064S2_4343W
Cypress: Remove CY8CKIT_064S2_4343W files
2020-12-03 10:00:36 +00:00
Martin Kojtal a847ab3708
Merge pull request #13985 from 0xc0170/cmake-fix-13983
CMake: fix memory map generation
2020-12-03 09:00:46 +00:00
Martin Kojtal 53293dfeaa
Merge pull request #13963 from evedon/warnings
Fix ThisThread warnings
2020-12-03 08:52:17 +00:00
Martin Kojtal 56f731027e
Merge pull request #13929 from JeanMarcR/DEEP_SLEEP
STM32: LPUART clock source selection up to a serial driver
2020-12-03 08:47:01 +00:00
Lingkai Dong a4907e89df Bring in TDBStore UNITTESTS improvements from PR #13731
Co-authored-by: Seppo Takalo <seppo.takalo@arm.com>
2020-12-02 14:57:43 +00:00
Lingkai Dong fd5b2c569d Avoid force-casting inputs when calling std::min() 2020-12-02 14:57:43 +00:00
Lingkai Dong cf977b7aae TDBStore: the work buffer is at least the program size or 64 bytes
Previously, we always set the work buffer to 64 bytes, without
checking it was no less the actual program size. But we can't
simply switch to use the program size for the work buffer,
because if it's too small (e.g. 1 byte in some cases), we
will not be able to read the status header (24 bytes), and
small buffers means more underlying write operations and
lower efficiency.

This PR changes the work buffer size to be the program size,
or 64 bytes as an absolute minimum like before.
2020-12-02 14:57:43 +00:00
Lingkai Dong ece756c0c4 TDBStore: pad record header to whole program size before storing it
Previously, when writing a record header into a TDBStore, we
took the pointer to the record_header_t variable as the input,
but used a program-aligned chunk size which is larger.
As a result, garbage from the stack memory gets written.

This commit fixes that by buffering the record header.

Co-authored-by: Seppo Takalo <seppo.takalo@arm.com>
2020-12-02 14:57:22 +00:00
Leon 310b6dd127 Add crash reporting and autoreboot capability to MTS_DRAGONFLY_L471QG 2020-12-01 14:18:16 -06:00
Martin Kojtal 4e7c7eca7e CMake ARM: move map to unify with Gcc Arm 2020-12-01 19:04:32 +00:00
Hugues Kamba 0c41cca92a CMake: Add Cypress in the list of supported targets 2020-12-01 15:17:41 +00:00
Hugues Kamba efafbd5dc4 Add support for CYTFM_064B0S2_4343W 2020-12-01 15:16:36 +00:00
Hugues Kamba fafc5c33e7 Add support for CYW9P62S1_43438EVB_01 2020-12-01 15:16:35 +00:00
Hugues Kamba db6df682b5 Add support for CYW9P62S1_43012EVB_01 2020-12-01 15:16:35 +00:00
Hugues Kamba aa415e621d Add support for CYSBSYSKIT_01 2020-12-01 15:16:35 +00:00
Hugues Kamba 43b86ff083 Add support for CY8CPROTO_062_4343W 2020-12-01 15:16:35 +00:00
Hugues Kamba 06f2f34a0d Add support for CY8CPROTO_062S3_4343W 2020-12-01 15:16:35 +00:00
Hugues Kamba fb9b920f03 CMake: Add support for CY8CKIT_062_WIFI_BT 2020-12-01 15:16:35 +00:00
Hugues Kamba 36bcb0c04b CMake: Add support for CY8CKIT_062_BLE 2020-12-01 15:16:35 +00:00
Hugues Kamba d7b5307608 CMake: Add support for CY8CKIT_062S2_43012 2020-12-01 15:16:35 +00:00
Hugues Kamba be88fe2a21 CMake: Enable baremetal support for MCU_PSOC6 targets 2020-12-01 15:16:35 +00:00
Hugues Kamba b66439f39b CMake: Add support for CY8CKIT064B0S2_4343W 2020-12-01 15:16:35 +00:00
Hugues Kamba 19abde6f6a CMake: Add Maxim to the list of supported targets 2020-12-01 15:11:35 +00:00
Hugues Kamba 19f3d4c265 CMake: Add support for Maxim MAX32630 targets
Add CMakeLists.txt file to for the target family source files.
2020-12-01 15:08:32 +00:00
Hugues Kamba deac9c047c CMake: Add support for Maxim MAX32625 targets
Add CMakeLists.txt file to for the target family source files.
2020-12-01 15:08:32 +00:00
Hugues Kamba 348b4e9770 CMake: Add support for Maxim MAX32620C targets
Add CMakeLists.txt file to for the target family source files.
2020-12-01 15:08:32 +00:00
Hugues Kamba b4bc521f13 CMake: Add support for WICED target
* Add CMakeLists.txt file
* Update the list of supported target
2020-12-01 15:05:28 +00:00
Vikas Katariya 8b70ae1d83 docs: Update to reflect Mbed CLI 2 changes
Due to the recent release of Mbed CLI 2, the command line options
have been renamed to ensure good usability and harmonize with the old
tools.

These are the following changes done:
* Minimum Cmake - 3.19.0 is required
* Minimum Mbed-tools - 4.0.0 is required
* mbed-tools cmd `init` to `new`
* mbed-tools cmd `build` to `compile`
* Removed whitespaces
2020-12-01 14:57:24 +00:00
jeromecoutant 186a258b99 STM32_gen_PeripheralPins.py v1.19
- Use https://github.com/STMicroelectronics/STM32_open_pin_data.git
    instead of CubeMX
- Add GPIO pinmap list
- Add STM32WL support
2020-12-01 15:52:20 +01:00
Martin Kojtal e77b1d8a17
Merge pull request #13952 from hugueskamba/hk_cmake_freescale_support
CMake: Add support for all Freescale Mbed targets
2020-12-01 14:35:11 +00:00
Martin Kojtal 3fa8897f66
Merge pull request #13950 from hugueskamba/hk_remove_freescale_kl27z
Freescale: Remove KL27Z files
2020-12-01 13:57:59 +00:00
Martin Kojtal d5f20ed0f8
Merge pull request #13945 from hugueskamba/hk_remove_freescale_k20xx
Freescale: Remove K20XX files
2020-12-01 13:57:01 +00:00
petroborys e37aeb0c74 Workaround to fix RTC-reset issue on the EFM32GG11_STK3701 2020-11-30 18:53:01 +02:00
Martin Kojtal 4e0d07d50f
Merge pull request #12897 from kjbracey-arm/tickeropt
Optimise mbed_ticker_api.c
2020-11-30 16:15:37 +00:00
Paul Szczeanek 5cc09f58f8 the adv bit is actually optional in aux_adv_ind so is not required for periodic sync 2020-11-30 16:00:14 +00:00
Arto Kinnunen 671dec565c Update WICED binary for ARMC6
A new method has been added to the NetworkInterface. Therfore WICED
library needs to be rebuild for ARMC6.
2020-11-30 14:54:13 +02:00
Arto Kinnunen 6a28bce1dd Remove API changes
-Remove Nanostack::add_ethernet_interface API change
-Add get_mac_address to MeshEthernetInterface
-Fix compiler warnings by adding overrides
2020-11-30 13:49:33 +02:00
Martin Kojtal f97c7bd957 CMake: GCC ARM linker script fix
Fixes https://github.com/ARMmbed/mbed-os/issues/13983
Move linker script to the function mbed_set_mbed_target_linker_script.

I also moved memmap as it is needed for an app. The location might not be the best fit,
we will address this in separate pull request.
2020-11-30 11:21:53 +00:00
Lingkai Dong 65e5db8631 S5JS100: remove idle hook which is essentially the non-Tickless hook from Mbed OS 2020-11-27 17:47:08 +00:00
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