Bartek Szatkowski
1b7a15501c
RTX: Fixed RTXv5 mutex owner list handling.
...
The prev-pointer of the running threads mutex list was not set when
multiple mutexes are acquired at a time. This leads to a corrupted list
if the mutexes are not freed in reversed order.
Original commit for CMSIS_5:
commit 729f6ab08540342b7de7612fac103539d5b2f168
Author: Jonatan Antoni <jonatan.antoni@arm.com>
Date: Wed Apr 19 15:38:43 2017 +0200
2017-07-03 11:47:02 +01:00
Andrzej Puzdrowski
e161088dc5
remove hardcode uart pins definition for nRF52 SoCs
...
Each boards define its own pins.
2017-07-03 11:47:01 +01:00
jeromecoutant
4952451dff
STM32 : targets.json file simplification
...
"FAMILY_STM32" has been creeated with all common features.
All STM32 devices can now inherit from it.
This will simplify readability and maintainability.
2017-07-03 11:47:01 +01:00
bcostm
edf99af59b
DISCO_L475VG_IOT01A: Add missing nvic_addr.h file
2017-07-03 11:47:01 +01:00
bcostm
a2a7b9451b
DISCO_L475VG_IOT01A: Update system init for cmsis5
2017-07-03 11:47:00 +01:00
bcostm
07df260e96
DISCO_L475VG_IOT01A: Update toolchain files for cmsis5
2017-07-03 11:47:00 +01:00
jeromecoutant
fe162115cd
STM32 : mbed_overrides.c is common for all families
2017-07-03 11:47:00 +01:00
Christopher Haster
747fdec04e
bd: Add asserts on initialization in HeapBlockDevice
2017-07-03 11:47:00 +01:00
Christopher Haster
556f4161a5
bd: Fix missing init in MBRBlockDevice
2017-07-03 11:46:59 +01:00
Martin Kojtal
306fd2947c
cmain IAR: add mbed main
...
This fixes #4602 issue, mbed_main should be invoked right before the real main
2017-07-03 11:46:59 +01:00
Jimmy Brisson
16be3ff167
Fix style issues in IAR exporter
2017-07-03 11:46:59 +01:00
Vincent Coubard
ebb1689ad0
drivers: Mark non identity types as non copyable with the NonCopyable traits.
...
Classes changed: CAN, Ethernet, FlashIAP, I2C, InterruptIn, LowPowerTicker, LowPowerTimeout, LowPowerTimer, RawSerial, Serial, SerialBase, SPI, SPISlave, Ticker, Timeout, Timer, TimerEvent and UARTSerial.
2017-07-03 11:46:58 +01:00
Vincent Coubard
a7f958c0ff
drivers: Replace private copy constructor and Copy assignement operator by NonCopyable traits.
...
Modified classes are: BusIn, BusOut, BusInOut and InterruptManager.
2017-07-03 11:46:58 +01:00
Vincent Coubard
dfafc90fcd
event: Make the event queue non copyable.
2017-07-03 11:46:58 +01:00
Vincent Coubard
b1c5ca682b
rtos Thread: Remove private copy constructor and assignment operators in favor of the NonCopyable traits.
2017-07-03 11:46:57 +01:00
Vincent Coubard
45163dd8b4
rtos: Tag non value type as NonCopyable.
...
The types marked are: Mail, MemoryPool, Mutex, Queue, RtosTimer and Semaphore.
2017-07-03 11:46:57 +01:00
Vincent Coubard
e1bb30d10a
platform: Replace private copy constructor and copy assignement operator by a NonCopyable tag.
...
The class concerned by this change are: ATCmdParser, CallChain, FileBase and Stream.
2017-07-03 11:46:57 +01:00
Vincent Coubard
34810e2771
platform: Tag classes DirHandle, FileHandle, FileLike, FileSystemHandle, FileSystemLike, LocalFileHandle, LocalFileSystem and PlatformMutex as non copyable.
...
This avoid unwanted copy of these type which is a programming error.
2017-07-03 11:46:57 +01:00
Vincent Coubard
0e1dcd8bed
platform: Add NonCopyable class.
...
The NonCopyable template class avoid autogeneration of copy assignement
and copy construction function for classes inheriting from it.
2017-07-03 11:46:56 +01:00
jeromecoutant
3783556f53
STM32F4 set HSE timeout value to 100ms
2017-07-03 11:46:56 +01:00
adustm
451eb33ec7
Check that the HASH is not busy before save and restore iHW registers
2017-07-03 11:46:56 +01:00
adustm
7e864de0cc
handle context swap + change macro name
2017-07-03 11:46:55 +01:00
adustm
9a8f5a7ef3
replace 64 by define
2017-07-03 11:46:55 +01:00
adustm
73fe3455f8
Remove MBEDTLS_SHA1_C
2017-07-03 11:46:55 +01:00
adustm
1bea47d976
Remove tabs, fix doxygen comments
2017-07-03 11:46:54 +01:00
adustm
95beb43bda
Rework SHA1 update for buffer <4 bytes management
2017-07-03 11:46:54 +01:00
adustm
f4287fd7db
Handle 64 bytes buffers
2017-07-03 11:46:54 +01:00
adustm
3d3affadd2
Move MBEDTLS_SHA1_C from mbedtls_device.h to targets.json
2017-07-03 11:46:53 +01:00
adustm
284b230cc6
Improve memory management
2017-07-03 11:46:53 +01:00
adustm
726c313d56
Remove unneeded function declarations + include file Move include platform from sha1_alt.h to sha1_alt.c
2017-07-03 11:46:53 +01:00
adustm
57996887da
Better explanation of the use of mbedtls_sha1_context fields
2017-07-03 11:46:53 +01:00
adustm
bc3bf9f3f4
use mbedtls_zeroize instead of memset(xxx,0,xxx)
2017-07-03 11:46:52 +01:00
adustm
fbab24db6b
NUCLEO_F429ZI/mbedtls: add SHA1 hw_acceleration
2017-07-03 11:46:52 +01:00
bcostm
74361df787
DISCO_L072CZ_LRWAN1: Remove unused code
2017-07-03 11:46:52 +01:00
bcostm
2327be65a2
DISCO_L072CZ_LRWAN1: Add usb in build_travis.py
2017-07-03 11:46:51 +01:00
bcostm
6f2acf9721
DISCO_L072CZ_LRWAN1: Update HSI clock config for USB
2017-07-03 11:46:51 +01:00
bcostm
196b975f93
DISCO_L072CZ_LRWAN1: Add USB device configuration files
2017-07-03 11:46:51 +01:00
Marc Moreno Berengue
15c9effaf7
Update port api driver to add missing ports
...
This patch updates port api driver to add missing
ports.
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2017-07-03 11:46:51 +01:00
Marc Moreno Berengue
060fec4111
Update CMSDK_CM3DS.h
...
This patch updates CMSDK_CM3DS.h to remove the
DMA peripheral memory map and defines, as
that peripheral is not present in the system.
In addition, some define names where updated
concerning rtc. RTC_api was updated accordingly.
This patch also updates SMM_MPS2 to align defines and
comments.
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2017-07-03 11:46:50 +01:00
Marc Moreno Berengue
0e323d16fb
Add analogin driver for CM3DS MPS2 target
...
This patch adds analogin driver for
CM3DS MPS2 target.
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2017-07-03 11:46:50 +01:00
Marc Moreno Berengue
98d1c496e8
Add I2C driver for CM3DS MPS2 target
...
This patch adds the I2C driver for CM3DS MPS2 target.
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2017-07-03 11:46:50 +01:00
Marc Moreno Berengue
20b8f80e4e
Implement pin_function and gpio_set
...
This patch implements pin_function and gpio_set
with some fixes in the PinNames.
The patch also updates the serial and spi
drivers to use the pin_function.
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
2017-07-03 11:46:49 +01:00
bcostm
a7c23f12b7
NUCLEO_F767ZI: Add missing IAR definitions
2017-07-03 11:46:49 +01:00
Hasnain Virk
2e1fd1d2b4
Avoid lock collision b/w SerialBase & UARTSerial
...
Fixes issue #4537 . SerialBase and UARTSerial happened to have same names
for the mutex locking that confused the system of holding a mutex in interrupt context.
UARTSerial has to change so as to provide empty implementations for lock() and unlock()
becuase it uses SerialBase from interrupt context only or from its own critical section,
so no extra locks required.
Private locks for UARTSerial itself are renamed to api_lock() and api_unlock().
2017-07-03 11:46:49 +01:00
Jimmy Brisson
59839e03c7
Fill out remainder of LazyDict dict compatibility
2017-07-03 11:46:48 +01:00
Jimmy Brisson
11d0cd0e7a
Correct len and iter operators for LazyDict
2017-07-03 11:46:48 +01:00
Jimmy Brisson
abbf61adb7
Delay relative_to and win_to_unix operations over features
2017-07-03 11:46:48 +01:00
Jimmy Brisson
62d6d95e0f
Delay feature scan until it's rquired
2017-07-03 11:46:48 +01:00
Jimmy Brisson
8d78e7150e
Improve speed of .mbedignore processing
2017-07-03 11:46:47 +01:00
arostm
4eefbdb274
Fix_Issue_4404: add correction in PinNames.h
2017-07-03 11:46:47 +01:00