Martin Kojtal
8230fd7784
Merge pull request #8888 from kegilbert/sys-struct-whitespace-patch
...
Align comment block in sys stats struct
2018-12-03 13:40:36 +01:00
Martin Kojtal
bf36ff77c1
Merge pull request #8855 from michalpasztamobica/warnings_fix
...
Fix compilation warnings (apart from nanostack)
2018-12-03 13:31:55 +01:00
Martin Kojtal
226219f3f2
rtos: fix style in rtos wait
...
Found during editing copyright message
2018-11-29 10:51:18 +00:00
Martin Kojtal
ad759b7749
platform: 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
4758ddd2c6
Merge pull request #8738 from pan-/ble-extended-advertising
...
Ble extended advertising
2018-11-28 09:39:13 +01:00
kegilbert
31bbbff08a
Align comment block in sys stats struct
2018-11-27 18:06:26 -06:00
Russ Butler
caa7b93921
Rename lock functions and classes
...
Invert the name of the lock functions and classes so you are not
locking a negative.
2018-11-27 09:29:32 +00: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
d27566c955
Rename MpuXnLock
...
Rename MpuXnLock to ScopedMpuXnLock so it has the same naming
convention as ScopedMutexLock. Also make this class inherit from
NonCopyable to prevent misuse.
2018-11-27 09:29:32 +00:00
Russ Butler
ab18442988
Add an RAII class for MPU execute never
...
Add the class MpuXnLock which uses RAII to allow execution from RAM
in a block of code.
2018-11-27 09:29:31 +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
Martin Kojtal
29b64e15bf
Merge pull request #8761 from kegilbert/add-all-stats-config-opt
...
Add MBED_ALL_STATS_ENABLED to config system
2018-11-27 09:12:17 +01:00
Martin Kojtal
436644b7bd
Merge pull request #7760 from ARMmbed/feature_namespace
...
Give an option to remove 'using namespace'
2018-11-27 09:04:58 +01:00
kegilbert
2a9c930f9b
Add MBED_ALL_STATS_ENABLED to config system
2018-11-26 16:59:33 -06:00
deepikabhavnani
da69da972f
Add BlockDevice and Filesystem classes inside mbed namespace.
...
Adding new modules inside the namespace could be breaking change for existing code base
hence add `using namespace::class` for classes newly added to mbed namespace to maintian
backwards compatibility.
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 13:35:40 -06:00
deepikabhavnani
2df0289ae9
Resolve build issue for unittest
...
Error Resolved here is:
SingletonPtr.h:93:13: error: ‘NULL’ was not declared in this scope
2018-11-26 09:53:19 -06:00
Deepika
f6c1a40b29
Add config options for socket statistics
...
1. MBED_CONF_NSAPI_SOCKET_STATS_ENABLE to enable the statistics
2. MBED_CONF_NSAPI_SOCKET_STATS_MAX_COUNT max sockets statistics cached
2018-11-26 09:42:45 -06:00
Deepika
09b4bc07ce
This is the initial version of stats implementation in network layer.
...
SocketStats Class is added to collect and provide the statistics information.
In this phase only socket information is collected and max sockets that can
be recorded at any time are configurable through 'MBED_CONF_NSAPI_SOCKET_STATS_MAX_COUNT'
Network statistics can be enabled through a macro MBED_NW_STATS_ENABLED
More information on design is captured in #8743
2018-11-26 09:42:39 -06:00
Michal Paszta
e101943cce
Fix compilation warnings (apart from nanostack)
2018-11-26 14:27:48 +01:00
Vincent Coubard
1a14453da1
BLE: Add mechanism to track use of non compatible scan API.
2018-11-26 10:24:30 +00:00
Vincent Coubard
732b4255ce
revert toolchain changes
2018-11-26 10:21:32 +00:00
Vincent Coubard
0c1e01952b
Compilation fixes
2018-11-26 10:21:32 +00:00
Nir Sonnenschein
0283bb84e4
Merge pull request #8667 from davidsaada/kvstore_integration
...
KVStore & derived classes: design docs, implementation & configuration
2018-11-25 07:30:53 +02:00
David Saada
e9c25e23a5
KVStore & derived classes: design docs, implementation & configuration
...
Implement the following:
KVStore base class
TDBStore class
FileSystemStore class
SecureStore class
Global APIs
Configuration framework
Design documentation
2018-11-24 17:43:35 +02:00
Martin Kojtal
52aea31655
Merge pull request #8702 from SenRamakri/sen_CrashReportingImpl
...
Crash Reporting implementation
2018-11-23 20:24:53 +01:00
Martin Kojtal
70dfbbfee4
Merge pull request #8189 from deepikabhavnani/wait_updated
...
Wait API updated to remove deepsleep lock
2018-11-22 11:01:27 +01:00
Martin Kojtal
5b42e2886f
Merge pull request #8607 from aashishc1988/ram_rom_fetch
...
Fetch ram/rom start/size
2018-11-22 10:49:50 +01:00
Senthil Ramakrishnan
f59b99d889
Removing support for printing error-report after reboot and other minor fixes
2018-11-18 22:42:37 -06:00
Senthil Ramakrishnan
423b52e1c3
Fix crc calculation error, code-style issues and other fixes
2018-11-16 17:24:52 -06:00
Senthil Ramakrishnan
a07a373c9f
Change the reboot-max value semantics and code style and other fixes
2018-11-16 14:00:00 -06:00
Senthil Ramakrishnan
254062fc5a
Add thread safety across reboot error info operations
2018-11-16 14:00:00 -06:00
Senthil Ramakrishnan
9ac31dbaef
Enable crash capture feature for platforms with linkerscript changes
2018-11-16 13:59:59 -06:00
Senthil Ramakrishnan
6181394e37
Error and fault handling changes for crash reporting
2018-11-16 13:59:59 -06:00
Cruz Monrreal II
5c1c7bf71f
Merge branch 'fix_astyle_error' of ssh://github.com/0xc0170/mbed-os into rollup-b.1
2018-11-15 18:26:09 -06:00
Aashish chaddha
0c594a42dc
The check for managed bootloader support should be in regions and we need a try/catch when we call it.
...
Moved "bootloader_not_supported" check to where it was and handle that exception at only one place.
Removed ram/rom size info for realtek from targets.json. THe info we have is not correct.
was Not handling config exceptions from regions and ram_regions property
adding rom-ram info for REALTEK_RTL8195AM
2018-11-15 15:28:14 -06:00
Martin Kojtal
2422949398
Merge branch 'platform-lib-whitespace-patch' of https://github.com/kegilbert/mbed-os into dev_rollup
2018-11-15 13:59:30 +00:00
Martin Kojtal
3d859575d2
platform: fix coding style
2018-11-15 07:20:11 +00:00
Martin Kojtal
43615baf0e
CThunkbase: fix coding style
2018-11-15 07:20:09 +00:00
Deepika
ad736e9894
Add RAM/ROM memory statistics to system stats structure
...
Internal RAM / ROM memory size and start address of target can be
fetched using `mbed_stats_sys_get()` API.
2018-11-14 09:51:33 -06:00
kegilbert
44d3e62835
Patch whitespace inconsistencies in platform lib file
2018-11-13 19:08:44 -06:00
shileiyu
627064297e
New target UNO_91H from RDA Microelectronics.
2018-11-10 18:15:26 +08:00
Cruz Monrreal
e635613b28
Merge pull request #7849 from TacoGrandeTX/fix_rtc_settime
...
Low power timer needs to be reset when setting time
2018-11-08 10:50:04 -06:00
Cruz Monrreal
0fe6369950
Merge pull request #8488 from c1728p9/cthunk_overhaul
...
Rewrite CThunk so it does not execute from ram
2018-11-07 19:15:14 -06:00
Russ Butler
5a8727623b
Rewrite CThunk so it does not execute from ram
...
Modify the implementation of CThunk so it does not execute from ram.
Instead is uses an array of functions in flash which can be allocated
as a thunk. The number of CThunks that can be used by an application
can be configured with MBED_CONF_PLATFORM_CTHUNK_COUNT_MAX.
2018-11-06 09:49:56 -06:00
Martin Kojtal
2ae9981bea
Merge branch 'platform-doxy-typo-fix' of https://github.com/kegilbert/mbed-os into dev_rollup
2018-11-06 12:10:26 +00:00
RFulchiero
d82990cd25
Low power timer needs to be reset when setting time.
...
Reset _rtc_lp_timer only if DEVICE_LPTICKER is defined.
2018-11-01 17:11:45 -05:00
Cruz Monrreal
430fb3e7ba
Merge pull request #8601 from kjbracey-arm/error_fmtcheck
...
Add format checking to printf-type APIs
2018-11-01 16:09:05 -05:00
kegilbert
766359c7c5
Typo fixes in Doxygen for Platform
2018-11-01 12:10:08 -05:00
Cruz Monrreal
3d09f3bd98
Merge pull request #8598 from VeijoPesonen/fix_atcmdparser_oob_handling
...
ATCmdParser: Fix OOB handling performance-wise
2018-10-31 18:52:21 -05:00