Alastair D'Silva
2617c5d55b
Don't use define checks on DEVICE_FOO macros (mbed code)
...
The DEVICE_FOO macros are always defined (either 0 or 1).
This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 10:16:42 +11:00
Cruz Monrreal
463a4536e2
Merge pull request #8961 from marcemmers/this-thread
...
ThisThread get_name()
2018-12-14 11:13:31 -06:00
Kevin Bracey
770baa22ea
Rework MPU use option
...
Make the option positively named, and as it is a platform config
option make sure it only affects platform code.
HAL functions still remain available even if platform is told not
to use them.
2018-12-11 13:03:59 +02:00
Kevin Bracey
842587ddb5
Save ROM by specifying initial MPU state
...
We can omit the need for the "change MPU state" calls from simple images
by specifying the initial state at init.
2018-12-10 15:53:34 +02:00
Marc Emmers
2f792a9c88
Added get_name function to ThisThread namespace
2018-12-05 08:39:29 +01:00
Martin Kojtal
fd301c708b
rtos: fix copyright years
2018-11-28 10:42:11 +00:00
Martin Kojtal
e3ddd519c3
rtos: add spdx license
2018-11-28 10:39:52 +00:00
Martin Kojtal
52822cb8af
Merge pull request #8871 from c1728p9/mpu
...
MPU API (Reopened)
2018-11-28 10:28:32 +01:00
Martin Kojtal
e69aa15aea
Merge pull request #8744 from kfnta/psa_spm_base
...
PSA Secure partition manager and services
2018-11-27 15:26:38 +01:00
Russ Butler
1821d37621
Overhaul MPU for new requirements
...
Make the following changes:
-Allow a vector specific ARM MPU driver by defining MBED_MPU_CUSTOM
-Allow ROM address to be configured for ARMv7-M devices by
setting the define MBED_MPU_ROM_END
-Add ROM write protection
-Add new functions and lock
-enable at boot
-disable during flash programming
2018-11-27 09:29:32 +00:00
Russ Butler
ecd0414494
Integrate MPU with mbed
...
Enable the MPU as part of the boot sequence and disable it before
starting a new application. Also add reference counted MPU lock and
unlock functions to allow code to execute from ram when necessary.
2018-11-27 09:29:31 +00:00
Oren Cohen
dd73fa689c
PSA SPM
...
* Intorduce PSA-SPM to mbed-os
* Add SPM tests (for PSA targets)
* Add PSA PRoT internal storage Secure implementation
* Integrate SPM into the boot proccess
* PSA manifest data generator
* Introduce PSA targets skeleton to mbed-os
* Add artifact delivery to the tools
2018-11-27 09:16:35 +02:00
deepikabhavnani
b6e381b701
MBED_NO_GLOBAL_USING_DIRECTIVE is added to remove auto-addition of namespace
...
Macro guard `MBED_NO_GLOBAL_USING_DIRECTIVE` is added around namespace, to avoid
polluting users namespace.
2018-11-26 09:23:16 -06:00
Senthil Ramakrishnan
6181394e37
Error and fault handling changes for crash reporting
2018-11-16 13:59:59 -06:00
Martin Kojtal
e1e20a64f9
rtos: fix coding style
2018-11-15 07:20:12 +00:00
Martin Kojtal
830f7464cc
rtx idle: fix coding style
2018-11-15 07:20:10 +00:00
Cruz Monrreal
9d95d46d6c
Merge pull request #8591 from 0xc0170/fix_coding_style_features
...
features: fix coding style
2018-11-09 09:40:56 -06:00
Martin Kojtal
57be9d2492
Merge branch 'fix_background_overflow' of https://github.com/c1728p9/mbed-os into dev_rollup
2018-11-08 09:21:20 +00:00
Martin Kojtal
87265f7744
rtos: fix coding style in the boot files
2018-11-08 08:54:22 +00:00
Cruz Monrreal II
0a8f5e07d3
Merge branch 'sen_KernelDoxyUpdate' of ssh://github.com/SenRamakri/mbed-os into rollup
2018-11-06 21:29:13 -06:00
Cruz Monrreal
c792d33112
Merge pull request #8652 from 0xc0170/dev_rollup
...
Rollup PR for docs
2018-11-06 20:40:04 -06:00
Russ Butler
9613e0ffbd
Increase background stack size to fix overflows
...
On platforms using both tickless and the low power ticker wrapper
so much of the background stack is used that it overflows. To
ensure the background thread's stack doesn't overflow increase this
size by 256 bytes when tickless is enabled. Worst case usage
on the NUCLEO_F476RG was recorded at 656 when tickless is
turned on so this increased size should safely prevent overflows.
2018-11-06 10:55:58 -06:00
Jeroen de Bruijn
2ef82e18f5
fix: Remove rtx from main thread name
2018-11-03 18:32:23 +01:00
Jeroen de Bruijn
3f635ef813
fix: Update thread names
...
Remove _thread suffix and rename threads.
2018-11-02 13:44:24 +01:00
kegilbert
3008de5cbf
Fix typos in RTOS doxygen.
2018-11-01 15:46:40 -05:00
Amanda Butler
2418d9c0ae
Edit Kernel.h
...
Make minor copy edits for active voice, branding and deletion of extra spaces.
2018-10-30 10:25:25 -05:00
Cruz Monrreal
5ed07c2dd4
Merge pull request #8328 from kjbracey-arm/noreturn
...
Error path tightening: use MBED_NORETURN; add+use core_util_atomic_flag
2018-10-29 20:49:54 -05:00
Senthil Ramakrishnan
4cdcdc1010
Updated attach_thread_terminate_hook doxygen comments
2018-10-29 13:53:19 -05:00
Senthil Ramakrishnan
ad88218a35
Kernel.h doxygen update
2018-10-29 13:47:22 -05:00
Kevin Bracey
90a731daee
rtos_idle_loop is MBED_NORETURN
...
Don't need loops at two layers.
Also tighten up slightly-invalid extern "C" markings.
2018-10-29 13:58:06 +02:00
Cruz Monrreal
4798a91f2e
Merge pull request #8223 from c1728p9/deep_sleep_wakeup_fix
...
Improve RTOS behavior with deep sleep
2018-10-27 08:45:33 -05:00
Cruz Monrreal II
3da861808b
Make variables that are private in ConditionVariable.h, protected
...
Paritally reverts docs PR 8511
2018-10-26 13:03:56 -05:00
Mel W
0d128d13f1
Breaking behaviors into two sections
...
as per @kjbracey-arm review
2018-10-26 14:10:33 +03:00
Mel W
96a6368814
Adding missing punctuation.
2018-10-26 11:37:40 +03:00
Mel W
6a1b260f68
True -> `true`, inserting article
2018-10-26 11:32:27 +03:00
Cruz Monrreal II
fab0c3f031
Merge branch 'docs-condition-variable-refactor' of ssh://github.com/scartmell-arm/mbed-os into rollup
2018-10-25 21:49:46 -05:00
Cruz Monrreal II
3a66d9dca3
Merge branch 'doc-fix-mail' of ssh://github.com/paul-szczepanek-arm/mbed-os into rollup
2018-10-25 21:49:43 -05:00
Amanda Butler
5abe427f50
Edit Mail.h
...
Edit file for active voice, branding and comma use.
2018-10-25 21:47:57 -05:00
paul-szczepanek-arm
f57d8978ff
no doxygen guards needed for private
2018-10-25 21:47:56 -05:00
paul-szczepanek-arm
1b38b5a717
fix docs in Mail
2018-10-25 21:47:56 -05:00
Amanda Butler
fbc5a381af
Edit Queue.h
...
Edit file, including existing text, mostly for active voice and consistent tense.
2018-10-25 21:41:54 -05:00
Steve Cartmell
7e8a932b6f
docs(api-queue): Update documentation for the Queue API
2018-10-25 21:41:53 -05:00
Cruz Monrreal
de6ba91644
Merge pull request #8365 from 0xc0170/fix_astyle_common2
...
Fix astyle for tests folders
2018-10-25 10:41:13 -05:00
Cruz Monrreal
9c59d9acc3
Merge pull request #7864 from deepikabhavnani/remove_mbed_h
...
Add required header file and namespace element instead add all.
2018-10-25 09:26:24 -05:00
Melinda Weed
98e6d531bf
Capitalization, header level adjustment
2018-10-25 17:16:34 +03:00
Melinda Weed
c8f9759b90
Adding punctuation
2018-10-25 17:09:45 +03:00
Melinda Weed
5cc5e47929
future to present tense
2018-10-25 14:25:43 +03:00
Martin Kojtal
e80f2ff18a
rtos cortex: fix astyle
2018-10-25 09:58:18 +01:00
Martin Kojtal
e7acdc4cc8
rtos: fix astyle
2018-10-25 09:58:16 +01:00
Russ Butler
50316d00bd
Improve RTOS behavior with deep sleep
...
Only deep sleep when the wakeup time is more than
MBED_CONF_TARGET_DEEP_SLEEP_LATENCY ms in the future.
This ensures that RTOS events are handled at the correct time. Note -
when deep sleep is allow interrupt latency may still be as high as
10ms.
2018-10-24 15:02:56 -05:00