Russ Butler
c3f5b64b79
Remove double free RTOS tests
...
Remove the double free RTOS tests since this was never defined
behavior of CMSIS-RTOS. This allows testing to pass.
The RTX commit which caused this test to start failing is:
c3b123ef4256f65537e2597af475fc20ec9a383e
RTX5: updated MemoryPoolFree (removed count check) [SDCMSIS-801]
Note - Double freeing an element from a memory pool was never safe.
The error return value when double freeing was misleading since memory
corruption may still be occurring in that case. For more information
on this see SDCMSIS-801.
2018-08-26 12:54:32 -05:00
Russ Butler
308dfe3a53
Fix CMSIS __RESTRICT define for IAR
...
Revert the define __RESTRICT from "__restrict" to "restrict". This
fixes compilation for IAR.
2018-08-25 20:41:12 -05:00
Russ Butler
d5be92adb1
Fix define around EvrRtxKernelInitialized
...
Rename the define EVR_RTX_KERNEL_INITIALIZE_COMPLETED_DISABLE to
EVR_RTX_KERNEL_INITIALIZED_DISABLE so it matches the rest of RTX.
2018-08-25 20:41:11 -05:00
Russ Butler
6f7964b23f
CMSIS/RTX: Remove the file os_tick_gtim.c
...
Cortex-A devices in mbed-os supply their own OS timer so the code
from RTX is not needed.
2018-08-25 20:41:11 -05:00
Deepika
fb354752eb
CMSIS/RTX: Patch to conditionally compile
...
tz_context.c should be compiled only for secure world,
definition of API's in tz_context.h should be part of secure
binary/bootloader when building mbed-os as non-secure
(Cherry picked from d0a43b8af0
)
2018-08-25 20:41:10 -05:00
Bartek Szatkowski
ace5df9079
CMSIS/RTX: Reintroduce arm_math.h
...
(cherry picked from commit 6a6e3ac0eb
)
2018-08-25 20:41:10 -05:00
Bartek Szatkowski
b7efe36125
CMSIS/RTX: Fix using FALSE/TRUE with preprocesor
...
(cherry picked from commit 1752803626
)
2018-08-25 20:41:10 -05:00
deepikabhavnani
67b677d285
CMSIS/RTX: Pre-processor defines used for assembly
...
CMSIS repo does not support pre-processor defines, hence multiple assembly
files are added for secure/non-secure and floating point tools.
Mbed OS tools support assembly file pre-processing, but the build system
does not support multiple assembly files for each target, hence updating
the assembly files.
(cherry picked from commit 287121ffdc
)
2018-08-25 20:41:09 -05:00
Bartek Szatkowski
4fd0daf9f5
CMSIS/RTX: Allow overwriting mutex ops for ARMC
...
(cherry picked from commit b88254809e
)
2018-08-25 20:41:09 -05:00
Bartek Szatkowski
1be672d5f0
CMSIS/RTX: Patch RTX so irq_cm4f.s files work with no FPU targets
...
(cherry picked from commit cc2e0517e1
)
2018-08-25 20:41:09 -05:00
Bartek Szatkowski
9a87d7b6a0
CMSIS/RTX: Patch RTX4 to preserve osThreadDef compatibility
...
mbed OS used older RTX4 version and with osThreadDef accepting only 3
parameters, to preserve compatibility we hardcode the 'instances'
parameter to 1.
(cherry picked from commit 428acae1b2ac15c3ad523e8d40755a9301220822)
(cherry picked from commit 4360b7bbf8
)
2018-08-25 20:41:08 -05:00
Russ Butler
342841aa0f
[CMSIS_5]: Updated to 0b521765
2018-08-25 20:41:00 -05:00
Russ Butler
a62b312d0b
Add details to importer script docs
...
Add an example showing how to run the importer and a note to indicate
that it must be run from the mbed-os directory.
2018-08-25 20:40:36 -05:00
Russ Butler
a2a0ea70e2
Update cmsis_importer in prep for CMSIS 5.4.0
...
Reference the correct commits to pull in and remove commits related to
uVisor since these are no longer needed. Also add the missing file
cmsis_os1.c to cmsis_importer.json.
Below is detailed information on each commit added to cmsis_importer.json
CMSIS/RTX: Patch RTX4 to preserve osThreadDef compatibility
4360b7bbf8
CMSIS/RTX: Patch RTX so irq_cm4f.s files work with no FPU targets
cc2e0517e1
CMSIS/RTX: Allow overwriting mutex ops for ARMC
b88254809e
CMSIS/RTX: Pre-processor defines used for assembly
287121ffdc
CMSIS/RTX: Fix using FALSE/TRUE with preprocesor
1752803626
CMSIS/RTX: Reintroduce arm_math.h
6a6e3ac0eb
fixup
2018-08-25 20:40:35 -05:00
Russ Butler
22ebf69dea
Revert "EFM32: Use SECURE_ACCESS to access the ROM table"
...
This reverts commit 1b0922e97b
.
2018-08-25 20:40:35 -05:00
Russ Butler
4ff5ea40dd
Revert uVisor changes for K64F
...
Revert the changes made in the commit:
1c2a7d8842
Added the commit: Access MCG and SIM through secure access
2018-08-25 20:40:31 -05:00
Russ Butler
5d0aac53bb
Move Code to get Cortex A tick irqn
...
Move the function "mbed_get_a9_tick_irqn()" declared in os_tick.h
to SysTimer.h so it does not get overridden when RTX is updated.
This function was originally added in:
3d3e89097d
Fixes for RZ_A1H issue 6543
2018-08-25 20:40:17 -05:00
Cruz Monrreal
2f8e679183
Merge pull request #7592 from orenc17/remove_uvisor
...
Remove uVisor from mbed-os
2018-08-25 19:52:24 -05:00
Cruz Monrreal
5ffcc01be1
Merge pull request #7812 from mikaleppanen/greentea_def_interf
...
Update greentea tests to use default interface
2018-08-24 19:31:00 -05:00
Cruz Monrreal
7531b31c01
Merge pull request #7751 from mikaleppanen/realtek_emac_interf
...
Realtek RTL8195A wifi interface to inherit EMAC interface
2018-08-24 19:30:39 -05:00
Cruz Monrreal
02c03204a6
Merge pull request #7714 from brianesquilona/feature_bootloader
...
Add BOOTLOADER feature
2018-08-24 19:30:21 -05:00
Cruz Monrreal
ce43f8b9d6
Merge pull request #7673 from bridadan/allow_memap_script_to_execute_alone
...
Fixing import paths of memap.py when excuted as a script
2018-08-24 19:30:05 -05:00
Martin Kojtal
31a6fb49bd
Merge pull request #7817 from maciejbocianski/qspi_pinnames
...
standardise QSPI pin names
2018-08-24 21:12:25 +02:00
Martin Kojtal
3065e2fce1
Merge pull request #7854 from deepakvenugopal/master
...
Nanostack patch release for Mbed OS 5.10
2018-08-24 14:46:42 +02:00
Martin Kojtal
2d330533a4
Merge pull request #7652 from andrewleech/nrf5x_config_lfclk
...
NRF5x: Fix config of LFCLK source / settings.
2018-08-24 13:05:24 +02:00
Martin Kojtal
781573a0b2
Merge pull request #7839 from kivaisan/change_loramac_internal_methods_as_private
...
Lora: Change visibility of LoRaMac internal methods as private
2018-08-24 13:04:56 +02:00
Maciej Bocianski
9a41043c0b
adjust hal QSPI test to new pin names
2018-08-24 12:40:59 +02:00
Maciej Bocianski
5195c820e6
standardise QSPI pin names
2018-08-24 12:09:51 +02:00
Martin Kojtal
582b414ea2
Merge pull request #7840 from mirelachirica/wise_1570_greentea_tests
...
WISE_1570 greentea tests
2018-08-24 11:31:44 +02:00
Martin Kojtal
871d7e7361
Merge pull request #7730 from davidsaada/david_stack_stats_fail_fix
...
When stack stats enabled, prevent exceptions if memory allocations fail
2018-08-24 11:31:24 +02:00
Martin Kojtal
05b2d6e785
Merge pull request #7810 from kegilbert/eventqueue-templatewall-rework
...
Eventqueue Templatewall Doxygen Rework
2018-08-24 11:30:54 +02:00
Martin Kojtal
812c6d5c88
Merge pull request #7783 from maciejbocianski/feature-qspi_merging
...
merge QSPI feature branch
2018-08-24 10:50:18 +02:00
Martin Kojtal
70814d6185
Merge pull request #7417 from pan-/improve-cordio-hci-doc
...
Cordio Documentation: Explain how to tests and what tools are available.
2018-08-24 09:52:21 +02:00
Brian Esquilona
7f7290e711
Update: 1. moved the binaries to specific target folders 2. Changed the license to PBL
2018-08-23 17:20:08 -05:00
Cruz Monrreal
deb905da1d
Merge pull request #7815 from donatieng/shared_ptr
...
Re-add Shared Pointer Class into platform features
2018-08-23 10:09:02 -05:00
Cruz Monrreal
e530939f47
Merge pull request #7744 from davidsaada/david_threads_test_fix
...
RTOS threads test: Handle out of memory cases
2018-08-23 10:08:39 -05:00
Cruz Monrreal
6c4d64c520
Merge pull request #7846 from theotherjimmy/gcc-distcc
...
Tools: Use Distcc when it's configured
2018-08-23 10:06:33 -05:00
Cruz Monrreal
f7a731544c
Merge pull request #7816 from kivaisan/option_to_disabled_join_duty_cycle
...
Lora: Refactor duty-cycle configuration and introduce config for JOIN request
2018-08-23 10:05:44 -05:00
Cruz Monrreal
cb8d09a88a
Merge pull request #7843 from codeauroraforum/MXRT_Fix_I2C_Byte_Transfer
...
MIMXRT1050: Fix I2C Byte transfer functions
2018-08-23 10:05:08 -05:00
Martin Kojtal
603c4f930e
Merge pull request #7851 from geky/fix-littlefs-mount-cleanup
...
littlefs: Fixed issue with cleanup in mount function on error
2018-08-23 11:00:06 +02:00
Jimmy Brisson
a7ddea78d7
Remove firmware header from update image
2018-08-22 09:08:12 -05:00
Oren Cohen
787317b7eb
Remove uVisor from mbed-os
2018-08-22 16:36:59 +03:00
Maciej Bocianski
883ea2f1d1
astyle fixes on QSPI API/driver/tests
2018-08-22 15:02:15 +02:00
Maciej Bocianski
ad49388888
QSPI driver: fixes after PR 7783 review
...
- make QSPI::lock and QSPI::unlock protected
- fix QSPI::_initialize return value
- add assert on QSPI::_initialize failure
- minor comments fixes
2018-08-22 15:02:14 +02:00
Maciej Bocianski
c94f22c7ad
mbed_hal-qspi test code refactoring after PR 7783 review
...
- refactoring of status/config register logging code,
- make QspiCommand a class,
2018-08-22 15:02:14 +02:00
Maciej Bocianski
3bf9df7b56
target DISCO_F413ZH: add QSPI flash pin names
2018-08-22 15:02:13 +02:00
Maciej Bocianski
e6923342ef
hal-qspi test: add F413ZH support
2018-08-22 15:02:12 +02:00
Maciej Bocianski
948d1a3013
hal-qspi test: code refactoring
2018-08-22 15:02:12 +02:00
adustm
6095ccf1b4
Add reset internal state before call to HAL_QspiInit function
2018-08-22 15:02:11 +02:00
adustm
7dda4e4fc6
Implement qspi_free function
2018-08-22 15:02:10 +02:00