Commit Graph

13668 Commits (0a644d25e9060e4aa322548851aefda95f2b5552)

Author SHA1 Message Date
ccli8 cfbbd67a73 Support multiple contexts in AES alter. with context save & restore 2018-01-12 15:01:45 +00:00
ccli8 325c23e073 Fix AES DMA buffer cannot locate at ROM region 2018-01-12 15:01:45 +00:00
ccli8 796d1c696b Remove AES alter. dead code 2018-01-12 15:01:45 +00:00
ccli8 5cd3b98cf1 Fix AES alternative function not thread-safe 2018-01-12 15:01:45 +00:00
ccli8 cb8b449c46 Refine coding style 2018-01-12 15:01:45 +00:00
ccli8 646136c59f Refine coding style 2018-01-12 15:01:44 +00:00
ccli8 02ab1a05b0 Fix DES alternative function not thread-safe 2018-01-12 15:01:44 +00:00
ccli8 1b82cbdc91 Remove unnecessary MBEDTLS_CONFIG_FILE check from AES/DES/SHA alternative
1. aes.h/des.h/sha1.h/sha256.h/sha512.h includes config.h before aes_alt.h/des_alt.h/sha1_alt.h/sha256_alt.h/sha512_alt.h.
2. aes_alt.h/des_alt.h/sha1_alt.h/sha256_alt.h/sha512_alt.h should not be included in any other location.
3. Just include aes.h/des.h/sha1.h/sha256.h/sha512.h in aes_alt.c/des_alt.c/sha1_alt.c/sha256_alt.c/sha512_alt.c.
2018-01-12 15:01:44 +00:00
ccli8 70c50f2cb1 Remove other unnecessary AES alternative macro definitions
As MBEDTLS_AES_ALT is defined, alternative implementations for all AES functions should be defined.
2018-01-12 15:01:44 +00:00
ccli8 ca8ac443c6 Remove debug code in AES alternative 2018-01-12 15:01:44 +00:00
ccli8 e7d85cd56c Fix DES alternative function not thread-safe 2018-01-12 15:01:44 +00:00
ccli8 d1dab259ab Remove unnecessary MBEDTLS_CONFIG_FILE check from AES/DES/SHA alternative
1. aes.h/des.h/sha1.h/sha256.h/sha512.h includes config.h before aes_alt.h/des_alt.h/sha1_alt.h/sha256_alt.h/sha512_alt.h.
2. aes_alt.h/des_alt.h/sha1_alt.h/sha256_alt.h/sha512_alt.h should not be included in any other location.
3. Just include aes.h/des.h/sha1.h/sha256.h/sha512.h in aes_alt.c/des_alt.c/sha1_alt.c/sha256_alt.c/sha512_alt.c.
2018-01-12 15:01:44 +00:00
ccli8 d174e850ca Remove other unnecessary AES alternative macro definitions
As MBEDTLS_AES_ALT is defined, alternative implementations for all AES functions should be defined.
2018-01-12 15:01:44 +00:00
ccli8 5894775398 Remove debug code in AES alternative 2018-01-12 15:01:44 +00:00
Ashok Rao de0db52903 Adding license info 2018-01-12 15:01:44 +00:00
Ashok Rao 9c07a11a1b Add new line to EOF 2018-01-12 15:01:44 +00:00
Ashok Rao 0c132c57de Fixing indentation 2018-01-12 15:01:44 +00:00
Ashok Rao 2ead50c325 Adding MTB ublox ODIN W2 2018-01-12 15:01:44 +00:00
jeromecoutant 8a2a182bfe lp_timer test : add a minimum delta value 2018-01-12 15:01:44 +00:00
Dave Wu 37cc8a2876 Cleared data structures in analogin_init();
Set buffer for 1 sample in analogin_read_u16. Before it assumes the
buffer is set outside by the higher layer. Now it's temporarily
located on the stack since only the ADC value is returned.
2018-01-12 15:01:44 +00:00
bcostm eaf7077a9c STM32F3: Remove flash functions doc + typos 2018-01-12 15:01:44 +00:00
bcostm 5dbc668298 STM32F3: reset PGERR flash flag 2018-01-12 15:01:43 +00:00
bcostm 349056ca48 STM32F3: flash_api typos 2018-01-12 15:01:43 +00:00
bcostm a9a4cdd64d STM32F303xE: add FLASH support in targets.json 2018-01-12 15:01:43 +00:00
bcostm 3d90822ed2 STM32F3: add Flash api 2018-01-12 15:01:43 +00:00
Maciej Bocianski bb2028828f mem_trace tests refactoring 2018-01-12 15:01:43 +00:00
Andrzej Puzdrowski 5982972ba5 Enable tickless for nRF52840 2018-01-12 15:01:43 +00:00
Andrzej Puzdrowski db31ab08e4 Implementation of critical section primitives which can be called from diferent contexts.
Orginal nordic critical primitives must been called in pairs
from exacly the same function. As mbed hal call it in separate
methods, so they are not suitable here.
2018-01-12 15:01:43 +00:00
Andrzej Puzdrowski 22a7801c7e current critical section implementation makes possible that interrupt signals are lost. It was observed at last for tests-api-spi ci-test-shield's test.
This patch introduce usage of sdk5 origin implementation in which
sd_nvic_critical_region_enter/exit is calling each time critical region
is enter/exit. This fixes the issue.
2018-01-12 15:01:43 +00:00
jeromecoutant 02b5e52b23 STM32 uart: update after code review 2018-01-12 15:01:43 +00:00
jeromecoutant fba156a35a STM32 LPUART : update clock source depending on expected baudrate 2018-01-12 15:01:43 +00:00
jeromecoutant c841e4065d STM32 UART init update
- serial_init, serial_free and serial_baud function moved from serial_device.c (specific to each STM32 family) to serial_api.c (common STM32 file)
- default baudrate value was hardcoded to 9600
  - Value is set now to MBED_CONF_PLATFORM_STDIO_BAUD_RATE for STDIO
  - Value is set now to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE for other use
