Lingkai Dong
170c07ccdf
KVStore: drop './' from CMake paths
2020-12-09 17:26:32 +00:00
Lingkai Dong
34bbcbff92
Fix astyle in KVStore unit tests
2020-12-09 17:26:32 +00:00
Lingkai Dong
386926615c
CMake fix: SFDP already moved to BlockDevice
2020-12-09 17:26:32 +00:00
Lingkai Dong
0f5957df14
CMake fix: location of MBED_CONF_FILESYSTEM_PRESENT=1
2020-12-09 17:20:43 +00:00
Lingkai Dong
0c33db04d5
KVStore: componentize CMake definitions into sub-components
2020-12-09 17:20:43 +00:00
Lingkai Dong
26acbd141a
Relocate kvstore Greentea tests into each store type's path
2020-12-09 17:20:43 +00:00
Lingkai Dong
ae3c1d6287
Add separated kvstore libraries to baremetal test config
2020-12-09 17:20:43 +00:00
Lingkai Dong
8c1dd01066
Relocate kvstore unit tests into each store type's path
2020-12-09 17:20:42 +00:00
Lingkai Dong
b3c13bbea9
Update UNITTEST for kvstore
2020-12-09 17:20:42 +00:00
Lingkai Dong
8ba64c4139
Update include paths
2020-12-09 17:20:42 +00:00
Lingkai Dong
e27a6e0fa6
Create a kvstore_global_api for the global API and KVMap
2020-12-09 17:20:42 +00:00
Lingkai Dong
c2d6e9146c
Turn TDBStore and FileSystemStore into standalone libraries
2020-12-09 17:20:42 +00:00
Martin Kojtal
c62b8e5330
Merge pull request #13961 from hugueskamba/hk_remove_silabs_rail_EFR32_1
...
Silabs: Remove EFR32_1 rail files
2020-12-09 15:21:38 +00:00
Martin Kojtal
4c94b4b495
Merge pull request #14005 from kjbracey-arm/teinsert
...
Correct/clarify TimerEvent::insert documentation
2020-12-09 14:18:06 +00:00
Martin Kojtal
bf88a3fd32
Merge pull request #13995 from hugueskamba/hk_cmake_gigadevice_support
...
CMake: Add support for GigaDevice targets
2020-12-09 14:12:29 +00:00
Martin Kojtal
9662e409db
Merge pull request #14001 from kjbracey-arm/mbed-os-atomic
...
Add missing retry to atomic exchange
2020-12-09 13:29:56 +00:00
Martin Kojtal
0169915a71
Merge pull request #13998 from MultiTechSystems/mtqn-crash-data-ram
...
Add crash reporting and autoreboot capability to MTS_DRAGONFLY_L471QG
2020-12-09 11:58:19 +00:00
Martin Kojtal
336dd99091
Merge pull request #14017 from OpenNuvoton/nuvoton_remove_enabledisable_macro
...
Nuvoton: Remove DISABLE/ENABLE macro definitions in BSP
2020-12-09 11:56:29 +00:00
Martin Kojtal
75e59a59f0
Merge pull request #14000 from RyoheiHagimoto/grmango-oram-calib
...
Add octa RAM calibration feature to GR-MANGO.
2020-12-09 11:46:06 +00:00
Martin Kojtal
b25e0479cb
Merge pull request #13996 from LDong-Arm/tdb_buf_size
...
TDBStore: pad program units when writing record_header_t; ensure work buffer is large enough
2020-12-09 10:12:29 +00:00
Martin Kojtal
18f6794498
Merge pull request #14003 from jeromecoutant/PR_H7_PWR
...
STM32H7: system power supply configuration
2020-12-09 08:57:43 +00:00
Martin Kojtal
626804aa54
Merge pull request #13992 from jeromecoutant/PR_SCRIPT
...
STM32_gen_PeripheralPins.py v1.19
2020-12-09 08:57:26 +00:00
Martin Kojtal
3a71f314d6
Merge pull request #13907 from petroborys/master
...
Workaround to fix RTC-reset issue on the EFM32GG11_STK3701
2020-12-09 08:57:08 +00:00
Chun-Chieh Li
68df919e3f
Nuvoton: Remove DISABLE/ENABLE macro definitions in BSP
...
These are not used on Mbed OS. Remove them to avoid name conflict with other modules.
2020-12-09 14:27:23 +08:00
Martin Kojtal
e5e315eb80
Merge pull request #13936 from artokin/mac_address_set_get_mbed_os_master
...
Network interface MAC address set/get
2020-12-09 05:55:49 +00:00
Martin Kojtal
e2777c2995
Merge pull request #13777 from jeromecoutant/PR_L152
...
STM32 : full GPIO reset during mbed init
2020-12-09 05:55:02 +00:00
Kevin Bracey
cf66a6ed13
Correct/clarify TimerEvent::insert documentation
...
There was much confusion over the functionality of the original
`TimerEvent::insert` call which was described as "Set relative timestamp
of the internal event".
This then extended to my Chrono conversion, meaning the new `insert`
call is not equivalent.
Clarify the original documentation, correct the deprecation messages,
and add more notes on conversion.
No functional change, as the new Chrono API makes more sense - it's just
different from the old API.
Problem actually spotted when I saw the strange code `convert_timestamp`
was producing for the 32-bit->64-bit timestamp conversion. The caller of
it was actually making the mistake of issuing
"TimerEvent::insert(rel_timeout)`, meaning they'd also misunderstood the
documentation, and were not getting the timeout they expected.
(Chrono would have prevented that mistake as durations and time points
are incompatible types).
2020-12-07 16:28:52 +02:00
Hugues Kamba
f13e4959c9
CMake: Add support for GigaDevice targets
...
Add CMakeLists.txt files to list all the target sources and include directories
2020-12-07 11:25:12 +00:00
Martin Kojtal
0fa43ca750
Merge pull request #13898 from RyoheiHagimoto/add_can_to_grmango
...
Adding CAN function to GR-MANGO
2020-12-07 11:03:27 +00:00
Martin Kojtal
660b964bb2
Merge pull request #13970 from hugueskamba/hk_cmake_add_maxim_support
...
CMake: Add support for all Maxim Mbed targets
2020-12-07 11:01:13 +00:00
Martin Kojtal
50e0981be3
Merge pull request #13978 from LDong-Arm/remove_s5js100_idle_hook
...
S5JS100: remove idle hook in favour of Mbed-default idle hook
2020-12-07 09:08:38 +00:00
Martin Kojtal
65281b9db7
Merge pull request #13934 from hugueskamba/hk_cmake_add_cypress_targets
...
CMake: Add support for Cypress targets
2020-12-07 09:08:06 +00:00
RyoheiHagimoto
c34a7b2609
Modified license and code style.
2020-12-07 10:11:20 +09:00
jeromecoutant
cc90ec9096
STM32H7: system power supply configuration
2020-12-04 10:52:59 +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
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