Russ Butler
11ef1d10b8
rtos: Return an error when a Thread is re-used
...
Calling Thread::start multiple times leads to undefined behavior since
the Thread class was not designed to handle being restarted. Return an
error code if Thread::start is called a second time to prevent this
behavior.
2017-03-06 11:54:50 -06:00
Martin Kojtal
b2726470f6
Merge pull request #3880 from adustm/fix_can2_only
...
DISCO_F469NI: allow the use of CAN2 instance when CAN1 is not activated
2017-03-06 16:57:57 +00:00
Martin Kojtal
bc8e2ec887
Merge pull request #3875 from theotherjimmy/export-postbuild-whitelist
...
Add post-build hook white-list to exporters
2017-03-06 16:57:36 +00:00
Martin Kojtal
f39deb518c
Merge pull request #3860 from MultiTechSystems/xdot-gpio-fix
...
Define GPIO_IP_WITHOUT_BRR for xDot platform
2017-03-06 16:56:29 +00:00
Martin Kojtal
e6b8ed2754
Merge pull request #3850 from LMESTM/fix_spi_warn
...
STM32: change spi error to debug warning
2017-03-06 16:55:58 +00:00
Martin Kojtal
b8e1b06924
Merge pull request #3846 from simonqhughes/fs_20170227
...
STORAGE: removal of unsupported tests having ported to sd-driver repository
2017-03-06 16:55:28 +00:00
Martin Kojtal
aa6a71bd0c
Merge pull request #3844 from bcostm/fix_comments_gpio_object
...
STM32 GPIO: Typo correction. Update comment (GPIO_IP_WITHOUT_BRR)
2017-03-06 16:54:39 +00:00
Martin Kojtal
ede2a11be4
Merge pull request #3840 from LMESTM/fix_smt32_gpio_default_speed
...
STM32: gpio SPEED - always set High Speed by default
2017-03-06 16:54:08 +00:00
Martin Kojtal
1be7418883
Merge pull request #3836 from cuvva/master
...
Allow to redefine nRF's PSTORAGE_NUM_OF_PAGES outside of the mbed-os
2017-03-06 16:53:31 +00:00
Martin Kojtal
05e7aad52a
Merge pull request #3832 from geky/lwip-fix-test-timeout
...
lwip: Increase timeout on network tests with python projects
2017-03-06 16:52:15 +00:00
Martin Kojtal
c975c2ba71
Merge pull request #3831 from pradeep-gr/feature-spi-slave
...
NCS36510: SPISLAVE enabled (Conflict resolved)
2017-03-06 16:51:37 +00:00
Martin Kojtal
8fb95a6507
Merge pull request #3780 from pmancele/master
...
STM32L4 : Fix GPIO G port compatibility
2017-03-06 16:51:03 +00:00
Martin Kojtal
750ac5152f
Merge pull request #3741 from jeromecoutant/PR_TICK32
...
STM32 remove warning in hal_tick_32b.c file
2017-03-06 16:49:52 +00:00
Martin Kojtal
f168f6233a
Merge pull request #3716 from adustm/disco_f429zi_debug
...
fix for issue #3715 : correction in startup files for ARM and IAR, alignment of system_stm32f429xx.c files
2017-03-06 16:49:19 +00:00
jeromecoutant
b77533dd51
STM32Cube_FW_F7_V1.6.0
...
CMSIS v1.1.2 => v1.2.0
STM32F7 HAL v1.1.2 => v1.2.0
2017-03-06 16:48:23 +01:00
bcostm
ae6899b448
STM32L4xx: set APB2 clock to 80MHz (instead of 40MHz)
2017-03-06 13:34:01 +01:00
jeromecoutant
67a75d96c6
STM32 CAN API: correct format and type
...
astyle done
2017-03-06 11:34:20 +01:00
adustm
18c1618637
DISCO_F469NI: allow the use of CAN2 instance when CAN1 is not activated
2017-03-03 17:05:28 +01:00
Martin Kojtal
b0a1fd9c86
Merge pull request #3871 from mazimkhan/master
...
Increase HEAP size for UBLOX_EVK_ODIN_W2 and NUCLEO_F429ZI
2017-03-03 16:01:13 +00:00
bcostm
e70d985fa3
Add AnalogIn pins on PF3, PF5 and PF10.
...
Don't know why it was missing ?
2017-03-03 16:57:16 +01:00
Martin Kojtal
2b60e0334a
Merge pull request #3870 from 0xc0170/fix_issue#3865
...
Export: fix issue #3865 - cmsis-dap swd
2017-03-03 14:52:10 +00:00
Martin Kojtal
4121180fc7
Merge pull request #3868 from geky/fix-platform-rename
...
Updated includes of renamed platform header files
2017-03-03 14:51:48 +00:00
Martin Kojtal
899daddd37
Merge pull request #3861 from theotherjimmy/fix-uvision-fpu
...
Add the FPU field to the <Cpu> tag in Keil
2017-03-03 14:50:53 +00:00
Jimmy Brisson
fcef9a7c50
Add post-build hook white-list to exporters
...
We have scripts (written in python) that are run after a binary image is
created in the tools. These scripts are not really exportable, as they
are part of the tools and may include and use any bits of python code
they please. So we don't export them. This patch disables export
combinations that would not work because the post-binary hook is not
exported. A white-list is used for forward compatibility.
2017-03-02 15:01:14 -06:00
Mohammad Azim Khan
1f0d73162c
Increase HEAP size for UBLOX_EVK_ODIN_W2 and NUCLEO_F429ZI
2017-03-02 14:11:21 +00:00
Martin Kojtal
e116b38c8d
Export: fix issue #3865 - cmsis-dap swd
...
From JTAG to SWD by default. This was causing flashing error.
2017-03-02 12:52:35 +00:00
Głąbek, Andrzej
4213c61073
TARGET_NRF: added a description of the recent change in spi_init().
2017-03-02 13:47:37 +01:00
Christopher Haster
87c0b82230
Updated includes of renamed platform header files
2017-03-01 16:45:55 -06:00
Christopher Haster
31e0875cd1
bd: Fix missing const attributes on functions
2017-03-01 16:11:40 -06:00
Jimmy Brisson
d2f2603892
Add the FPU field to the <Cpu> tag it Keil
...
Recently the Keil IDE has released version 5.23. This version requires
the FPU to be set as part of the <Cpu> tag in the .uvprojx (XML project
file). This patch adds the appropriate FPU settings based on the
trailing F (FPU enabled) or FD (Double precesion FPU enabled) string of
the core.
2017-03-01 14:16:12 -06:00
Mike Fiore
2613380854
[XDOT_L151CC] Define GPIO_IP_WITHOUT_BRR for xDot platform. Resolves #3823 .
2017-03-01 12:53:31 -06:00
adustm
d69c5edbd4
fix for issue #3715 : correction in startup files for ARM and IAR, alignment of system_stm32f429xx.c files
2017-02-28 18:15:06 +01:00
adustm
5c858a456e
remove mbedtls_printf error notification
2017-02-28 18:07:20 +01:00
Laurent MEUNIER
00bfa3bf4a
STM32: change spi error to debug warning
...
In case the selected frequency is higher than the requested one, it is
better to send a debug warning rather than an blocking error.
In case of such warning, user may need to redefine the clock tree setting
at higher level (reducing peripheral's input clocks during init phase).
2017-02-28 17:00:29 +01:00
adustm
d73088a90e
Big commit after code review from andesag01
...
cleanup in include files (unrequired removed + other moved to aes_alt.h)
hcryp_aes moved to mbedtls_aes_context to allow multi instances
remove ctx->nr, ctx->buf
doxygen comments are removed (kept in .h file)
function _ALT are removed (full module _ALT)
handle error returned by HAL_CRYPxx functions
aes is symetric, remove the dupplicated set_key_enc and set_key_dec
buffer, and factorize the call to set_key function
2017-02-28 16:42:06 +01:00
adustm
fe1e7aac98
Better use of MBEDTLS_AES_ALT
...
removed from targets.json, added in mbedtls_device.h
remove function alternate defines (not used as we replace the full
module)
2017-02-28 16:42:03 +01:00
adustm
fa8f6e4a86
Add AES_CBC mode
2017-02-28 16:42:01 +01:00
adustm
35bf8e17e6
AES ECB for NUCLEO_F439ZI
...
+---------------------------+--------+--------+--------+
| test case | passed | failed | result |
+---------------------------+--------+--------+--------+
| mbedtls_aes_self_test | 1 | 0 | OK |
| mbedtls_entropy_self_test | 1 | 0 | OK |
| mbedtls_sha256_self_test | 1 | 0 | OK |
| mbedtls_sha512_self_test | 1 | 0 | OK |
+---------------------------+--------+--------+--------+
2017-02-28 16:41:16 +01:00
Simon Hughes
8d084de412
STORAGE: removal of unsupported tests having ported to https://github.com/ARMmbed/sd-driver basic.cpp test.
2017-02-27 17:37:30 +00:00
Laurent MEUNIER
3842f6ea0a
STM32: fix formatting
...
Use the recommended style
if (condition) {
do();
} else {
do_else();
}
2017-02-27 17:07:05 +01:00
Laurent MEUNIER
747e8e1ea1
STM32: move pwmout device tables to C file
...
In order to avoid possible multiple definitions errors, move the table
initialization to the C file instead of header file
2017-02-27 17:07:01 +01:00
bcostm
d03f96741e
Typo: update comment (GPIO_IP_WITHOUT_BRR)
2017-02-27 16:32:44 +01:00
Głąbek, Andrzej
678f3f9966
TARGET_NRF: corrected spi_init() to properly handle re-initialization on the same pins + minor editorial corrections.
2017-02-27 13:48:55 +01:00
Laurent MEUNIER
8e5d2eb1dc
STM32: pwm period and prescaler calculation
...
Correct the while loop limit and add a safe guard to avoid infinite loop.
2017-02-27 13:47:34 +01:00
Laurent MEUNIER
453b248bf4
STM32: gpio SPEED - always set High Speed by default
...
Up to now, speed was set for outputs and alternate, but this is
also valid for input configuration.
By default, let's configure high speed.
This is done firts, because speed for some families like F1 is mixed
with Input/Output mode settings, so can be later over-ridden if needed.
2017-02-27 11:11:02 +01:00
Sam Grove
3a27568a50
Merge pull request #3773 from geky/fs-filesystem-simple-3
...
Filesystem: Restructure the filesystem api to be consistent with mbed OS
2017-02-24 18:25:03 -06:00
Christopher Haster
129bae4f7d
Filesystem: Added test for basic filesystem operation on cpp api
2017-02-24 15:28:43 -06:00
Sam Grove
262234db27
Merge pull request #3817 from AlessandroA/update_uvisor
...
Update uVisor to v0.27.0
2017-02-24 14:04:26 -06:00
Christopher Haster
274460bef5
Filesystem: Adopted dynamic allocation of files over static allocation
2017-02-24 12:03:14 -06:00
Christopher Haster
c4649afba5
Filesystem: Last minute changes due to feedback on directory iteration
...
- Changed to use dirent structure type
- Fixed memory leak in closedir
2017-02-24 12:03:14 -06:00