Martin Kojtal
c06fcaf5c5
Merge pull request #13548 from evva-sfw/enhance-minimal-printf
...
Add width modifier and prepending zeros for hexadecimal output and decimal precision for floating point
2020-12-10 09:14:59 +00:00
Martin Kojtal
9662e409db
Merge pull request #14001 from kjbracey-arm/mbed-os-atomic
...
Add missing retry to atomic exchange
2020-12-09 13:29:56 +00:00
Oliver Wildtgrube
03cf6214c3
Add width modifier and prepending zeros for integer, hexadecimal and floating point output as well as decimal precision for floating point
2020-12-08 21:07:54 +01:00
Kevin Bracey
0b30742c80
Add missing retry to atomic exchange
...
Atomic exchange implementation forgot to do the retry if the exclusive
store failed.
2020-12-03 16:36:23 +02:00
Leon
310b6dd127
Add crash reporting and autoreboot capability to MTS_DRAGONFLY_L471QG
2020-12-01 14:18:16 -06:00
Martin Kojtal
124afe79bb
Merge pull request #13755 from AGlass0fMilk/fix-init-os-timer
...
Fix MBED_ERROR call in init_os_timer
2020-11-24 13:38:46 +00:00
Martin Kojtal
57bbb4739b
Merge pull request #13085 from pea-pod/remove-deprecated-mbed-assert
...
Change MBED_STATIC_ASSERTs version for built-in
2020-11-24 13:38:07 +00:00
George Beckstein
7571982606
Fix MBED_ERROR call in init_os_timer
2020-11-19 12:35:34 -05:00
mbedmain
f2278567d0
Update Mbed version block
2020-11-18 11:27:24 +00:00
Martin Kojtal
65097e1c07
Merge pull request #13878 from evedon/blockdevice-library
...
Add missing blockdevice mbed_lib.json
2020-11-12 08:44:48 +00:00
Martin Kojtal
3555ada459
Merge pull request #13867 from marcemmers/fix-systimer-overflow
...
SysTimer: Prevent unacknowledged tick overflow when halted for a while
2020-11-11 08:55:24 +00:00
Hugues Kamba
794e32df74
CMake: Use relative paths to list source files and directories
...
The absolute path is still required for listing linker
files as they are referenced from a function in the top
level CMake input source file.
2020-11-09 12:32:30 +00:00
Rajkumar Kanagaraj
e7c0d93ad4
CMake: add mbed-os and mbed-baremetal targets
...
mbed-os consists of mbed-core and mbed-rtos
mbed-baremetal consists of mbed-core
The main change is for mbed-core. Changing from object library to be interface. This way it allows us to do the above to have 2 main targets for users to use.
This should be backward compatible change as mbed-os target we used contains the same files/options as previously set.
2020-11-06 17:25:22 +00:00
Hugues Kamba
bf84a5b329
CMake: Rename CMake targets
...
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Hugues Kamba
fa98689639
CMake: Componentize Mbed OS into multiple CMake targets ( #13732 )
...
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.
Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba
0f7d03ae1c
CMake: Revert mbed-trace CMake input source file to match upstream repository ( #13590 )
...
As there is currently no mbed-trace library, statements related to that
target have been commented out.
2020-11-06 17:25:20 +00:00
Hugues Kamba
1b576c3046
CMake: Clean up platform
2020-11-06 17:25:20 +00:00
Hugues Kamba
9b8c5acb99
CMake: Fix build failure due to mbed-trace, mbed-client-randlib, and nanostack dir changes
2020-11-06 17:25:20 +00:00
Hugues Kamba
a0fbe2947a
CMake: Fix build failure due to CMSIS restructure
2020-11-06 17:25:20 +00:00
Hugues Kamba
4fc678c30d
CMake: Correct file listing for PSA
2020-11-06 17:25:20 +00:00
Hugues Kamba
0c8cb3134c
CMake: Fix build failure due to PSA dir move
2020-11-06 17:25:20 +00:00
Hugues Kamba
c876bc1d75
CMake: Fix build issue due to platform changes
2020-11-06 17:25:18 +00:00
Hugues Kamba
929adbe936
CMake: Add support for platform dir
2020-11-06 17:25:15 +00:00
Hugues Kamba
1d6f86f553
CMake: Add support for features dir
2020-11-06 17:25:15 +00:00
Marc Emmers
8b7e7ee8f6
Make _unacknowledged_ticks uint32_t to prevent overflow
2020-11-05 15:26:44 +01:00
Evelyne Donnaes
f4b7f44d93
Added missing blockdevice mbed_lib.json
2020-11-02 16:35:26 +00:00
pea-pod
507181d262
Change MBED_STATIC_ASSERTs version for built-in
2020-10-27 08:30:40 -05:00
mbedmain
8ef0a435b2
Update Mbed version block
2020-10-20 15:48:27 +01:00
Martin Kojtal
2d01a4412d
Merge pull request #13723 from boraozgen/feature/f412xg-crash-ram
...
Add crash RAM to STM32F412xG
2020-10-16 09:10:55 +01:00
Martin Kojtal
61aa6817f0
Merge pull request #13724 from harmut01/license_refactor
...
Add license notice to Arm copyrighted source files
2020-10-16 09:09:53 +01:00
Harrison Mutai
d1d6bf51b3
Add license notice to Arm copyrighted source files
...
Scancode found missing license notices in our source files. This commit
addresses those issues by adding an Apache-2.0 notice to source files
highlighted.
2020-10-15 10:46:35 +01:00
Martin Kojtal
2cb64f5bce
Merge pull request #13549 from kjbracey-arm/readdir_r
...
Make readdir reentrant
2020-10-13 11:11:45 +01:00
jeromecoutant
953b50397f
Platform: enable crash feature for NUCLEO_F412ZG
2020-10-09 10:28:28 +02:00
Martin Kojtal
d829ac3fa8
Merge pull request #13649 from LDong-Arm/mbed-trace-default
...
Make mbed-trace available to bare metal
2020-09-22 16:24:18 +01:00
Martin Kojtal
2ab7b44f10
Merge pull request #13563 from paul-szczepanek-arm/circ-buf
...
Add mutiple push and pop for circular buffer
2020-09-21 16:29:04 +01:00
Martin Kojtal
a02ea2f43a
Merge pull request #13623 from rajkan01/refactor_docs
...
Refactor mbed-os design docs
2020-09-21 16:28:13 +01:00
Lingkai Dong
f7b82ace3a
Make mbed-trace available to bare metal
...
Some code in "drivers" and "targets" use mbed-trace, which when
disabled has zero overhead as trace function calls are masks
by dummy macros.
2020-09-21 15:40:38 +01:00
Lingkai Dong
378046ee24
mbed-trace: if fea-ipv6 is null, check nanostack-libservice availability
2020-09-21 15:40:38 +01:00
Rajkumar Kanagaraj
19908b2b21
Refactor hal, platform, rtos docs
2020-09-17 16:03:43 +01:00
Rajkumar Kanagaraj
a74120ca2e
Move greentea test closure to library
2020-09-16 13:04:21 +01:00
Paul Szczeanek
b335675cbd
missing dependencies
2020-09-16 11:05:02 +01:00
mbedmain
0db72d0cf2
Update Mbed version block
2020-09-14 12:09:56 +01:00
Anna Bridge
ad973f2f14
Merge pull request #13594 from moshe-shahar/psa-gen-rot
...
PSA - Generate root of trust before accessing kvstore
2020-09-11 15:46:35 +01:00
Moshe Shahar
eaf9601bc9
remove redundant call to generate_root_of_trust from its test
2020-09-10 19:44:52 +03:00
Moshe Shahar
5954267859
PSA - Generate root of trust before accessing kvstore
2020-09-10 19:25:59 +03:00
Paul Szczeanek
3d827e8e86
unit tests for circular buffer
2020-09-10 15:00:20 +01:00
Paul Szczeanek
d4eaa48591
allow popping and pushing of multiple items in circular buffer
2020-09-10 15:00:01 +01:00
Gabor Toth
bdf2306f16
Add platform support to Musca S1
...
Change-Id: Iebdd4bc402446caba6b7bd894eddb0a85ed884d8
Signed-off-by: Mark Horvath <mark.horvath@arm.com>
Signed-off-by: Gabor Toth <gabor.toth@arm.com>
2020-09-10 14:53:41 +02:00
Martin Kojtal
41f2ee54f9
Merge pull request #13430 from LDong-Arm/refactor_frameworks
...
Relocated libraries in features/frameworks
2020-09-07 09:10:56 +01:00
Kevin Bracey
5ab6f1cef6
Make readdir reentrant
...
Remove the static allocation for the dirent, and allocate it from the
heap during opendir().
Removing the static data can reduce RAM usage on some toolchains when
directories are not being used. The static allocation sometimes is
combined with the file handle array and can't be dropped by the linker.
Original readdir() was not thread-safe at all.
This was in violation of POSIX which states the result of readdir "is
not overwritten by another call to readdir() on a different directory
stream."
POSIX also defines readdir_r() as separate totally reentrant form where
the caller allocates the dirent, but this is generally deprecated as it
opens the door for an inadequate allocation causing a stack smash. Full
reentrancy is not typically necessary - having readdir()'s buffer data
be per-DIR is generally sufficient.
2020-09-04 16:58:23 +03:00