Commit Graph

31854 Commits (65b79502020d0d364cc90b32c86b254b53ba6cd9)

Author SHA1 Message Date
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
Oliver Wildtgrube 03cf6214c3 Add width modifier and prepending zeros for integer, hexadecimal and floating point output as well as decimal precision for floating point 2020-12-08 21:07:54 +01:00
Vincent Coubard 2eb77d607a Update GattAuthCallbackReply_t enumeration.
Add missing values that are present in pal::AttErrorResponse.
This allows applications to use correct ATT error codes.
2020-12-08 10:47:55 +00:00
Jamie Smith 36288029c1 Fix some formatting issues. 2020-12-08 02:28:50 -08: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
Lingkai Dong 562b31ccd3 Move SFDP unit tests 2020-12-07 12:05:07 +00: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
Kyle Kearney a8fbe8cea2 Merge branch 'kmwh-swint-2' into 'pr-dev/hci-driver-terminate'
Kmwh swint 2

See merge request repo/mbed-os!702
2020-12-04 17:04:22 -06:00
jeromecoutant cc90ec9096 STM32H7: system power supply configuration 2020-12-04 10:52:59 +01:00
Wheeler Keith (CY CSS ICW Integration) 1e56565692 Clean up from 2 Dec review 2020-12-03 20:33:58 -08:00
Wheeler Keith (CY CSS ICW Integration) 3445eb2cc8 Shifting BT power pin references to mbed style in transport ccriver and cy_bt_cordio_cfg; removing freeing of dev wake pin and changing to deasserting this during terminate 2020-12-03 20:33:56 -08:00
Wheeler Keith (CY CSS ICW Integration) 4d70877b35 Removing 500ms delay inCyH4TransportDriver init; fixing warning about order of BT POWER in declarations 2020-12-03 20:33:54 -08:00
Dustin Crossman 0e6ede86de Convert cyhal_gpio calls to mbed equivalent. 2020-12-03 20:33:52 -08:00
Wheeler Keith (CY CSS ICW Integration) 389ed278c9 Working on changes from code review 2020-12-03 20:33:50 -08:00
Wheeler Keith (CY CSS ICW Integration) 47aab97d16 Moving UART init from construtor to init method; altering init method to reset BT device via regulator control; modifications to terminate method 2020-12-03 20:33:49 -08:00
Keith Wheeler bf7adcf0d2 Adding to BLE terminate method code that releases the UART and disables interrupts and GPIO 2020-12-03 20:33:47 -08:00
Jamie Smith 0972738e46 Rebase linker script change properly, re-add external toolchain file support 2020-12-03 11:04:13 -08:00
Jamie Smith f07c0cd7e6 Fix variable name conflict with toolchain file 2020-12-03 10:58:41 -08:00
Jamie Smith 423e8b0324 Fix functions using different names for linker script 2020-12-03 10:58:41 -08:00
Jamie Smith a942b2e21b Whoops, accidentally committed version change 2020-12-03 10:58:15 -08:00
Jamie Smith bb7391a37b Remove core.cmake 2020-12-03 10:58:15 -08:00
Jamie Smith 6da2cbb59e Also update ARM.cmake 2020-12-03 10:58:14 -08:00
Jamie Smith 78be77ee5a Change toolchain file to load core and toolchain options *before* compilers are loaded. 2020-12-03 10:57:23 -08:00
jeromecoutant b0c50d4905 STM32F0: ST CUBE drivers update V1.11.1 => V1.11.2 2020-12-03 18:00:26 +01:00
jeromecoutant c46bfe0e1a STM32F0: CMakeLists update 2020-12-03 17:18:00 +01:00
jeromecoutant eef17a5d5d STM32F0: ST CUBE drivers update V1.9.0 => V1.11.1 2020-12-03 17:15:39 +01:00
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