Commit Graph

17120 Commits (f0c4e949c5254cf3d3ef8073a26f3d0ce3b3b51f)

Author SHA1 Message Date
Deepika ea72d5e734 Add non-secure reset handler address 2018-07-27 13:30:05 -05:00
deepikabhavnani a70e6f51a4 Corrected Vector table address in scatter file 2018-07-27 13:30:05 -05:00
cyliangtw 625bfa8c0b Link register base with partition file & correct heap size in linker file 2018-07-27 13:30:05 -05:00
cyliangtw e674eda1dc Support secure loader invoke non-secure Mbed OS 2018-07-27 13:30:05 -05:00
deepikabhavnani d7964f4e8a Corrected preprocess define usage in toolchain specific linker files 2018-07-27 13:30:05 -05:00
cyliangtw 2bf79ca1c2 Fix GCC linker file 'cannot move location counter backwards' issue 2018-07-27 13:30:05 -05:00
cyliangtw 16a6012d97 IAR linker file support both of secure & non-secure domain 2018-07-27 13:30:05 -05:00
cyliangtw cee23da446 Linker files support both of secure & non-secure domain 2018-07-27 13:30:05 -05:00
cyliangtw bcfe934734 Update GCC linker for NSC Veneer 2018-07-27 13:30:05 -05:00
Deepika 0be7de013e ARMC6 compiler related changes 2018-07-27 13:30:05 -05:00
Deepika 42b713cab2 Removed device name, till device patch is added to IAR/Keil 2018-07-27 13:30:05 -05:00
Deepika f1336c9f85 Set SAU Region present flag for M2351 device and include security header file.
As per SAU documents, SAU is always present if the security extension is
available. The functionality differs if the SAU contains SAU regions.
If SAU regions are available it is configured with the macro __SAUREGION_PRESENT
2018-07-27 13:30:05 -05:00
Deepika 0468bf2b6b Added xx_ticker_fire_interrupt function for M2351 device 2018-07-27 13:30:05 -05:00
Deepika 5876114f23 Use Cortex M23 specific header files and interrupts
1. Update use of correct header files
2. Added missing entry of M2351 device in IAR defines.
3. Removed support of ARM toolchain in targets.json
2018-07-27 13:30:04 -05:00
cyliangtw eff7974e48 Revise nu_bitutil.h for M23 2018-07-27 13:30:04 -05:00
cyliangtw a7723c4b73 Modify Nuvoton common files to avoid conflicting with master 2018-07-27 13:30:04 -05:00
cyliangtw 984576408e Add partition header file for CMSE feature 2018-07-27 13:30:04 -05:00
cyliangtw a05d449de4 Remove mbed_sdk_init_forced 1. mbed_sdk_init is called before C++ global obj constructor in OS 5 2. Refine startup file with GCC_ARM toolchain related to this modification. 2018-07-27 13:30:04 -05:00
cyliangtw 7208455b8f remove progen, not used any more 2018-07-27 13:30:04 -05:00
cyliangtw e1a9492e75 Support __vector_table instead of __vector_handlers in IAR 2018-07-27 13:30:04 -05:00
cyliangtw db10dc0207 Support GCC & IAR toolchain 2018-07-27 13:30:04 -05:00
cyliangtw d67d32d3af Sync SDH_CardDetection type to avoid GCC compiler error 2018-07-27 13:30:04 -05:00
cyliangtw 949c330229 Add one new target M2351, regard as M0+ with some V8M CPU control at first 2018-07-27 13:30:04 -05:00
Jimmy Brisson 0ac5f32579 Show Mbed 2 support in compile -S 2018-07-27 13:30:00 -05:00
David Saada 20387d41d3 Unity: Add macros for test skipping.
The TEST_SKIP and TEST_SKIP_UNLESS macros (w/ and w/o messages) allow the test
to skip the test case execution from the point the macro was called (without
failing the test).
2018-07-27 13:30:00 -05:00
Steven Cooreman 43c81dee40 Add EFM32GG11 Ethernet driver 2018-07-27 13:29:56 -05:00
Steven Cooreman f86bb29914 Add EFM32GG11_STK3701 support 2018-07-27 13:29:55 -05:00
David Saada a8d99d619f NVStore tests: Tune memory consumption; stop threads greafully
- Tune thread stack size in nvstore test using heap stats
- Stop threads gracefully instead of killing them (in multi-thread test)
2018-07-27 13:29:55 -05:00
Martin Kojtal 50bd61a4a7
Merge pull request #7518 from ARMmbed/release-candidate
Release candidate for mbed-os-5.9.3
2018-07-16 09:39:51 +02:00
Cruz Monrreal II 627be9bdd6 Update Mbed version block 2018-07-15 22:54:26 -05:00
bcostm f1550aea7a stm32 lpuart: enable lse and hsi if not done 2018-07-15 22:54:26 -05:00
Jimmy Brisson 0eafe2c288 Skip target lookup in test builds.
This should allow custom targets to be transferred to each process
when building in parallel
2018-07-15 22:54:26 -05:00
jeromecoutant ddc39b33b9 STM32 LPTICKER with LPTIM minor update
Code cleaning (L0 Cube update, comment precision)
2018-07-15 22:54:26 -05:00
Deepika 62990b487d Update stats to fetch Mbed OS version info 2018-07-15 22:54:26 -05:00
Jimmy Brisson 2e0139ebc9 Tools: Correct release version "parsing" for py3 2018-07-15 22:54:26 -05:00
Jimmy Brisson c37190e525 Drop quotes from command line make 2018-07-15 22:54:26 -05:00
Jimmy Brisson e672a3e6d0 Correct cmse lib creation for the make_gcc_arm 2018-07-15 22:54:26 -05:00
Jimmy Brisson f730d491ce Fix Python3 bug with `mbed export -S` 2018-07-15 22:54:26 -05:00
Przemyslaw Stekiel 4d31fcbd0c tests-mbed_hal-lp_ticker: change implementation of the delay before deep-sleep.
Serial buffer must be flushed before entering deep sleep mode. In the test this is done by the additional delay which is implemented on the busy loop which decrements given value down to 0 (`void wait_cycles(volatile unsigned int cycles)`). This solution is not appropriate since it is very target specific and the cycles value has been already increased few times. Additionally very big number of loop cycles which is suitable for fast targets may take much longer on slower boards and results in test timeout.
It has been verified that 20ms is sufficient delay for the green-tea transmission. In this test we cannot simply use `wait_ms(20)` since this potentially may put board to sleep and wake up using lp ticker. The test re-initialzies the lp ticker(disables ticker interrupt) and this operation may break the schedule and time tracing by the upper layer. But we can use us ticker which is not affected by this test. The solution is to add a delay routine based on busy loop and us ticker only. This way are able to wait exactly 20 ms.
2018-07-15 22:54:26 -05:00
Naveen Kaje 9b224fe98f NRF52832 linker script: formatting fix 2018-07-15 22:54:26 -05:00
Naveen Kaje 31db58a6a4 Fix linker script for NRF52840/ARM 2018-07-15 22:54:26 -05:00
Hasnain Virk 5d50cf1836 Streamlining connect() API with posix like retcodes
For ABP: First call to connect() or connect(params) will return LORAWAN_STATUS_OK
         and a CONNECTED event will be sent. Any subsequent call will return
         LORAWAN_STATUS_ALREADY_CONNECTED (posix EISCONN) and no event is generated.

