Vincent Coubard
4d5f805cde
rtos: Tag non value type as NonCopyable.
...
The types marked are: Mail, MemoryPool, Mutex, Queue, RtosTimer and Semaphore.
2017-06-20 16:23:44 +01:00
Vincent Coubard
7a1e2cfc9a
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-06-20 16:23:43 +01:00
Vincent Coubard
dcbcf64830
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-06-20 16:23:43 +01:00
Vincent Coubard
4f7943860a
platform: Add NonCopyable class.
...
The NonCopyable template class avoid autogeneration of copy assignement
and copy construction function for classes inheriting from it.
2017-06-20 15:49:16 +01:00
bcostm
cc47104059
DISCO_L072CZ_LRWAN1: Remove unused code
2017-06-20 16:12:32 +02:00
bcostm
e6a013fa35
DISCO_L072CZ_LRWAN1: Add usb in build_travis.py
2017-06-20 16:12:32 +02:00
bcostm
2d294495e1
DISCO_L072CZ_LRWAN1: Update HSI clock config for USB
2017-06-20 16:07:07 +02:00
bcostm
24d94c8425
DISCO_L072CZ_LRWAN1: Add USB device configuration files
2017-06-20 16:07:07 +02:00
Anna Bridge
810e16f88e
Merge pull request #4337 from u-blox/cellular_feature_br_ublox_pr1
...
Platform support for new CellularInterface in UBLOX_C027 and UBLOX_C030_U201.
2017-06-20 14:00:11 +01:00
Anna Bridge
c5e1fa70d9
Merge pull request #4242 from bcostm/dev_disco-l475-iot
...
DISCO_L475VG_IOT01A : Add new target
2017-06-20 11:41:42 +01:00
Anna Bridge
b30481d266
Merge pull request #4523 from hasnainvirk/eth_flag_lwip
...
Check Ethernet before including lwipopts_conf.h
2017-06-20 11:40:23 +01:00
Jimmy Brisson
c08864b588
Merge pull request #4444 from Archcady/lwip_issue
...
resolve lwip init twice issue
2017-06-19 18:28:49 -05:00
Jimmy Brisson
77b6127a71
Merge pull request #4579 from geky/rtos-unbreak-semaphore
...
RTOS: Fix semaphore
2017-06-19 15:32:48 -05:00
Jimmy Brisson
2e87f56a55
Merge pull request #4541 from theotherjimmy/fix-large-string
...
Fix a bug in print_large_string
2017-06-19 12:00:07 -05:00
Jimmy Brisson
b56d9f3df3
Merge pull request #4540 from theotherjimmy/export-app-config
...
Support app config option for export
2017-06-19 11:59:38 -05:00
Jimmy Brisson
1ffbdfc048
Merge pull request #4364 from mazimkhan/mbed-tls-test
...
Add C API for Greentea client
2017-06-19 11:58:47 -05:00
Jimmy Brisson
d8061216fe
Merge pull request #4563 from c1728p9/fix_stack_overflow
...
Increase background stack size to fix overflow
2017-06-19 11:04:51 -05:00
Jimmy Brisson
3f464217f1
Merge pull request #4554 from LMESTM/L476RG_ld_file
...
Fix NUCLEO_L476RG linker scripts
2017-06-19 11:04:10 -05:00
Jimmy Brisson
a6695ae5a8
Merge pull request #4504 from geky/gt-add-reserved-memory-reporting
...
greentea: Add reporting of reserved heap
2017-06-19 11:03:30 -05:00
Jimmy Brisson
e4bdedc7c2
Merge pull request #4562 from geky/fat-init-bd
...
fatfs: Fixed initialization of block device in mount/unmount functions
2017-06-19 11:02:52 -05:00
Jimmy Brisson
737a64c988
Merge pull request #4502 from LMESTM/issue_899
...
STM32: serial: clear Overrun flag if it is set when checking if readable
2017-06-19 11:00:23 -05:00
sarahmarshy
2abe6be5ba
Turn off "browse information" in Uvision template
...
"Browse information," or the indexer for MDK, causes extremely long
build times when enabled.
2017-06-19 10:44:23 -05:00
Christopher Haster
6b02ceab5d
rtos: Unbreak semaphore, trade assert for saturation with original limit
...
Before rtx 5, the max count on semaphores was UINT16_MAX, aftewards it
was decreased to 1024 with an assert on overflow.
This is especially problematic for semaphores used for signaling, since
there is no replacement currently available in C++.
2017-06-16 17:18:40 -05:00
Jimmy Brisson
bf1a69b9be
Fill out remainder of LazyDict dict compatibility
2017-06-16 15:52:30 -05:00
Jimmy Brisson
7513d4f897
Correct len and iter operators for LazyDict
2017-06-16 15:28:10 -05:00
Jimmy Brisson
27c55d5c8d
Delay relative_to and win_to_unix operations over features
2017-06-16 15:16:24 -05:00
Jimmy Brisson
85748dbd21
Delay feature scan until it's rquired
2017-06-16 14:58:58 -05:00
Jimmy Brisson
55801b619d
Improve speed of .mbedignore processing
2017-06-16 13:36:56 -05:00
Mike Fiore
1403dfc086
[XDOT_L151CC] enable HSI after waking from stop mode so ADC functions properly
2017-06-16 10:52:44 -05:00
andreas.larsson
e12efc073d
Moved u-blox ODIN-W2 cb_cert_utils.h to the correct place
2017-06-16 11:18:37 +02:00
Vincent Coubard
970ee38079
NRF52840: Adjust idle thread stack size.
...
A stack size of 256 bytes is not enough on the NRF52840, this patch
changes it to a size of 512 bytes.
2017-06-16 10:15:03 +01:00
Vincent Coubard
fd7eff202c
RTOS: Allow per target definition of OS_IDLE_THREAD_STACK_SIZE.
...
The stack required for the idle thread is highly dependent on the
target because it will call the sleep function which is target
specific.
While 256 bytes of stack is enough for most targets, others like the
NRF52840 might require more.
With this change, target maintainers can specify the idle thread stack
size in their mbed_rtx.h file.
2017-06-16 10:11:12 +01:00
adustm
e63912ff44
Check that the HASH is not busy before save and restore iHW registers
2017-06-16 11:03:50 +02:00
adustm
842791bef7
handle context swap + change macro name
2017-06-16 11:03:46 +02:00
adustm
85d68e32f7
replace 64 by define
2017-06-16 11:03:41 +02:00
adustm
fe94a0e269
Remove MBEDTLS_SHA1_C
2017-06-16 11:03:37 +02:00
adustm
b38eea2caf
Remove tabs, fix doxygen comments
2017-06-16 11:03:32 +02:00
adustm
c2a85fb12a
Rework SHA1 update for buffer <4 bytes management
2017-06-16 11:03:27 +02:00
adustm
ca65e01ffa
Handle 64 bytes buffers
2017-06-16 11:03:23 +02:00
adustm
dac9004684
Move MBEDTLS_SHA1_C from mbedtls_device.h to targets.json
2017-06-16 11:02:42 +02:00
adustm
85d549c902
Improve memory management
2017-06-16 11:02:38 +02:00
adustm
f26ae03e48
Remove unneeded function declarations + include file
...
Move include platform from sha1_alt.h to sha1_alt.c
2017-06-16 11:02:33 +02:00
adustm
996e093b77
Better explanation of the use of mbedtls_sha1_context fields
2017-06-16 11:02:29 +02:00
adustm
1695e9a7bb
use mbedtls_zeroize instead of memset(xxx,0,xxx)
2017-06-16 11:02:24 +02:00
adustm
ddd186cc61
NUCLEO_F429ZI/mbedtls: add SHA1 hw_acceleration
2017-06-16 11:01:43 +02:00
adustm
a27498c44a
Check HASH is not busy before save/resteore context
2017-06-16 10:48:41 +02:00
adustm
8ea9ca0af9
Add test of sha256_clone function
2017-06-16 10:47:45 +02:00
adustm
021b84a140
Handle context swapping + rename macro ST_SHA256_BLOCK_SIZE
...
Handle 64 bytes accumulation
2017-06-16 10:47:31 +02:00
adustm
f1704733af
Remove trailing whitespace
2017-06-16 10:47:18 +02:00
adustm
80b58614a2
SHA256: get ready to return error codes
2017-06-16 10:47:07 +02:00