Commit Graph

11667 Commits (10e14d0ca1dbeba4f1842f1331966d9546bbe6cd)

Author SHA1 Message Date
Jan Jongboom 1125294fdd STM32F4_HAL_MMC erase command check is wrong. == has higher precedence than & 2017-08-11 14:16:33 +01:00
Mahadevan Mahesh a937ccb1a9 mbed exporter: Add IAR support for various NXP platforms
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-08-11 14:16:33 +01:00
Alexander Zilberkant b9eb0da67d Fix CDT debugger settings on Linux - remove .exe suffix
On Linux machines arm-none-eabi-gdb executable do not have .exe suffix.
On Windows machines - it is possible to run an executable without explicit .exe suffix.
This change fixes debugger settings for Linux hosts
2017-08-11 14:16:33 +01:00
Alexander Zilberkant 6b0fa85364 Rename Eclipse .launch file according to project name
Since Eclipse supports working with multiple projects in the same workspace, .launch file name
should include project name for creating unique per-project .launch file.
2017-08-11 14:16:33 +01:00
Alexander Zilberkant 6904f84337 Remove unused Python imports 2017-08-11 14:16:33 +01:00
JojoS a77182edcc verify libname before stripping 2017-08-11 14:16:33 +01:00
JojoS be72993ee2 fix unresolved linker msg: __wrap_
adding  libraries to gcc linker group command
2017-08-11 14:16:33 +01:00
Yogesh Pande 5bc33afed2 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-11 14:16:33 +01:00
Martin Kojtal 10c5138849 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-11 14:16:33 +01:00
Martin Kojtal b77d90573d STM32F4: remove md5 from the mbedtls config file 2017-08-11 14:16:33 +01:00
adustm 9e8c8d695d Add a check 'non busy' status of the HW before save restore procedures 2017-08-11 14:16:33 +01:00
adustm 9b59f00958 Handle context swap + Modify macro name ST_MD5_BLOCK_SIZE 2017-08-11 14:16:33 +01:00
adustm c4085f5b03 Remove MBEDTLS_MD5_C 2017-08-11 14:16:33 +01:00
adustm d4d7dad045 Move MBEDTLS_MD5_C from mbetdls_device.h to targets.json 2017-08-11 14:16:33 +01:00
adustm 11c7906546 Replace 64 by a define 2017-08-11 14:16:33 +01:00
adustm 5d6f132d2d Improve md5 buffer storing concept 2017-08-11 14:16:33 +01:00
adustm 77ac355864 Fix use case with size = 0 (md5_selftest #1) 2017-08-11 14:16:33 +01:00
adustm 2d83ea6136 Handle 64bytes per 64 bytes + remove unused includes files 2017-08-11 14:16:33 +01:00
adustm 166a130e5d Remove unused variables in mbedtls_md5_context + remove unnecessary ifdef __cplusplus 2017-08-11 14:16:32 +01:00
adustm 0060d8bbd0 Remove unnecessary functions in md5_alt.h file 2017-08-11 14:16:32 +01:00
adustm 58a1c69600 Move MBEDTLS_MD5_C define from mbedtls_device.h to targets.json 2017-08-11 14:16:32 +01:00
adustm b84f5d1d7d NUCLEO_F756ZG/mbedtls : MD5 hw activation 2017-08-11 14:16:32 +01:00
Mahadevan Mahesh 9bfe68cc07 K64F: Update the DSPI SDK driver to support the new API to change DUMMY_DATA
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-08-11 14:16:32 +01:00
Martin Kojtal 3efdbc018a 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-11 14:16:32 +01:00
Martin Kojtal 72587feb64 STM32F437: remove flash api implementation
STM32F4 already contains generic flash api implementation, use it.
2017-08-11 14:16:32 +01:00
adustm a321d0d712 Move DEVICE_FLASH define to avoid compilation issues for non FLASH devices 2017-08-11 14:16:32 +01:00
adustm 508d91a385 Add bootloader support 2017-08-11 14:16:32 +01:00
adustm a15f931512 Move flash_api.c to STM32F4 level + add flash_data.h for STM32F412 device add FLASH to targets.json 2017-08-11 14:16:32 +01:00
Rob Meades 0d0f9bf73b Add bootloader support for the UBLOX_C030 platforms. 2017-08-11 14:16:32 +01:00
Bartek Szatkowski 7d65a393c3 Tests: RTOS: Queue: Rework and extend tests 2017-08-11 14:16:32 +01:00
Bartek Szatkowski 0fc7e19a05 RTOS: Queue: Improve API docs 2017-08-11 14:16:32 +01:00
Martin Kojtal 2610717ad0 test: add hal ticker test (us + lp tickers)
This test exercises ticker API
- init should be executed just once
- read timestamp

Set interrupt should be tested via upper layer, as it does not provide
API to change handler that is invoked in the ISR ticker handler.
2017-08-11 14:16:32 +01:00
adustm 5d7e2902d2 NUCLEO_F756ZG/mbedTLS: sha256 hw acceleration 2017-08-11 14:16:32 +01:00
andreas.larsson 149305ff87 Added HW acceleration for ODIN-W2 2017-08-11 14:16:32 +01:00
andreas.larsson 428fce0283 Renamed so that we have one configuration for all STM32F439 targets. 2017-08-11 14:16:32 +01:00
adustm b371bf463e Remove MBEDTLS_SHA1_C 2017-08-11 14:16:32 +01:00
adustm ab8819f4eb NUCLEO_F756ZG/mbedTLS : add hw acceleration for SHA1 2017-08-11 14:16:32 +01:00
Jesse Marroquin 5e686d7f8c Update BLE, fix sleep and open-drain LEDs in MAX326xx
MAX32630FTHR gets BLE, uses timer peripheral 5 for HCI timing
libexactLE update for 610,620
Fixup hal_sleep and hal_deepsleep for 620
LEDn outputs now forced to open-drain
2017-08-11 14:16:32 +01:00
Laurent MEUNIER ab78cfcd52 STM32: ADC: Fix PinMap_ADC_Internal
The instance needs to be searched in PinMap_ADC_Internal, not PinMap_ADC.
This was a copy paste error...
2017-08-11 14:16:30 +01:00
Laurent MEUNIER ef777a42f0 STM32: L0: adc struct member does not exist anymore 2017-08-11 14:16:30 +01:00
Laurent MEUNIER aa8c5557c2 STM32: F2: adc; struct member not needed
Same as other families applied here
2017-08-11 14:16:30 +01:00
Laurent MEUNIER fc6cbe9909 STM32: analogin: adc struct member not needed anymore
The adc in analogin_t has the same value as the Instance member of
ADC_HandleTypeDef. So we can only rely on the later one.
2017-08-11 14:16:30 +01:00
Laurent MEUNIER d79014f35a STM32: Analogin - define handle in object not as a global
In this commit, the analogin_s structure is moved to commonn_objects.h file
to limit the duplicaion.

The ADC handle is moved from a global variable to a struct member of the
analogin object. This allows multiple ADC instances to work correctly.

Note that State needs to be explicitely set to HAL_ADC_STATE_RESET
because the object is not zero initialized.
2017-08-11 14:16:30 +01:00
Jimmy Brisson 4c256f0459 Merge pull request #4824 from ARMmbed/release-candidate
Release candidate for mbed-os-5.5.4
2017-08-02 15:45:49 -05:00
Jimmy Brisson c511e96e01 Add missing collect_include passing 2017-08-02 09:45:21 +01:00
Jimmy Brisson abe3553f9c Correct supported check in exporter tests 2017-08-02 09:45:21 +01:00
Jimmy Brisson 1792f02dcf Collect ignores from scan resources and use in exporetrs 2017-08-02 09:45:21 +01:00
Martin Kojtal a0b2743606 Travis: fix install phase - not use sudo 2017-07-31 13:38:38 +01:00
Jaeden Amero 3e55bdc2c2 uVisor: Import v0.29.0 2017-07-31 13:37:31 +01:00
Jaeden Amero 8ff0c3953b uVisor: importer: Copy uvisor-tests pointer
This enables mbed-os and uvisor-tests to stay synchronized.
2017-07-31 13:37:18 +01:00