- UART init will not be stopped before calling serial_baud function
2018-01-12 15:01:43 +00:00
Mika Leppänen 3dc3201d26 Tests for wifi emac interface 2018-01-12 15:01:43 +00:00
amq 3d2894df82 Add missing device_name for targets with bootloader 2018-01-12 15:01:43 +00:00
bcostm c71e50ea8c STM32F1: Remove flash functions doc 2018-01-12 15:01:43 +00:00
bcostm 8589a21f44 STM32F0: Remove flash functions doc 2018-01-12 15:01:43 +00:00
bcostm 39d38eb245 STM32F0: Add Flash API support 2018-01-12 15:01:43 +00:00
bcostm 84dc7f82d5 STM32F1: Add Flash API support 2018-01-12 15:01:43 +00:00
Martin Kojtal eca67ca7da
Merge pull request #5767 from ARMmbed/release-candidate
Release candidate for mbed-os-5.7.2
2018-01-03 09:13:52 +00:00
adbridge 431b2d1b86 Revert "Supplement the lack of "extended RTC" in RZ_A1H/rtc_api.c"
This reverts commit 1bb2ca68ea.
2018-01-02 16:27:12 +00:00
adbridge 37641d7e88 Update Mbed version block for patch release 2018-01-02 15:22:05 +00:00
Martin Kojtal 97a61c43e3 VK RZ A1H: remove target from mbed 2 release
As it does not share the codebase with RZ A1H, it needs to be disabled until
bring it up to date with the latest changes to cmsis. There are changes
regarding caches, mmu and others
2018-01-02 15:22:05 +00:00
Martin Kojtal 54d12c8d74 VK RZ A1H: fix errors from the latest cmsis updates
Use mbed critical section
2018-01-02 15:22:05 +00:00
Martin Kojtal 7327e8e5e6 tools: cmsis and hal are build together
Build api used to build cmsis separately (how mbed 2 is being build). This is
currently not how cmsis is being defined. As there target dependencies in some
cases, we should include paths from targets when building cmsis
2018-01-02 15:22:04 +00:00
Martin Kojtal 89bc1a23ba Travis: add RZ_A1H target
Travis: dsp only for cortex-m
2018-01-02 15:22:04 +00:00
Martin Kojtal a83068cdf3 renesas: os tick only for rtos
As this is os tick implementation for rtos, it should not be compilied if rtos
not present (mbed 2)
2018-01-02 15:22:04 +00:00
andreas.larsson 404e8ed1a0 Added license header 2018-01-02 15:22:04 +00:00
andreas.larsson d95a2535d3 Added init for ODIN EVK LEDs to be off by default 2018-01-02 15:22:04 +00:00
Seppo Takalo bbe11de7e0 Remove destruction of WiFi interface in test runs
Most of our IP stacks don't allow removal of interfaces so
interface destructor can not reliably clean up. Therefore we
cannot rely its behaviours in test case.

Instead run interface->disconnect() in case interface was already
created.
2018-01-02 15:22:04 +00:00
Deepika 68da43c1c5 Access to serial device is allowed when DEVICE_SERIAL is defined 2018-01-02 15:22:04 +00:00