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
adustm
b929b54b7c
Replace 64 by MBEDTLS_SHA256_BLOCK_SIZE
2017-06-16 10:46:56 +02:00
andreas.larsson
a33f65d5f5
Updated binaries to 2.1 rc1
2017-06-16 10:44:16 +02:00
adustm
4976e2f3c7
Align SHA256 with MD5 and SHA1 implementation
...
This will solve Size <4 issues
2017-06-16 10:43:54 +02:00
adustm
0805876e0b
NUCLEO_F429ZI/mbedtls: add SHA256 hw_acceleration
2017-06-16 10:43:43 +02:00
Laurent MEUNIER
20bd774a6c
STM32 SPI specific mode for higher performance
...
This commit implements a SPI mode which will offer better performance
thanks to usage of Lower Layer API which use fewer registers access,
at the cost of lower robustness (no error management).
2017-06-16 10:23:48 +02:00
Christopher Haster
3934b30b58
events: Adopt osEventFlags from RTX 5
...
This provides the correct binary semaphore behaviour that was expected
by the equeue layer, removes concerns around semaphore overflow, and
reduces the number of spurious wakeups which may save a bit of power.
This also fixes some issues we were seeing around the RTX 5 changes
to semaphore behaviour.
2017-06-15 15:47:15 -05:00
Deepika
7e9ea9c665
Resolved format warnings: format '%d' expects argument of type 'int', but argument 3 has type 'u32_t[-Wformat=]
2017-06-15 15:20:26 -05:00
Deepika
1ece5ff8a8
Using size_t instead of integer type to resolve warning: comparison between signed and unsigned integer expressions
2017-06-15 14:59:24 -05:00
Deepika
9b5f5a5472
Typecasting to resolve warning: integer conversion resulted in a change of sign
2017-06-15 13:37:19 -05:00
Deepika
251fae34ac
Resolving: unused variable 'mode' [-Wunused-variable]. mode is used to determine kMCG_ModePEE in case of PEE to switch back manually as default after wakeup MCG is in PBE mode. this is required only when PEE mode is required
2017-06-15 12:14:04 -05:00
Deepika
35a436672b
Resolving warning: unused variable 'instance' [-Wunused-variable]
2017-06-15 12:09:50 -05:00
Deepika
8e1fe0a6b7
Added newline at end of file
2017-06-15 12:08:34 -05:00
Deepika
cc6de51688
Resolving warning: #2524-D: #pragma pop with no matching #pragma push : Pragma push for CC_ARM option is inside GNUC define, same hierarchy to be followed while pop
2017-06-15 12:07:02 -05:00
Deepika
9c9586a388
moving static at the start to resolve warning:'static' is not at beginning of declaration [-Wold-style-declaration]
2017-06-15 12:02:43 -05:00
Deepika
818f82c5bd
Typecasting to int to resolve warning:#68-D: integer conversion resulted in a change of sign
2017-06-15 11:50:52 -05:00
Marc Moreno Berengue
6b04bb364f
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-06-15 17:30:31 +01:00
Marc Moreno Berengue
8de4c5323f
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-06-15 17:30:31 +01:00
Marc Moreno Berengue
fabfc85d31
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-06-15 17:30:30 +01:00
Marc Moreno Berengue
985a2bb01d
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-06-15 17:30:30 +01:00
Marc Moreno Berengue
ef79cf68a7
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-06-15 17:30:30 +01:00
Sam Grove
226af545a4
Merge pull request #4510 from kegilbert/rearrange-odin-target-rebase
...
u-blox rearrange ODIN target
2017-06-15 11:20:48 -05:00
Sam Grove
f16ca562db
Merge pull request #4516 from theotherjimmy/filname-ci
...
Check for correct library naming in Travis CI
2017-06-15 11:20:32 -05:00
Sam Grove
109269da9c
Merge pull request #4414 from tkaman/master
...
Enable CM3DS_MPS2 target
2017-06-15 11:20:09 -05:00
Sam Grove
74b6e8cc4c
Merge pull request #4530 from bridadan/verbose_example_build
...
Enable verbose builds when running example build tests
2017-06-15 11:19:08 -05:00
Sam Grove
9787c5aff7
Merge pull request #4542 from NXPmicro/Update_K82_UART_Clock_Init
...
Issue#4528 K82F: Move the UART clock inititialization to board specif…
2017-06-15 11:18:47 -05:00
Sam Grove
d7c5be26ef
Merge pull request #4544 from theotherjimmy/export-static-files
...
Export static files from mbed export
2017-06-15 11:18:28 -05:00
Sam Grove
c3f4130e99
Merge pull request #4545 from theotherjimmy/uvision-whitelist
...
Filter support with a white list of post-bin hooks in uvision
2017-06-15 11:17:38 -05:00
Anna Bridge
a6828bbc6b
Merge pull request #4566 from 0xc0170/fix_mbed2_failures
...
Fix mbed2 failures
2017-06-15 14:54:16 +01:00
Rob Meades
fdf8a7980f
Platform support for OnboardCellular modem and u-blox cellular interface drivers. This change allows the u-blox C027 and C030 boards to use both the mbed-os OnboardCellular modem driver and the u-blox cellular interface drivers (which support both PPP and AT data modes).
2017-06-15 14:32:09 +01:00
Martin Kojtal
dad71c4268
cmsis: add core_ca9 for backward compatibility
...
cmsis 5 does not include it but as mbed 2 requires this, we will bring this file
back. This brings back few other dependencies, that we add only for cortex-a.
Once cortex-a gets cmsis5 and rtx2 support it will be updated.
2017-06-15 13:08:48 +01:00
Martin Kojtal
0f61af58a2
ncs36510: timer.h rename
...
This fixes an issue as Timer.h is mbed file, thus if this file gets included first,
causes failures.
2017-06-15 12:15:00 +01:00
Martin Kojtal
db71029eb7
targets: micronfcboard should add macros, not overwrite
2017-06-15 12:09:05 +01:00
Yuguo Zou
0de89c7712
Add FlashIAP support for REALTEK_RTL8195AM
2017-06-15 16:27:08 +08:00
Russ Butler
fc18250b1f
Increase background stack size to fix overflow
...
Bump the background stack size to 512 bytes to fix stack overflows on
the NRF52 and so it is the same size as it was before the switch to
RTX5.
2017-06-14 17:31:52 -05:00
Christopher Haster
d7fe4ff599
fatfs: Fixed initialization of block device in mount/unmount functions
...
At some point the "mount" parameter for "f_mount" was name "force". This
led to a bit of confusion that ended with the default mount function
never calling block device init.
This is fine, since the block device can be manually initialized, but
a better user experience is where the filesystem initializes the block
device for the user.
This is backwards compatible due to the repeatability of the block
device init functions.
2017-06-14 16:35:15 -05:00
Christopher Haster
f158d81aab
fatfs: Removed unused fat_filesystem_set_errno function
...
At some point this was replaced by fat_error_remap
2017-06-14 15:29:30 -05:00
Andreas Larsson
6a270fb348
Moved ODIN target files into STM32F439xI folder to avoid duplicate code
2017-06-14 13:21:04 -05:00
Sam Grove
ee864cdd7b
Merge pull request #4543 from c1728p9/fix_stm_nvic
...
Fix STM32 crashes on boot due to unset VTOR
2017-06-14 10:47:53 -05:00
Laurent MEUNIER
73eebaad19
NUCLEO_L476RG: FLASH size of 1MB, not 2MB
...
MBED_APP_SIZE was erroneously defined to 2MB for this target,
while it's only 1MB.
2017-06-14 16:52:08 +02:00
Laurent MEUNIER
1d802028cf
NUCLEO_L476RG: GCC_ARM ld file fix
...
Following
Merge pull request #4063 from LMESTM/17q2_L4_bootloader
the NUCLEO_L476RG binairies could not boot anymore.
The change done in #4063 was derived from work on NUCLEO_L429ZI target
which supports uvisor. The VECTORS defintiion is introduced as part of
uvisor support and requires further changes in ld file which were missing.
As uvisor is not considered yet, we remove VECTORS for now and will
introduce only when needed.
2017-06-14 16:48:29 +02:00
bcostm
a5240d25e2
NUCLEO_F767ZI: Add missing IAR definitions
2017-06-14 15:16:11 +02:00
Brian Daniels
1db46c1df7
Sort the config parameters before printing them
2017-06-13 16:36:21 -05:00