Martin Kojtal
3c622f60b5
Merge pull request #14743 from OpenNuvoton/nuvoton_m251_m261_wdt
...
Nuvoton: Support watchdog on M251/M261 series
2021-06-11 16:10:53 +02:00
Martin Kojtal
530d4beea5
Merge pull request #14734 from jeromecoutant/PR_RFSWITCH
...
STM32WL LORA: HW specific out of STM32WL_LoRaRadio class
2021-06-11 16:09:48 +02:00
Martin Kojtal
86b85a3e84
Merge pull request #14760 from Patater/tls-timing-alt-fix
...
mbedtls: Rename Mbed timing implementation
2021-06-11 14:05:33 +02:00
Martin Kojtal
df12718139
Merge pull request #14737 from paul-szczepanek-arm/cmake-ble-rebased
...
BLE: Add cmake unittest fakes for BLE and events
2021-06-11 14:04:47 +02:00
Paul Szczepanek
86426102ec
remove unittest readme
2021-06-11 10:44:38 +01:00
Jaeden Amero
87d1992f4f
mbedtls: Rename Mbed timing implementation
...
We get a linker warning with the recently added timing module
implementation for Mbed. This is because there is Mbed TLS also ships a
file called timing.c, which we are including in Mbed OS also. With CLI
1, we get an error about unique object files because of the similarly
named implementation files.
Object file timing.o is not unique! It could be made from: mbed-os/connectivity/mbedtls/source/timing.c mbed-os/connectivity/mbedtls/platform/src/timing.cpp
Rename the Mbed timing module implementation to timing_mbed.cpp to avoid
this naming conflict.
Fixes: b8781e527b
("mbedtls: Add an alt implementation of timing")
Fixes #14759
2021-06-10 17:02:28 +01:00
Martin Kojtal
aeaac0e70c
Merge pull request #14746 from jeromecoutant/PR_WB15CC
...
STM32WB: introduce STM32WB15CC NUCLEO
2021-06-10 14:16:10 +02:00
Martin Kojtal
b74f62c974
Merge pull request #14659 from arduino/i2c_slave_patch
...
STM32: make i2c_salve_read return the number of bytes read
2021-06-10 14:10:31 +02:00
Paul Szczepanek
36d9b86d46
fix typos
...
Co-authored-by: Chris Swinchatt <christopher.swinchatt@arm.com>
2021-06-10 11:56:16 +01:00
Martin Kojtal
7620120843
Merge pull request #14756 from Patater/tls-timing-alt
...
mbedtls: Add an alt implementation of timing
2021-06-10 12:11:39 +02:00
Jaeden Amero
b8781e527b
mbedtls: Add an alt implementation of timing
...
Implement the MBEDTLS_TIMING_ALT interface for Mbed OS. This
implementation is sufficient to run the Mbed TLS benchmarking
application.
2021-06-09 17:43:18 +01:00
Jaeden Amero
88c019990d
Merge pull request #14713 from Patater/lgtm
...
lgtm: Add initial LGTM configuration file
2021-06-09 16:09:01 +01:00
Martin Kojtal
0bbc3e225e
Merge pull request #14740 from chrisswinchatt-arm/fix-netsocket-dynalloc
...
Fix 'netsocket: several dynamic allocation results not checked' (#14210 )
add_event_listener in NetworkInterface now returns an error if the method fails. Previous attempts to add the event listener would attempt to use an unchecked standard dynamically allocated ns_list_* item.
In other cases, the dynamically allocated items will now be checked, and if unsuccessful, will return after cleaning up any outstanding issues.
TCPSocket::accept will now check that its own internally allocated new TCPSocket call will succeed, and if not, will clean up the stack resources. This should help when memory is low but an incoming connection requests a connection when the TCPSocket is listening.
2021-06-09 16:39:02 +02:00
Martin Kojtal
fa090ff05c
Merge pull request #14704 from jeromecoutant/PR_TEST_PIN
...
Pin name tests update
2021-06-09 16:37:51 +02:00
Martin Kojtal
a8fd7b3f0e
Merge pull request #14693 from 16L-YT/master
...
Fix compilation errors with kvstore - TDB_INTERNAL option to store BLE bonding info
2021-06-09 16:35:56 +02:00
Martin Kojtal
386f197040
Merge pull request #14617 from ARMmbed/gp-spi2c-alias
...
Add legacy I2C/SPI pin aliases
2021-06-09 14:56:46 +02:00
Martin Kojtal
6dc82fc104
Merge pull request #14753 from tymoteuszblochmobica/atomic
...
Add mbed prefix into atomic
2021-06-09 14:56:39 +02:00
Martin Kojtal
e377383f6d
Merge pull request #14672 from paul-szczepanek-arm/fix-advertising-start
...
BLE: Fix advertising start and stop
2021-06-09 10:38:34 +02:00
Tymoteusz Bloch
3a05db8d98
Namespace scope mbed:: added for CriticalSectionLock used in Atomic templates
2021-06-08 22:55:43 +02:00
jeromecoutant
1a370ed02a
STM32WB: README update with NUCLEO_WB15CC
2021-06-08 15:04:00 +02:00
Martin Kojtal
7c17693c06
Merge pull request #14729 from affrinpinhero-2356/adc_bank_script_update
...
tools/STM32 Modified Python script generates Peripheral Pins
2021-06-08 12:21:32 +02:00
Paul Szczepanek
2d9a781dd8
fix typos and traces
2021-06-08 09:48:45 +01:00
Chun-Chieh Li
de00a5a4e8
Nuvoton: Support watchdog on M251/M261 series
...
Support watchdog on below targets:
- NUMAKER_IOT_M263A
- NUMAKER_IOT_M252
2021-06-08 11:03:55 +08:00
Martin Kojtal
8b1b302744
Merge pull request #14733 from jeromecoutant/PR_DUALPAD
...
STM32H7 ADC : dual pad feature update
2021-06-07 20:50:16 +02:00
Martin Kojtal
1fe0650907
Merge pull request #14721 from OpenNuvoton/nuvoton_no-hxt-lxt
...
Nuvoton: Enable no HXT/LXT configurability
2021-06-07 20:50:10 +02:00
Martin Kojtal
ae79b61765
Merge pull request #14675 from 0xc0170/fix_i2c_start
...
i2c: `start()` should aquire the bus
2021-06-07 20:49:58 +02:00
jeromecoutant
4abefe5d42
Pin_names generic test: Add BUTTON3 test case
2021-06-07 18:09:46 +02:00
jeromecoutant
86d0471136
Pin_names arduino_uno test: Add a check for UART instance
2021-06-07 18:09:45 +02:00
jeromecoutant
4c7d9d190b
STM32 NUCLEO_WB15CC support
2021-06-07 18:03:49 +02:00
Paul Szczepanek
3fa779692c
Add a readme to unit tests
2021-06-07 16:44:34 +01:00
Paul Szczepanek
8557529ae3
missing newlines
2021-06-07 16:30:35 +01:00
jeromecoutant
9145ac5108
CMSIS pack manager: add STM32WB15CCUx
...
Values from Keil.STM32WBxx_DFP.1.2.0.pack
https://www.keil.com/dd2/pack/
2021-06-07 16:05:50 +02:00
jeromecoutant
9f0ee46475
STM32WB15xC MCU support
2021-06-07 16:05:41 +02:00
Chris Swinchatt
053eb24ab0
Fix 'netsocket: several dynamic allocation results not checked' ( #14210 )
...
Incorporates PR #14223 + changes required for spellchecker
2021-06-07 14:54:37 +01:00
Martin Kojtal
587eb413d6
Merge pull request #14736 from jeromecoutant/ISSUE_USB_F1
...
STM32 USB: update init
2021-06-07 13:32:01 +02:00
Martin Kojtal
a83ec1960b
Merge pull request #14739 from OpenNuvoton/nuvoton_m2354_tfm_no_hxt
...
M2354: Substitute HIRC for HXT to clock PLL
2021-06-07 12:52:57 +02:00
Martin Kojtal
0675d30be8
Merge pull request #14670 from jeromecoutant/PR_README_SLEEP
...
STM32: add information in README for SLEEP feature
2021-06-07 12:32:01 +02:00
Martin Kojtal
fef89d93ce
Merge pull request #14738 from MaximIntegrated/master
...
Gate ticker (timer0) clock on deepsleep for MAX32620FTHR
2021-06-07 12:31:48 +02:00
Martin Kojtal
9fbb89e2d1
Merge pull request #14692 from jeromecoutant/PR_WB_HCI
...
STM32WB: improve FLASH size
2021-06-07 11:18:26 +02:00
Ahmet Alincak
43d9c0fbb4
Gate ticker (timer0) clock on deepsleep
2021-06-07 00:41:09 +03:00
Paul Szczepanek
cc0729a678
add missing tuple c++ replacement for unittests
2021-06-06 11:54:24 +01:00
Paul Szczepanek
0515408f21
add default BLE roles configuration in case no json present
2021-06-06 11:54:24 +01:00
Paul Szczepanek
2975c7cfe9
add fake googlemock BLE API for unittests
2021-06-06 11:54:24 +01:00
Paul Szczepanek
3290c944e8
add fake event queue for unittests
2021-06-06 11:25:38 +01:00
jeromecoutant
94794f9228
STM32 USB: update init
...
Add explicit calt to __HAL_PCD_ENABLE()
2021-06-04 17:01:14 +02:00
Anna Bridge
5047bd3c27
Merge pull request #14608 from JeanMarcR/STM32H7_NEW_CUBE
...
STM32H7 update drivers version to CUBE V1.9.0
2021-06-04 11:51:05 +01:00
Anna Bridge
986add717e
Merge pull request #14722 from jeromecoutant/PR_RNG
...
STM32 TRNG: update init to match all configs
2021-06-04 11:40:07 +01:00
Chun-Chieh Li
0b6fdf46f0
M2354: Default to HXT not present
...
1. Build TF-M v1.3 with GNUARM and HXT not present.
2. Support configurability of HXT presence (targets.json).
3. Default HXT to not present (targets.json). This must align with built TF-M secure code above.
2021-06-04 10:32:59 +08:00
Chun-Chieh Li
79cf5a01d5
M2354: Synchronize platform extra secure files from TF-M
...
These files are refactored on TF-M and make no logic change on Mbed.
2021-06-04 10:32:59 +08:00
Chun-Chieh Li
71c32de1d7
M2354: Refine TF-M import readme
...
Add bug report of GNU Arm Embedded Toolchain 10-2020-q4-major in CMSE support
2021-06-04 10:32:59 +08:00