Commit Graph

8183 Commits (448205ac877f92817bb3fb5ea09b1554693cf203)

Author SHA1 Message Date
Sam Grove b67e1f7564 Merge pull request #2765 from 0xc0170/dev_rng_hal
RNG HAL addition
2016-09-27 07:53:49 -07:00
bcostm 89430b95bb Remove extra spaces 2016-09-27 16:35:34 +02:00
Mike Fiore 1b8cb3ca76 [XDOT_L151] include xDot in mbed 5 releases 2016-09-27 08:48:08 -05:00
jeromecoutant 2db0938d67 [STM32F410RB] update OS5 RTOS thread test 2016-09-27 15:04:27 +02:00
jeromecoutant dfbb5675ed [STM32F429ZI] INITIAL_SP correction 2016-09-27 14:39:20 +02:00
Głąbek, Andrzej d0eed52cde Removed waiting for TX completed from 'serial_putc()', moved it to 'serial_init()' to allow passing tests MBED_37/38. 2016-09-27 14:03:42 +02:00
jeromecoutant 52f70b06d0 [STM32F091RC] patch for tests-mbedmicro-rtos-mbed-threads 2016-09-27 10:59:34 +02:00
Martin Kojtal 1b95c67dd2 mbedtls trng - remove MBEDTLS_ENTROPY_HARDWARE_ALT
MBEDTLS_ENTROPY_HARDWARE_ALT will be defined via config in mbedtls,
the mbed wrapper should use DEVICE_TRNG.
2016-09-27 09:16:28 +01:00
Martin Kojtal ef58562ad0 targets - add TRNG device_has to STM32F7 targets 2016-09-27 09:14:48 +01:00
Martin Kojtal 1f8da7da34 mbedtls - move TRNG mbed impl into platform folder 2016-09-27 09:14:42 +01:00
Martin Kojtal 88b2220548 TRNG HAL - fix length doc wording for get_bytes 2016-09-27 09:14:37 +01:00
Martin Kojtal 48544fc6eb HAL TRNG - add dummy variable to empty structs
Otherwise it's implementation specific, IAR fails to compile.
2016-09-27 09:14:31 +01:00
Martin Kojtal f8c6c23ced TRNG - protect HAL implementation if DEVICE_TRNG is not defined 2016-09-27 09:14:26 +01:00
Martin Kojtal 9048113562 TRNG - remove set seed function 2016-09-27 09:14:21 +01:00
Martin Kojtal ea1041ea36 HAL - RNG rename to TRNG 2016-09-27 09:13:59 +01:00
Martin Kojtal da1b423685 HAL - rng nuvoton cleanup code style 2016-09-27 08:51:53 +01:00
Martin Kojtal a225bafdbb RNG - fix warnings due to obj not used for some targets 2016-09-27 08:51:51 +01:00
Martin Kojtal e8ca16dde7 RNG - rename rng_get_numbers to rng_get_bytes 2016-09-27 08:51:49 +01:00
Martin Kojtal ee344abd34 mbedtls - mbed wrapper rename to mbed_rng 2016-09-27 08:51:47 +01:00
Martin Kojtal 1d9cacbbd2 HAL: Add rng set seed value function 2016-09-27 08:51:45 +01:00
Martin Kojtal 5e351c201a NUMAKER_PFM_NUC472: Add RGN HAL API implementation 2016-09-27 08:51:42 +01:00
Martin Kojtal 72fac611f2 STM32F4/F7: Add RNG HAL implementation 2016-09-27 08:51:40 +01:00
Martin Kojtal 02fd613a81 k66f: add RNG HAL implementation 2016-09-27 08:51:37 +01:00
Martin Kojtal 7d68492bef mbedtls: add wrapper for mbed hw poll
This wrapper uses RNG HAL API
2016-09-27 08:51:34 +01:00
0xc0170 132a5bbff3 k64f: add RNG HAL implementation
Replaces old mbedtls entropy file, to use new RNG HAL API.
2016-09-27 08:51:31 +01:00
0xc0170 6da5515e1c HAL: add RGN API
Provides init, free and get numbers functions.
2016-09-27 08:51:26 +01:00
Mike Fiore 4820c87c68 [XDOT_L151] add SWD & UART pin names to match pinout diagram 2016-09-27 00:13:08 -07:00
Mike Fiore a93b7d2651 [XDOT_L151] add RTOS configuration for xDot 2016-09-27 00:13:08 -07:00
Mike Fiore 1f40f3de97 [XDOT_L151] initial SP for ARM_STD build was set to 0x2008000 instead of 0x20008000 & caused DAPLink to reject FW 2016-09-27 00:13:08 -07:00
Mike Fiore 7836c6eaf1 rebase support for MultiTech xDot platform
[XDOT_L151] copy new target CMSIS files from NZ32_SC151 target

[XDOT_L151] remove Modtronix code, add HardFault_Handler, update clock configuration to match xDot hardware

