Hugues Kamba
06c3a5bf25
Fix: Allow target size restriction for LPC55S69
...
The build tool uses the sector size found in the CMSIS Pack to determine if
the size that can be specified by `target.restrict_size` is enough to fit
all the parts of a given binary. See `target.restrict_size` documentation
in the Mbed OS manual for more information.
The sector size found in the CMSIS Pack is overriden to allow the build
tool to accurately make the decision.
The target's sectors in the CMSIS Pack are defined in 32KB pages.
However, you can erase pages at the 512 byte level.
This commit changes defined sector erase size to 512 bytes instead of
32 Kilobytes.
2019-06-07 16:57:25 +01:00
Lingkai Dong
7426a8a860
Remove ArrayView
...
All use of ArrayView within mbed-os have been removed, and
it is not a public API.
2019-06-07 16:19:18 +01:00
Lingkai Dong
6f7f1337cd
BLE: Replace uses of ArrayView with mbed::Span
...
The platform API mbed::Span provides the same features as ArrayView.
2019-06-07 16:18:55 +01:00
Filip Jagodzinski
8e3ca20817
K82F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:47:59 +02:00
Filip Jagodzinski
3119d69f0e
KL27Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:46:53 +02:00
Filip Jagodzinski
9efaabe404
K66F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:41:36 +02:00
Filip Jagodzinski
68269672c4
KL43Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:41:09 +02:00
Filip Jagodzinski
5f95c5fc85
KL82Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:37:49 +02:00
Laurent Meunier
d4db0f30c7
Update HAL Sleep manager test to cope with STM32 LPTIM HW
...
In particular and as kindly suggested by Przemec S. :
1. Add setup/teardown handler’s for all cases. This disables sys-tick,
so there should be no unexpected lp ticker interrupt scheduling.
2. Modify setup/teardown handler’s: remove suspension of lp/us tickers,
so they can count as this is required by test_lock_unlock_test_check test
case.
3. Use TEST_ASSERT_TRUE(sleep_manager_can_deep_sleep_test_check()) after
setting interrupt to cope with STM specific handling (CMPOK interrupt with
deep-sleep locked). This performs wait only if needed and will not affect
other targets which do not need extra wait.
4. Move sleep_manager_lock_deep_sleep() after TEST_ASSERT_TRUE(sleep_manager_can_deep_sleep_test_check())
5. Use TEST_ASSERT_TRUE(sleep_manager_can_deep_sleep_test_check()) in
test_lock_unlock_test_check to let lower layers manage deep sleep.
2019-06-07 16:37:44 +02:00
Filip Jagodzinski
0b33e8f976
KW24D: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:35:36 +02:00
Filip Jagodzinski
96b6cd3ee6
KW41Z: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:33:42 +02:00
Filip Jagodzinski
01e130ba83
K24F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:19:25 +02:00
Filip Jagodzinski
f60850ad50
K22F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 16:17:07 +02:00
Martin Kojtal
15ec24e1b4
Merge pull request #10786 from adbridge/master
...
Re-enable complilation for wifi and nanostack examples
2019-06-07 15:12:48 +01:00
Filip Jagodzinski
14b83e7fdf
STM32WB: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:36:21 +02:00
Filip Jagodzinski
53222fa448
STM32L4: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:33:49 +02:00
Filip Jagodzinski
fa0cc68657
STM32H7: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:30:03 +02:00
Filip Jagodzinski
d6a48218ee
STM32F3: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:26:20 +02:00
Filip Jagodzinski
b88b94eb75
STM32L0: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:17:22 +02:00
Filip Jagodzinski
c387bd889f
STM32F0: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:17:17 +02:00
Filip Jagodzinski
84384162bb
STM32F7: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:17:07 +02:00
Filip Jagodzinski
94c27aa750
K64F: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:17:07 +02:00
Lingkai Dong
3307c59610
Merge pull request #1 from paul-szczepanek-arm/nrf52_cordio
...
disable test
2019-06-07 13:57:50 +01:00
paul-szczepanek-arm
1fe06f18c3
exculde test
2019-06-07 13:50:30 +01:00
adbridge
366b18ea1f
Re-enable complilation for wifi and nanostack examples
2019-06-07 10:50:24 +01:00
Martin Kojtal
6a1ab73988
Merge pull request #10770 from Patater/update-to-mbedcrypto-1.1.0d1
...
mbed-crypto: Update to Mbed Crypto 1.1.0d1
2019-06-07 09:18:53 +01:00
d-kato
4dc3b0e269
Fix bugs by optimization
2019-06-07 11:14:03 +09:00
d-kato
4eca482061
tests-mbed_drivers-crc: Increase the task stack
2019-06-07 11:07:59 +09:00
Przemyslaw Stekiel
86dab2f9fa
Disable time drifting test cases.
...
Time drifting test cases use serial communication with the host and are unstable on CI.
Skip time-drifting test cases if SKIP_TIME_DRIFT_TESTS macro is defined.
The idea for the future is to use FPGA test shield for timing tests instead of host scripts.
Also remove `__ARM_FM` macro which in most cases was used to disable time drifting tests. In other cases replace `__ARM_FM` with `TARGET_ARM_FM` which is more suitable.
2019-06-06 21:48:04 +02:00
Chris Trowbridge
9a1309f5f8
Modify ME910 driver to follow power on/off best practices and add custom get_context() function
2019-06-06 14:29:15 -04:00
Qinghao Shi
81c96a785d
Tests: enable kvstore test for Fastmodel for test code coverage
2019-06-06 18:54:59 +01:00
Qinghao Shi
07c3d90a5c
FastModel: change Fastmodel memory layout regions from 3 to 2
...
- change memoryzones.h
- change linker scripts for each toolchains
2019-06-06 18:54:59 +01:00
Qinghao Shi
7a1aafaf40
FastModel: change FVP_MPS2_M3 to FVP_MPS2 enable the MPS2 Family
2019-06-06 18:54:58 +01:00
Qinghao Shi
111daa0a4c
FastModel: enable kvstore
2019-06-06 18:54:58 +01:00
Qinghao Shi
2e4329192e
FastModel: enable FLASHIAP componment
2019-06-06 18:52:30 +01:00
Michael Schwarcz
910a402ce6
TF-M patch: Fix tfm_psa_call_venner wrong argument type (TF-M issue #241 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T241
(cherry picked from commit da01e3411f
)
(cherry picked from commit 280715f9b7
)
2019-06-06 16:08:34 +01:00
Michael Schwarcz
35938a4071
TF-M patch: Fix service handles not cleared issue (TF-M issue #230 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T230
(cherry picked from commit 0c23e86989
)
(cherry picked from commit 9c1e080e39
)
2019-06-06 16:08:33 +01:00
Michael Schwarcz
795e6418d0
TF-M patch: Fix tfm_ns_lock_init issue (TF-M issue #239 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T239
(cherry picked from commit 5f2e4b3911
)
(cherry picked from commit 5d41a2aeae
)
2019-06-06 16:08:33 +01:00
Vincent Veron
82979f6415
TARGET_STM: SPI: update pull up config depending on clk polarity
...
Fix #10589
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-06-06 17:06:04 +02:00
Chris Trowbridge
0a717e435b
Add default soft/hard power on/off sequences for ME910
2019-06-06 10:26:51 -04:00
Chris Trowbridge
0d9facd921
Remove ME910 trace group #define
2019-06-06 10:26:50 -04:00
Chris Trowbridge
21a8ed8108
Remove ME910 flow control debug message
2019-06-06 10:26:50 -04:00
Chris Trowbridge
f0afd1f896
Remove unnecessary #includes
2019-06-06 10:26:50 -04:00
Chris Trowbridge
1a20ea11af
Remove default power on/off functions
2019-06-06 10:26:50 -04:00
Chris Trowbridge
841607d029
Add Telit ME910 driver
2019-06-06 10:26:50 -04:00
Marten Lootsma
aed0d054d7
Added support for SPIF of size bigger than 16Mbyte
...
- checks if size is bigger than 16Mbyte
- changes to 4 byte address mode of neccessary
2019-06-06 16:01:40 +02:00
Martin Kojtal
489bd10626
Merge pull request #10629 from trowbridgec/add-target-ep-agora
...
Add support for the Embedded Planet Agora target
2019-06-06 14:50:14 +01:00
Michael Schwarcz
11bff3f3cb
TF-M patch: General modifications
...
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef
(cherry picked from commit 1f30b52488
)
(cherry picked from commit 71cd34df32
)
(cherry picked from commit 185d2865da
)
(cherry picked from commit fb068d2cb4
)
2019-06-06 14:49:41 +01:00
Devaraj Ranganna
b0fe59df00
[trusted-firmware-m]: Updated to e7efdc6
2019-06-06 14:47:00 +01:00
Antti Kauppila
43b67459ae
Assert handling added
2019-06-06 13:12:29 +03:00