FOR OTAA: First call to connect() or connect(params) will return LORAWAN_STATUS_CONNECT_IN_PROGRESS
          and a CONNECTED event will be sent whenever the JoinAccept is received. If the application
          calls connect again before receiving the CONNECTED event, LORAWAN_STATUS_BUSY will be returned.
          After the CONNECTED event is dispatched, any subsequent call to connect() or connect(params) API
          will be returned with LORWAN_STATUS_ALREADY_CONNECTED.

No new parameters are accepted after the first call. The application must disconnect before making
a connect() call with new parameters.
2018-07-15 22:54:26 -05:00
Hasnain Virk 000adb03f0 Updating docs
API documentation is updated to clear how the connection related return codes will
work from now on.
2018-07-15 22:54:26 -05:00
Hasnain Virk b6fbb97892 LoRaWAN: Handling re-joining when already Joined
This is a remedy for the issue #7230.
While the device is joining, LORAWAN_STATUS_CONNECT_IN_PROGRESS is returned.
However, if the device is already joined, we will return LORAWAN_STATUS_ALREADY_CONNECTED.
2018-07-15 22:54:26 -05:00
Martin Kojtal 3950834e51 Raytac: target removal
No files to build - should not be in targets
Reverts part of the https://github.com/ARMmbed/mbed-os/pull/6178
2018-07-15 22:54:25 -05:00
Deepika 9c58d99bd7 Separate version header file to get version updates in Mbed OS 2018-07-15 22:54:14 -05:00
Mirela Chirica 5d05e443bb Cellular: Fix socket_send unit test 2018-07-15 22:53:59 -05:00
Ari Parkkila 594e5283be Cellular: Removed max_packet_size 2018-07-15 22:53:59 -05:00
Przemyslaw Stekiel b305890fc7 tests-mbed_drivers-lp_timer: change delay method
The test sometimes fails on NRF51_DK (test case: "Test: LowPowerTimer - time measurement 1 ms.") in morph tests.

The test verifies if LowPowerTimer class correctly counts elapsed time. Sometimes we got measured ~1600 us for delay 1000 us (delta 550 us).
The delay is performed using `wait_us()` function which for delays greater than or equal to 1 ms (our case) calls `Thread::wait((uint32_t)ms);`. This causes rescheduling and potentially can put board into sleep (deep sleep mode is disabled by `wait_us()`). For our test purposes we don't need rescheduling/sleep since this actions takes extra time and have influence on the time measurement accuracy.
The solution is to implement function for delay which is based on busy loop and uses us ticker. It has been verified that this solves the problem. With this fix when measurement of 1 ms is repeated 1000 times we got usually measured time equal to ~1080 us, and sometimes ~1300us (checked that this is caused by systick interrupt handling). Since this is test for drivers layer and the results are acceptable I decided to not disabling systick in the test).
2018-07-15 22:53:59 -05:00
Mirela Chirica e900d42cdf Cellular: HSI set to be source clock for WISE_1570 2018-07-15 22:53:58 -05:00