Commit Graph

12035 Commits (399b6acfb1089d8cc55a399dfa3905b199d03ada)

Author SHA1 Message Date
toyowata aa334b0d3e [HAL LPC11Uxx] Fix mask bits for SPI clock rate 2017-08-09 16:51:31 +09:00
toyowata fdc071d5e8 [HAL LPC11U6x] Fix mask bits for SPI clock rate 2017-08-09 16:51:31 +09:00
toyowata 9ad17b21a2 [HAL LPC176x] Fix mask bits for SPI clock rate 2017-08-09 16:51:31 +09:00
Martin Kojtal 744c364683 STM mbedtls: clear algo value for md5/sha1 and sha256
The hw block for mbedtls is shared, thus HASH algo value should be cleared
in the init.
2017-08-09 07:45:20 +01:00
Martin Kojtal d92e4b5fcd STM32F4: remove md5 from the mbedtls config file 2017-08-09 07:45:20 +01:00
adustm 85c8bf87a1 Add a check 'non busy' status of the HW before save restore procedures 2017-08-09 07:45:20 +01:00
adustm f033c87640 Handle context swap + Modify macro name ST_MD5_BLOCK_SIZE 2017-08-09 07:45:20 +01:00
adustm 9572183b87 Remove MBEDTLS_MD5_C 2017-08-09 07:45:20 +01:00
adustm de2899279e Move MBEDTLS_MD5_C from mbetdls_device.h to targets.json 2017-08-09 07:45:20 +01:00
adustm 766e451c88 Replace 64 by a define 2017-08-09 07:45:19 +01:00
adustm 53a8b75e4e Improve md5 buffer storing concept 2017-08-09 07:45:19 +01:00
adustm d39d52b042 Fix use case with size = 0 (md5_selftest #1) 2017-08-09 07:45:19 +01:00
adustm b2092f072f Handle 64bytes per 64 bytes
+ remove unused includes files
2017-08-09 07:45:19 +01:00
adustm 29114f1a56 Remove unused variables in mbedtls_md5_context + remove unnecessary ifdef
__cplusplus
2017-08-09 07:45:19 +01:00
adustm e126975d91 Remove unnecessary functions in md5_alt.h file 2017-08-09 07:45:19 +01:00
adustm c174191eb9 Move MBEDTLS_MD5_C define from mbedtls_device.h to targets.json 2017-08-09 07:45:19 +01:00
adustm bd1c4f5c62 NUCLEO_F756ZG/mbedtls : MD5 hw activation 2017-08-09 07:45:18 +01:00
Martin Kojtal 0eb4cf0da9 Add cortex-a cache file
Fixes #4759

This was removed during cmsis5 update. Here is original file:
https://github.com/ARMmbed/mbed-os/blob/mbed-os-5.4/cmsis/TOOLCHAIN_IAR/TARGET_CORTEX_A/cache.S and
https://github.com/ARMmbed/mbed-os/blob/mbed-os-5.4/cmsis/TOOLCHAIN_GCC/TARGET_CORTEX_A/cache.S
2017-08-09 06:49:58 +01:00
Yogesh Pande 02ec6530f4 Updating mbed-coap to version 4.0.8
Fixes errors reported in Github

 - #4798
   - Fixed Lwm2m blockwise data transfer (using Block1 option) with Leshan
 - ARMmbed/mbed-client#512
   - Fixed an ongoing blocktransfer (Block 1 option) interruption by out of order Block to return error 4.08 Request Entity Incomplete as specified in the coap specification.
 - ARMmbed/mbed-client#511
   - Fixed detected duplicate message duplications will not stop mbed-client
2017-08-08 05:04:56 -07:00
Martin Kojtal 4a99b3bbbc Merge pull request #4868 from 0xc0170/fix_ublox_nina_flash
STM32F437: remove flash api implementation
2017-08-08 12:18:22 +01:00
Martin Kojtal f200db3e84 STM32F4: fix for 2nd back sector
Use ADDR_FLASH_SECTOR_12 as this is defined by target (the flash size varies, for
instance for some F437xx is up to 2MB (2nd bank might not be there)).
2017-08-08 09:50:19 +01:00
Seppo Takalo a2c4426965 Allow using of malloc() for reserving the Nanostack's heap.
Some devices have RAM memory split into two sections.
This becames a problem for GCC based toolchains as they don't
support splitting .bss or .data sections into two memory parts.
When we run out of memory from .bss sections, allocating the stack
by malloc() allows it to be moved to .data section which might already
be in the second memory section. For example KW24D platform.
2017-08-08 11:20:22 +03:00
ccli8 1e023093a0 [M487] Update CMSIS packs 2017-08-08 11:07:07 +08:00
Martin Kojtal c7dd95d9b8 STM32F437: remove flash api implementation
STM32F4 already contains generic flash api implementation, use it.
2017-08-08 00:13:47 +02:00
Christopher Haster 4cad764162 Added copyright header to all tests 2017-08-07 12:02:33 -05:00
Jimmy Brisson 0e1c20d8e7 Merge pull request #4854 from adustm/STM32F412_flash_boot
NUCLEO_F412ZG add flash driver and bootloader support
2017-08-07 10:28:14 -05:00
Jimmy Brisson 9c81ba8766 Merge pull request #4835 from u-blox/c030_bootloader
Add bootloader support for the UBLOX_C030 platforms.
2017-08-07 10:27:56 -05:00
Jimmy Brisson a81783e177 Merge pull request #4752 from bulislaw/queue_tests
RTOS: Queue tests & docs rework
2017-08-07 10:27:11 -05:00
Jimmy Brisson 294d7e7b41 Merge pull request #4690 from 0xc0170/us_ticker_test
test: add us ticker test
2017-08-07 10:26:54 -05:00
Jimmy Brisson ea94293bcd Merge pull request #4162 from adustm/STM_sha256_f756zg
NUCLEO_F756ZG/mbedtls: Add hw acceleration for SHA256
2017-08-07 10:25:56 -05:00
Jan Jongboom f9d0304a81 SAM_CortexM0P HAL accesses uninitialized memory
Uses uninitialized memory in I2C, and accesses an out of band array in pwmout
2017-08-07 11:15:48 +02:00
Yuguo Zou f24a40906a Use placement new to optimize wifi scan 2017-08-07 11:23:30 +08:00
Marcelo Salazar 5469be4de0 Fix to generate memory_usage key in report 2017-08-06 14:03:09 +01:00
Marcelo Salazar 7053ef9412 memap enhancements with depth level configurable
Removed heap/stack from report
Add --stats-depth option to mbed compile
Fix minor issues identified in review
Fix bug when parsing armcc libs
Fix code style
Fix minor issues on existing tests
Fix memap for automated TESTS
Fix stats-depth parameter for tests
2017-08-06 10:30:04 +01:00
bcostm 6b721d345a DISCO_L475VG_IOT01A: Add support of USBHost 2017-08-04 13:19:13 +02:00
adustm 9d0e9dd8de Move DEVICE_FLASH define to avoid compilation issues for non FLASH devices 2017-08-04 10:09:27 +02:00
adustm 44c8d16243 Add bootloader support 2017-08-03 15:07:14 +02:00
adustm 8bd7b595d8 Move flash_api.c to STM32F4 level + add flash_data.h for STM32F412 device
add FLASH to targets.json
2017-08-03 14:14:05 +02:00
Jan Jongboom 54929f6aee STM32F4_HAL_MMC erase command check is wrong. == has higher precedence than & 2017-08-03 13:03:36 +02:00
ccli8 f8af225dda [M487] Remove support for uVisor core debug message via STDIO
This is necessary. Otherwise, program will hang in uninitialized STDIO UART because uVisor core doesn't enable it.
2017-08-03 18:48:31 +08:00
Jan Jongboom c921717ba7 Add list of defines to vscode exporter 2017-08-03 12:44:40 +02:00
Mika Leppänen 02069f1a09 Added contributing document. 2017-08-03 11:49:44 +03:00
ccli8 04578b6a11 [M487] Add back device_name in target description 2017-08-03 13:53:48 +08:00
ccli8 9ac0d90937 [M487] Move target configuration from mbed_lib.json to targets.json 2017-08-03 13:40:32 +08:00
ccli8 afb5aba8d9 [M487] Fix compile warnings with IAR toolchain 2017-08-03 13:33:17 +08:00
ccli8 99d12b1eb8 [M487] Fix compile warnings with GCC_ARM toolchain 2017-08-03 11:10:15 +08:00
ccli8 b31d6f6eaa [M487] Fix compile warnings with ARM toolchain 2017-08-03 09:24:05 +08:00
Martin Kojtal acdd7dd424 Merge pull request #4837 from theotherjimmy/fix-export-builds
Correct supported check in exporter tests
2017-08-02 09:17:49 +01:00
Jimmy Brisson 8b31078d58 Add missing collect_include passing 2017-08-01 10:29:11 -05:00
Jimmy Brisson ca0c2a8d92 Correct supported check in exporter tests 2017-08-01 09:52:57 -05:00