Martin Kojtal
07ebd92f7b
Merge pull request #11494 from hugueskamba/hk-fix-coverity-iotcore-1334
...
Fix Coverity issue: Initialize FlashIAP non-static member in constructor
2019-09-24 14:58:29 +02:00
Laurent Meunier
9858b161d6
SysTimer deep sleep: Add local lock check and update comments
...
Suggested-by: @kjbracey-arm
Replace the sleep_manager_can_deep_sleep() with !_deep_sleep_locked.
Indeed, if we know we've taken the lock because we're using us_ticker,
no need to do the early wake.
Updated comments accordingly.
2019-09-19 14:25:59 +02:00
Laurent Meunier
cd3105bb83
SysTimer should let deep sleep happen
...
When next SysTimer wake-up is scheduler far enough, always consider
that deep sleep may be entered and program an early wake-up.
So that even if deep sleep is only allowed some time later, it can be
entered. If not doing this, then the deep sleep would be prevented by
SysTimer itself and may not be entered at all.
This has been proved to happen in a simple blinly example.
2019-09-19 10:16:23 +02:00
Hugues Kamba
8ea9acad8e
Fix Coverity issue: Initialize FlashIAP non-static member in constructor
2019-09-17 09:55:37 +01:00
Martin Kojtal
3c47010fd3
Merge pull request #11462 from hugueskamba/hk-minimal-printf-update-readme
...
Minimal-printf: Remove file printing in README and update tables
2019-09-17 09:12:05 +02:00
Hugues Kamba
93f50eef3d
Suppress Coverity warnings
2019-09-12 15:44:55 +01:00
Martin Kojtal
e090ef26d4
Merge pull request #11453 from hugueskamba/hk-fix-coverity-issues
...
Fix Coverity issues
2019-09-12 12:00:34 +02:00
Hugues Kamba
c4d77b23fc
Minimal-printf: Remove file printing in README and update tables
2019-09-11 15:44:07 +01:00
Martin Kojtal
91515fe2da
Merge pull request #11450 from hugueskamba/hk-minimal-printf-default-options-false
...
Minimal-printf: Set default configurations to false
2019-09-11 13:53:21 +02:00
Hugues Kamba
e12400932d
Fix Coverity issues
...
Issues fixed are related to:
* Non-static class member initialization in constructors
* Unused function return value
* Always false statements
2019-09-11 11:27:27 +01:00
Martin Kojtal
5e693778f4
Merge pull request #11441 from gpsimenos/gp-move-source-files
...
Organize source files and add Doxygen labels
2019-09-11 08:00:03 +02:00
Hugues Kamba
03c484a010
minimal-printf: Disable floating point support by default
...
Mbed OS should not require floating point in its base configuration.
This provides further code size savings out of the box.
2019-09-11 05:09:09 +01:00
George Psimenos
bd95c53a4c
Move source files and add Doxygen labels
2019-09-10 14:31:24 +01:00
Hugues Kamba
5933dec3b7
Harmonise Doxygen comments in drivers, events, platform and rtos dirs
...
When a Doxygen group has been defined (created), all its needed to add
documentation to that group is `\addtogroup`. Since all the information
about the group is preserved, it is not necessary to mention the group
hierarchy again with `\ingroup`. This PR removes unnecessary Doxygen lines
across the `drivers`, `events`, `platform` and `rtos` directories.
It also ensures that new groups are created with `\defgroup` once and
referenced with `\addtogroup` whenever documentation needs to be added to
an existing group.
2019-09-09 10:59:51 +01:00
Andrew Chong
c257c5f0c7
mbed_error.c: Fixed another bug of possible stack overflow.
2019-09-06 16:49:09 +08:00
Andrew Chong
bd9ec8b6d7
mbed_error.c: fixed the dump core function's bug of possible stack overflow.
2019-09-06 16:33:09 +08:00
Andrew Chong
a769b7db43
mbed_error.c: Fixed compile errors with non-RTX targets.
2019-09-05 17:55:31 +08:00
Andrew Chong
76353d5476
mbed_error.c: now dumping MSP/PSP stacks correctly.
2019-09-05 17:55:31 +08:00
Andrew Chong
0da589e6e7
mbed_error.c: handler mode failures will dump MSP/PSP stacks.
2019-09-05 17:55:31 +08:00
Andrew Chong
da2f8e5b79
mbed_error.c: reducing RTX restriction.
2019-09-05 17:55:31 +08:00
Andrew Chong
95d2eb83a3
platform: stack-dump-enabled default value to false.
2019-09-05 17:55:31 +08:00
Andrew Chong
5258768bc7
The stack dump of the major should be moved up.
2019-09-05 17:55:31 +08:00
Andrew Chong
7dc53176ae
mbed_error.c: Now we can stack dump on all possible threads.
2019-09-05 17:55:31 +08:00
Andrew Chong
db1e2d3b24
astyle to mbed_error.c
2019-09-05 17:55:31 +08:00
Andrew Chong
5671416d5e
handle_error: Now supports HW exception from handler mode.
2019-09-05 17:55:31 +08:00
Andrew Chong
835a7639a9
print_error_report: Paying extra caution on address alignment.
2019-09-05 17:55:31 +08:00
Andrew Chong
575bd31060
print_error_report: Don't care about osRtxStackFillPattern and dump whole remaining.
2019-09-05 17:55:31 +08:00
Andrew Chong
248746113f
Now stack dump is done correctly to the other way around.
2019-09-05 17:55:31 +08:00
Andrew Chong
50daa7e40f
platform.stack-dump-enabled feature is added.
2019-09-05 17:55:31 +08:00
Andrew Chong
57ed4f36fa
Removed #warning of non-Cortex-M. Minor comment adjustment.
2019-09-05 17:55:31 +08:00
Andrew Chong
d69dc4940e
Fixed astyle failures on handle_error().
2019-09-05 17:55:31 +08:00
Andrew Chong
9af7ea58d4
The candidate code to enable correct crash report for HW fault crashes.
2019-09-05 17:55:31 +08:00
Hugues Kamba
8c22bbbbc8
Use PRIu32 to print uint32_t variable
...
As the variable underlying type size is different depending on the
toolchain used
2019-09-03 09:29:06 +01:00
Evelyne Donnaes
d9f32639eb
Changed minimal-printf to call fputc so that it does not bypass the retargetting code
...
Removed minimal-printf-console-output
2019-08-29 11:30:34 +01:00
Kyle Kearney
5820a3172f
Fix typos in comments
2019-08-28 13:12:05 +01:00
Martin Kojtal
4cdca93e99
Merge pull request #11265 from kjbracey-arm/tuple
...
Add <mstd_tuple> and ARMC5 <tuple>
2019-08-28 10:04:52 +02:00
Kevin Bracey
4b4859cbd0
mstd_iterator: correct comments
2019-08-27 14:37:07 +03:00
Kevin Bracey
3664912acc
mstd_utility: add missing integer_sequence helpers
2019-08-27 14:37:07 +03:00
Kevin Bracey
d45e3b5e57
Add <mstd_tuple> and ARMC5 <tuple>
...
tuples will be useful for things like `mbed::Event` and
`mbed::Callback` - storing parameter packs from variadic templates.
Create a C++14(ish) `<tuple>` for ARMC5, and a `<mstd_tuple>` that
adds `apply` and `make_from_tuple` from C++17.
2019-08-27 14:37:07 +03:00
Andrew Chong
9edfad4eea
mbed fault handler: changed the 2nd parameter type.
2019-08-21 17:02:34 +08:00
Andrew Chong
e90c5674d4
Fixes the bug of having &mbed_fault_context argument instead of mbed_fault_context in mbed_fault_handler.
2019-08-21 16:38:36 +09:00
Martin Kojtal
73d6aa59af
Merge pull request #11211 from kjbracey-arm/mstd
...
Review follow-up mstd fixes
2019-08-20 09:53:23 +02:00
Anna Bridge
033fffea84
Merge pull request #11208 from kjbracey-arm/atomic_thumb1
...
Atomics: GCC fix for M23 (again)
2019-08-15 13:01:02 +01:00
Anna Bridge
575cffbc13
Merge pull request #11185 from gpsimenos/move-target-cortexm
...
Move rtos & platform TARGET directories to source
2019-08-15 12:56:36 +01:00
Evelyne Donnaes
1de64cbb4a
Updated minimal-printf README
2019-08-13 13:18:46 +01:00
Kevin Bracey
d31879a1d4
Atomics: GCC fix for M23 (again)
...
Add another missing unified syntax directive. Was previously fixed in
03f1ac3ffd
, but the same problem was not addressed in the pending PR that
added the `NEWVAL_2OP` assembler.
2019-08-13 10:46:48 +03:00
Kevin Bracey
ff0ce04d11
mstd::not_fn - fix declaration
2019-08-12 16:19:46 +03:00
Kevin Bracey
cb5c09ff92
ARMC5 std::reference_wrapper - drop dead code
2019-08-12 16:19:46 +03:00
Kevin Bracey
71a5f857e1
Fix cxxsupport/README.md typo
2019-08-12 16:19:46 +03:00
Martin Kojtal
f8dc035ae4
Merge pull request #11139 from sethitow/stm32f413-crash-capture
...
STM32F413 Crash Capture
2019-08-09 12:49:21 +01:00