Commit Graph

33303 Commits (b74f62c974f4d82a52918c8178ffb25242c5fe8c)

Author SHA1 Message Date
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
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
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
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
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
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
Anna Bridge 3ee443bfde
Looks like ref has to be a valid branch
For mbed-os-ci-scripts the ref was set to 'triage_test' which was a valid branch for that repo, however it looks like somone deleted that branch causing the script to fail. This commit updates the ref to 'master' which should hopefully fix the issue.
2021-06-03 16:41:30 +01:00
Anna Bridge 444004110e
Change actions/checkout ref field
Looks like something has changed that now requires this to be set differently
2021-06-03 16:29:04 +01:00
jeromecoutant fb8be8259c STM32H7 ADC : dual pad feature update 2021-06-03 10:42:35 +02:00
George Psimenos 69bca978ad Add Arduino Uno pin guards 2021-06-03 09:19:52 +01:00
pennam cd35063694 Add missing changes in objects.h file for others STM32 components 2021-06-03 10:12:04 +02:00
Affrin Pinhero f7a3ad9008 tools/STM32 Modified Python script generates Peripheral Pins
Modified print_adc function to update adc pin_map.
This patch will update python script that generate
'peripheralPin.c'. Which will give functionality to
gernerate ADC pin definition for BANK_B.
This script update is related to
https://github.com/ARMmbed/mbed-os/pull/14669

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-06-02 21:23:46 +05:30
Martin Kojtal 5fe4dafc34
Merge pull request #14221 from macronix/macronix_rww
Enable the RWW function of Macronix Flash MX25LW51245G in OSPI block device driver
2021-06-02 16:53:59 +02:00
jeromecoutant a4ae9f13a7 STM32 TRNG : update init to match all config 2021-06-02 16:37:38 +02:00
jeromecoutant 20e4a351f1 Revert "STM32L5 RNG : update for deprecated MCU version"
This reverts commit f599a5463c.
2021-06-02 16:37:38 +02:00
Martin Kojtal 045c48db3e
Merge pull request #14669 from affrinpinhero-2356/adcBank
STM32L152: Added ADC Bank_B functionality
2021-06-02 16:33:03 +02:00
Martin Kojtal 5aaf3a3390
Merge pull request #14720 from chrJost/STM32L5x2_pwr_register
STM32L5: corrected voltage scaling when using MSI
2021-06-02 15:50:02 +02:00
Martin Kojtal be9850be53
Merge pull request #14701 from donatieng/utf-8-check
Add Travis test to make sure text files are UTF-8 encoded
2021-06-02 15:49:14 +02:00
George Psimenos 7c333d88bb Guard I2C/SPI aliases 2021-06-02 14:25:26 +01:00
Martin Kojtal 0711e488a1
Merge pull request #14686 from jeromecoutant/PR_CPP
STM32: correct __cplusplus brackets
2021-06-02 13:59:26 +02:00
Martin Kojtal d3ba2e1699
Merge pull request #14724 from jeromecoutant/PR_G0PWR
STM32G0: correct voltage scaling control
2021-06-02 13:59:10 +02:00
Donatien Garnier eac5956407 Add Travis test to detect any non-UTF-8-encoded text 2021-06-02 12:13:01 +01:00
Donatien Garnier decd7d0167 Convert shci.h from (presumably) latin1 encoding to UTF-8 2021-06-02 12:12:34 +01:00
Paul Szczepanek c51dc2f6cc set to pending only after issuing command 2021-06-02 12:06:43 +01:00
Paul Szczepanek b21ee6b0a0 add information about privacy refresh to config option 2021-06-02 12:06:12 +01:00