Kevin Bracey
c55329157a
Use atomics in __cxa_guard functions
...
Similar to SingletonPtr, use atomic accesses when loading the guard word
outside the lock, and when storing, to ensure no races for threads that
don't take the lock.
Lack of atomics unlikely to be a problem in current builds, but code
could conceivably be subject to reordering if link-time optimisation was
enabled.
2019-01-29 17:49:18 +02:00
Kevin Bracey
6e41d6cdb7
Make SingletonPtr safe using atomics
...
SingletonPtr's implementation wasn't totally safe - see "C++ and the
Perils of Double-Checked Locking"by Meyers and Alexandrescu. No problems
observed in practice, but it was potentially susceptible to compiler
optimisation (or maybe even SMP issues).
Now that we have atomic loads and stores, the function can be made safe,
avoiding any potential races for threads that don't take the lock:
ensure that the unlocked load is atomic, and that the pointer store is
atomic.
See https://preshing.com/20130930/double-checked-locking-is-fixed-in-cpp11/
for more discussion.
2019-01-29 16:01:33 +02:00
Martin Kojtal
d1b367fbab
Merge pull request #9483 from mprse/ticker_sleep_lock_fix
...
Fix for Issue #7308 (Deep_sleep_lock Ticker.h Issue)
2019-01-29 09:27:12 +01:00
Cruz Monrreal
e965aa6640
Merge pull request #9509 from vmedcy/psoc6-daplink-hex
...
PSOC6.py: generate hex files with 16 bytes per row
2019-01-28 10:38:15 -06:00
Cruz Monrreal
66cda8a8fe
Merge pull request #9499 from bridadan/remove_yotta_modules
...
Remove unused yotta module metadata
2019-01-28 10:37:30 -06:00
Cruz Monrreal
545d229ab1
Merge pull request #9497 from ARMmbed/AnotherButler-patch-2
...
Remove yotta from README.md
2019-01-28 10:36:36 -06:00
Cruz Monrreal
953acef94c
Merge pull request #9482 from maciejbocianski/arch_pro_spi_pins
...
ARCH_PRO: add missing SPI pin definitions
2019-01-28 10:34:37 -06:00
Cruz Monrreal
f5730a91b2
Merge pull request #9474 from VeijoPesonen/fix-newlines_at_end-of-files
...
Fix newlines at end of files
2019-01-28 10:33:37 -06:00
Cruz Monrreal
7f8ebc75cd
Merge pull request #9466 from vmedcy/psoc6-target-hook
...
Improve PSoC 6 post-build hooks, whitelist makefile export
2019-01-28 10:33:12 -06:00
Cruz Monrreal
b49d949b50
Merge pull request #9393 from pan-/fix-safe-enum-type-safety
...
BLE: Fix SafeEnum type safety
2019-01-28 10:31:52 -06:00
Martin Kojtal
0bc9bcc0ed
Merge pull request #9498 from ARMmbed/AnotherButler-patch-3
...
Remove outdated text and fix spelling in README.md
2019-01-28 11:05:15 +01:00
Martin Kojtal
489e52e428
Merge pull request #9410 from jeromecoutant/PR_F756_L486
...
STM32F756 and STM32L486 alignment with STM32F746 and STM32L476
2019-01-28 10:22:48 +01:00
Martin Kojtal
e3cf2e4adc
Merge pull request #9500 from janjongboom/patch-4
...
TCPSocket.cpp setting socket should terminate with semicolon
2019-01-28 10:21:52 +01:00
Volodymyr Medvid
5c384f10e7
PSOC6.py: generate hex files with 16 bytes per row
...
DAPLink implementation on Cypress kits cannot handle hex files
with 64 bytes per row: refer to https://github.com/ARMmbed/DAPLink ,
source/daplink/drag-n-drop/intelhex.c, hex_line_t struct, data field.
2019-01-25 10:07:00 -08:00
Amanda Butler
36438a1d70
Remove outdated content from README.md
...
Remove requested outdated content, and update TOC to reflect changes.
2019-01-25 09:57:19 -06:00
Martin Kojtal
daefce6bf4
Merge pull request #9492 from cmonr/travisCI-fix-license_check
...
Travis CI: Fix for license check job
2019-01-25 12:33:21 +01:00
Cruz Monrreal
eb26d82ca9
Merge pull request #9223 from kfnta/future_sequana_psa_binnaries_importer
...
Update PSA binaries importer for FUTURE_SEQUANA_PSA
2019-01-24 17:02:44 -06:00
Cruz Monrreal II
e28bf5ae11
Replaced '|' with '>' (affects how newlines are parsed)
2019-01-24 16:56:05 -06:00
Jan Jongboom
ca987568d8
TCPSocket.cpp setting socket should terminate with semicolon
2019-01-24 14:25:34 -08:00
Cruz Monrreal
615ed31f7a
Merge pull request #9488 from 0xc0170/fix_licenses
...
Fix licenses in travis test and realtek lib
2019-01-24 16:16:38 -06:00
Cruz Monrreal II
50a99a0572
Updated license_check to work a bit better across line boundries.
...
Swapped out 'git grep' for 'grep' since it can take in a --max-count flag.
The license _header_ will always be at the top.
Also enabled output so that PR authors can know what the problem files are.
2019-01-24 16:14:50 -06:00
Cruz Monrreal II
31ab61ed80
Fix for license check job.
...
Somehow, having the '!' before a single command in a single line parses out the '!'.
2019-01-24 16:14:50 -06:00
Amanda Butler
8b35bbc5b5
Remove .json blob from README.md
...
Make change suggested in comments.
2019-01-24 15:54:02 -06:00
Brian Daniels
99d6145cf3
Update features/frameworks/greentea-client/README.md
...
Co-Authored-By: AnotherButler <Amanda.Butler@arm.com>
2019-01-24 15:53:01 -06:00
Brian Daniels
ee5281abef
Remove unused yotta module metadata
2019-01-24 15:30:20 -06:00
Amanda Butler
25bb0d23c5
Remove outdated text and fix spelling in README.md
...
Remove reference to yotta, and fix spelling for correct branding.
2019-01-24 15:29:09 -06:00
Amanda Butler
39851e4c18
Remove yotta from README.md
...
Remove all references to yotta.md
2019-01-24 15:25:30 -06:00
Cruz Monrreal
1b1c108528
Merge pull request #9484 from offirko/offir_test_fopen_fixes
...
Start Component SD test by formatting SD Card
2019-01-24 13:28:33 -06:00
Cruz Monrreal
f69b550d5d
Merge pull request #9462 from deepikabhavnani/add_example
...
Corrected the targets value in json file as CI uses real board names
2019-01-24 13:27:46 -06:00
Cruz Monrreal
e241b13865
Merge pull request #9452 from RonEld/crypto_platform_ranaming
...
Crypto platform renaming
2019-01-24 13:27:12 -06:00
Cruz Monrreal
c7679109ef
Merge pull request #9354 from jeromecoutant/PR_H7CAN
...
STM32H7 : add CAN support
2019-01-24 13:26:36 -06:00
Cruz Monrreal
899ea5991c
Merge pull request #9318 from caixue1102/mbed-os-rda
...
fix bug for RDA UNO_91H:calling us ticker functions without init.
2019-01-24 13:25:58 -06:00
Cruz Monrreal
2941c8d3f9
Merge pull request #9296 from SenRamakri/sen_RemovePrintfCrashReport
...
Remove printf completely and fix the optimization check
2019-01-24 13:25:33 -06:00
Cruz Monrreal
7c4668cfe9
Merge pull request #9291 from j3hill/QSPI_Align
...
NRF5x: QSPI SFDP read, min read/write implementation
2019-01-24 13:25:05 -06:00
Oren Cohen
e1af45b3b3
Skip redundant binaries
2019-01-24 19:43:05 +02:00
Kevin Gilbert
ecdd1d7cb3
Add empty en_phonet.
...
Required to run with aspell and comply with license changes
2019-01-24 11:34:14 -06:00
Martin Kojtal
32e247d06f
travis: remove phonedat database
...
Not permissive license
2019-01-24 12:28:22 +00:00
Martin Kojtal
81f9cdae0b
realtek: revert license change
...
While updating the file in the commit b06553fa25
, the license was changed. This comimt restores the license back to the original one - Apache 2.0
2019-01-24 12:20:20 +00:00
offirko
0bf071809c
Start test by formatting SD Card, otherwise FATFS mount might fail
...
Fix Jira: IOTSTOR-752
2019-01-24 12:44:04 +02:00
Maciej Bocianski
a1311f813c
ARCH_PRO: add SPI pin definitions
2019-01-24 09:20:29 +01:00
Przemyslaw Stekiel
af02b23bf7
Fix for Issue #7308 (Deep_sleep_lock Ticker.h Issue)
2019-01-24 08:22:24 +01:00
Cruz Monrreal
df9ac85cbb
Merge pull request #9453 from u-blox/requirement_update
...
mbed-host-tests minimum requirement set
2019-01-23 22:48:56 -06:00
Cruz Monrreal
7bdc280ced
Merge pull request #9437 from deepikabhavnani/preprocess_asm
...
FPU_USED to be set based on HW FPU support + Squash commits
2019-01-23 22:48:21 -06:00
Cruz Monrreal
f790fdd1cd
Merge pull request #9421 from VeijoPesonen/feature-esp8266_nonblocking_connect
...
ESP8266: implements possibility to decide between non-blocking/blocking connect.
2019-01-23 22:47:51 -06:00
Cruz Monrreal
0c6f0e4f49
Merge pull request #9368 from lrusinowicz/psoc6_serial_fixes
...
PSOC6: Fixes for serial hal driver, asynchronous mode.
2019-01-23 22:47:32 -06:00
Cruz Monrreal
b0b4013dde
Merge pull request #9302 from yossi2le/yossi_add_trng_checkup_devicekey
...
Add TRNG checkup in devicekey
2019-01-23 22:47:08 -06:00
Senthil Ramakrishnan
d0b95031c5
Print crash report reboot messages only for non-release builds
2019-01-23 17:40:05 -06:00
j3hill
2a72bb67a3
NRF5x: QSPI SFDP read implementation
2019-01-23 10:24:02 -06:00
j3hill
e9f08cb4d4
NRF5x: min read/write implementation
2019-01-23 09:55:27 -06:00
Veijo Pesonen
a6d4c6b609
L3IPInterface: make inheriting virtual explicit
2019-01-23 17:04:42 +02:00