[XDOT_L151] copy new target HAL files from NZ32_SC151 target

[XDOT_L151] update HAL to match xDot hardware

[XDOT_L151] add xdot_eeprom.* and xdot_low_power.* files

[XDOT_L151] add RTOS support for target

Conflicts:
	rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c

[XDOT_L151] match NUCLEO_L152RE startup code for GCC_ARM so RTOS works

[XDOT_L151] fix GPIO write failure

[XDOT_L151] add XDOT_L151CC target to targets.json

[XDOT_L151] change xDot default stack size to 256 bytes and main stack size to 1.5kB

[XDOT_L151] update PinNames.h to match rev E hardware - no change to external pinout

[XDOT_L151] update style in custom xDot HAL files

Conflicts:
	rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h
	rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c
2016-09-27 00:13:08 -07:00
Vincent Coubard 815551380f TARGET_NRF51_DONGLE_LEGACY - Add NRF51_DONGLE to the list of paths available for this target. 2016-09-26 23:56:33 -07:00
Vincent Coubard 46ab3cab79 NRF51_DK_LEGACY: Add the path TARGET_NRF51_DK to the list of available paths.
This fix the build of this target.
2016-09-26 23:56:33 -07:00
Vincent Coubard d61ab652de NRF51_DONGLE - remove ANALOGIN from the list of capabilities. 2016-09-26 23:56:33 -07:00
Vincent Coubard 8f79b6dbc8 NORDIC - Update NRF51_DONGLE target to takes advantage of the NRF5 implementation
of BLE and device drivers.
2016-09-26 23:56:33 -07:00
Vincent Coubard 9dd0c672ca HAL - Add a newline at the end of hal/api/Callback.h.
This remove a warning issued by ARMCC.
2016-09-26 23:10:24 -07:00
Milosch Meriac 5d6c316597 uVisor: Enforce thread switch atomicity
The system hook thread_switch gets called both through the SVC and
though the PendSV, which can get interrupted by the SVC.
Since calls to the uVisor API are not re-entrant, we need to wrap this
function in an atomic section to prevent faults.
2016-09-26 23:09:36 -07:00
Sarah Marsh d166c9a1bf Removed --no_static_destruction from IAR IDE flags 2016-09-26 23:08:56 -07:00
svastm 9f85f77001 STM32F7 - Add low power timer
Enable the low power timer for the following targets:
 - NUCLEO_F746ZG
 - NUCLEO_F767ZI
 - DISCO_F746NG
 - DISCO_F767ZI
2016-09-26 21:34:07 -07:00
svastm 49335577e1 STM32F7 - Add low power timer 2016-09-26 21:34:07 -07:00
Sam Grove 5310c2e2cd Merge pull request #2762 from svastm/lp_timer_l0
STM32L0 - Add low power timer
2016-09-26 21:33:27 -07:00
Sam Grove 7a3594cf8a Merge pull request #2817 from geky/callback-fix-misname
callback - Fixed parameter misname
2016-09-26 13:12:06 -05:00
Vincent Coubard 8070468b58 GREENTEA - Fix warning about unused function in greentea_metrics.cpp.
This change isolate properly functions and variable declared when
MBED_STACK_STATS_ENABLED is on.
2016-09-26 17:32:23 +01:00
Vincent Coubard 90496ed5dc UTEST - Fix warning by removing unreachable statement.
Some compiler will trigger warnings if code is located after the exit function
because this function never returns (by the standard...).
2016-09-26 17:05:03 +01:00
Vincent Coubard 25148af3a2 UTEST - Fix warning in utest_shim.cpp by removing unreachable statement. 2016-09-26 17:02:01 +01:00
jeromecoutant 9453aec847 Patch for GCC and IAR compilation 2016-09-26 18:01:02 +02:00
Vincent Coubard 0b94aae00b GREENTEA - Fix warning by adding empty line at the end of greentea_serial.cpp. 2016-09-26 16:58:35 +01:00
Vincent Coubard f150f4f5e0 GREENTEA - fix warning by removing unreachable statement. 2016-09-26 16:56:28 +01:00
Vincent Coubard ed4889c79f GREENTEA - Fix a warning due to the absence of an empty line at the end of greentea_serial.h 2016-09-26 16:48:27 +01:00
Christopher Haster c3e0569768 callback - Fixed parameter misname
Problematic line:
memcpy(&_func, obj, sizeof obj);

Should be:
memcpy(&_func, method, sizeof method);

Introduced during renaming of callback arguments for clarity:
https://github.com/ARMmbed/mbed-os/pull/2794
2016-09-26 10:08:39 -05:00
svastm e319d903ab STM32L0 - Enable the low power timer
Enable the low power timer for the following targets:
 - NUCLEO_L053R8
 - NUCLEO_L073K8
 - NUCLEO_L011K4
 - NUCLEO_L031K6
 - DISCO_L053C8
2016-09-26 16:29:03 +02:00