Cruz Monrreal
e533b41c55
Merge pull request #6879 from kivaisan/compile_lora_examples_only_for_lora_targets
...
Build mbed-os-example-lora only for lora targets
2018-05-14 10:35:11 -05:00
Ron Eldor
c5ea8d71bb
Change to DEVICE_CRYPTOCELL definition
...
Change `#if DEVICE_CRYPTOCELL` to `#if defined(DEVICE_CRYPTOPCELL)`
2018-05-14 18:34:10 +03:00
Juhani Puurula
8bede897e6
Merge commit '03edf998fa6142cb5e3d4c28154c9bdfea98105f'
...
* commit '03edf998fa6142cb5e3d4c28154c9bdfea98105f':
Squashed 'features/nanostack/coap-service/' changes from 36d36ce..1cb994e
2018-05-14 17:08:10 +03:00
Juhani Puurula
03edf998fa
Squashed 'features/nanostack/coap-service/' changes from 36d36ce..1cb994e
...
1cb994e Move security _pkey into X.509 condition (#99 )
git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 1cb994e46e4943b44139cd19c5e97b74834e8216
2018-05-14 17:08:10 +03:00
Donatien Garnier
6c6af1b0d5
Added missing masks and fixed bit ordering in is_random_xx_address() functions
2018-05-14 13:59:32 +01:00
Donatien Garnier
d8b63fc03d
Reordered initializers in GenericGap
2018-05-14 13:53:50 +01:00
Donatien Garnier
67ec6323fc
Added update_random_address() implementation in GenericGap
2018-05-14 13:52:29 +01:00
Donatien Garnier
3523cdb264
Missing initializer in GenericGap
2018-05-14 13:37:37 +01:00
Donatien Garnier
472d3de849
Give GenericGap access to the Security Manager's PAL
2018-05-14 13:36:02 +01:00
Donatien Garnier
a3d9d6cebd
Business logic for handling non-resolvable private addresses
2018-05-14 13:26:39 +01:00
Bartek Szatkowski
42b48821eb
Fix platform failing to build after rebase
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
38df9306d7
Update wsf_types.h to support updated CMSIS
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
b4d5f0e10f
CMSIS: Move non-config includes behind PTIM ifdef
...
That is to enabled integration with build-it-all Mbed OS type build
system.
Cherry-picked from CMSIS_5 repo: e8d0a476
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
00a321846d
Rename __DOMAIN_NS to DOMAIN_NS to match CMSIS
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
31eee7db20
Fix cmsis_importer.json so it works with the newest CMSIS
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
6a6e3ac0eb
CMSIS/RTX: Reintroduce arm_math.h
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
1752803626
CMSIS/RTX: Fix using FALSE/TRUE with preprocesor
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
a1fb51c283
RTX5: uVisor: Remove static from svcRtxKernelUnlock/Lock to support uVisor
2018-05-14 12:18:21 +01:00
Jaeden Amero
2f7a841e0e
RTX5: uVisor: Defer to uVisor for SVCall priority
...
Only set the SVCall priority if uVisor is not present. If uVisor is
present, keep using whatever priorities it has already set up.
2018-05-14 12:18:21 +01:00
Jaeden Amero
32d04a08d0
RTX5: uVisor: Add OsEventObserver
...
Add the OsEventObserver mechanism. A client interested in receiving
notifications on certain OS events can register to receive notifications
with osRegisterForOsEvents. This is useful for clients like the secure
memory allocator, which observes thread switching events in order to
swap in and out different memory allocator objects.
2018-05-14 12:18:21 +01:00
Jaeden Amero
86b91beeca
RTX5: uVisor: Extend thread control block with context
...
OsEventObserver objects expect a context to be maintained per thread on
their behalf. Add this context to the thread control block and extend
the thread creation functions with the ability to supply a context.
2018-05-14 12:18:21 +01:00
Jaeden Amero
c250369803
RTX5: uVisor: Use OsEventObserver
2018-05-14 12:18:21 +01:00
Jaeden Amero
73a957997f
RTX5: uVisor: Switch threads very carefully
...
uVisor doesn't set the PSP of the target thread. The RTOS sets the PSP
of the target thread from the target thread's TCB. However, when
interrupts of higher priority than PendSV happen between the call to
uVisor to switch boxes, and the RTOS setting PSP, the uVisor vIRQ
interrupt handler will attempt to use an invalid PSP (the PSP from
before the box and thread switch). This leads to a crash. Make box and
thread switching atomic by disabling interrupts immediately before the
box switching until immediately after the new PSP is set.
2018-05-14 12:18:21 +01:00
Jaeden Amero
cb2b91cac7
CMSIS/RTX: uVisor: Import v0.30.0
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
3f1ea4b9ee
CMSIS/RTX: Update idle handler and SysTick ops
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
07aad3c862
CMSIS/RTX: Adapt Mbed OS to CMSIS/RTX device support scheme
2018-05-14 12:18:21 +01:00
deepikabhavnani
287121ffdc
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.
2018-05-14 12:18:20 +01:00
Bartek Szatkowski
b88254809e
CMSIS/RTX: Allow overwriting mutex ops for ARMC
2018-05-14 12:18:20 +01:00
Bartek Szatkowski
cc2e0517e1
CMSIS/RTX: Patch RTX so irq_cm4f.s files work with no FPU targets
2018-05-14 12:18:20 +01:00
Bartek Szatkowski
4360b7bbf8
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)
2018-05-14 12:18:20 +01:00
Bartek Szatkowski
8afbd66763
[CMSIS_5]: Updated to 49ac527a
2018-05-14 12:18:20 +01:00
Bartek Szatkowski
ac9276499f
Add low power timer fallback for platforms without RTC
...
Low power timer will be used as RTC for platforms that don't have HW RTC
capabilities.
2018-05-14 12:07:59 +01:00
Yossi Levy
789eb04617
Changed trng loop condition
2018-05-14 14:07:57 +03:00
Yossi Levy
73d1c8df93
Fix of error macros
2018-05-14 13:52:20 +03:00
Qinghao Shi
d48d3aff2b
fix a bug in greentea-client
...
reset "LastChar" after "tok_close" received
fix the bug where greentea-client require a character input between K-V pairs
2018-05-14 11:41:14 +01:00
Qinghao Shi
953a735129
FastModels: enable FVP_MPS2 targets for mbed os
...
add ARM_FM top level category
add second level parent FVP_MPS2 inherits ARM_FM
add each target ( M0 M0P M3 M4 M7 ) inherits FVP_MPS2
2018-05-14 11:40:21 +01:00
Hasnain Virk
d270105fa8
LoRaWAN: Wrong type of message check
...
In the reception data path, we needed to check the MCPS CONFIRMATION type
not the MCPS INDICATION type. Indication message type is for downlink message type
which can be UNCONFIRMED even if we have sent a CONFIRMED one, e.g., an ACK.
2018-05-14 13:36:38 +03:00
Qinghao Shi
76dc715a0e
FastModels: add FVP_MPS2_M7 target support
...
add cmsis drivers and toolchain scripts for FVP_MPS2_M7
2018-05-14 11:34:50 +01:00
Qinghao Shi
1bf59cd54d
FastModels: add FVP_MPS2_M0P target support
...
add cmsis drivers and toolchain scripts for FVP_MPS2_M0P
2018-05-14 11:34:23 +01:00
Qinghao Shi
67abec3998
FastModels: add FVP_MPS2_M0 target support
...
add cmsis drivers and toolchain scripts for FVP_MPS2_M0
2018-05-14 11:33:57 +01:00
Qinghao Shi
ce2c21a1f4
FastModels: add FVP_MPS2_M4 target support
...
add cmsis drivers and toolchain scripts for FVP_MPS2_M4
2018-05-14 11:33:31 +01:00
Qinghao Shi
2e4a023489
FastModels: add FVP_MPS2_M3 target support
...
add cmsis drivers and toolchain scripts for FVP_MPS2_M3
2018-05-14 11:32:52 +01:00
Qinghao Shi
2c88a8314a
FastModels: add a new parent platform ARM_FM
...
create a new platform folder TARGET_ARM_FM
add general drivers files for FVP_MPS2
2018-05-14 11:30:34 +01:00
Ron Eldor
adbfdc1149
Remove SW fallback for CCM
...
Remove SW fallback for CCM mode, and return
`MBEDTLS_ERR_AES_FEATURE_UNAVAILABLE` when trying to set a key
which is not 128 bit size.
2018-05-14 13:15:57 +03:00
Ron Eldor
ccaef16f6a
Remove AES HW acceleration
...
Remove AES HW acceleration, as it is targeted future version
2018-05-14 13:15:57 +03:00
Ron Eldor
09d0d49efd
Remove extra `mbedtls_zeroize` call
...
REmove additional unneded call to `mbedtls_zeroize()` which was added after rebase
2018-05-14 13:15:57 +03:00
Ron Eldor
069c5964ae
Fix typo in Readme
...
Fix typo `DEBICE_CRYPTOCELL ` - > `DEVICE_CRYPTOCELL`
2018-05-14 13:15:57 +03:00
Ron Eldor
8f44cdff5d
Resolve issues raised after rebasing
...
Remove `cc_rand.h` and duplicate check in `mbedtls_ecdsa_sign()`,
that were inserted after rebasing.
2018-05-14 13:15:57 +03:00
Ron Eldor
2b2aa0f94d
Rephrase meaning of `MBEDTLS_CONFIG_HW_SUPPORT`
...
Rephrase the label, to make it more clearer.
2018-05-14 13:15:57 +03:00
Amanda Butler
e68815e02b
Copy edit changes to Readme.md
...
Copy edit changes, mostly for active voice and consistent tense.
2018-05-14 13:15:57 +03:00