Commit Graph

17323 Commits (8dab7417aebb14b8f3b73ba679a2882e525066ea)

Author SHA1 Message Date
Jimmy Brisson 8dab7417ae Cleanup comments and code near add_directory 2018-07-16 14:11:08 -05:00
Jimmy Brisson 0ad5df379c Create fully incremental scans without lazy dicts 2018-07-16 14:11:08 -05:00
Jimmy Brisson 361fc65f08 Allow missing toolchain parameter to get_config 2018-07-16 14:11:08 -05:00
Jimmy Brisson 4c7cf21feb Require notifier in resources 2018-07-16 14:10:21 -05:00
Jimmy Brisson 7c42302854 Update test builder to use new resources 2018-07-16 14:10:21 -05:00
Jimmy Brisson 3e6e9e8c26 Remove unused git hook 2018-07-16 14:10:21 -05:00
Jimmy Brisson 87146cd66a Cleanup and reduced scanning 2018-07-16 14:10:21 -05:00
Jimmy Brisson 519e338667 Rework export resource scanning 2018-07-16 14:10:21 -05:00
Jimmy Brisson 2d8cf737e4 Move resource scanning into it's own module 2018-07-16 14:10:21 -05:00
Cruz Monrreal be215a310d
Merge pull request #7448 from davidsaada/david_unity_test_skip
Unity: Add macros for test skipping.
2018-07-16 09:06:52 -05:00
Cruz Monrreal 38744b9e68
Merge pull request #7498 from bcostm/fix_hsi_lse_lpuart
STM32: enable HSI/LSE clocks for LPUART
2018-07-14 13:33:35 -05:00
Cruz Monrreal 904bdf8016
Merge pull request #7477 from theotherjimmy/fix-customtgt-tests
Tools: Skip target lookup in test builds.
2018-07-14 12:15:04 -05:00
Cruz Monrreal 671b3c875e
Merge pull request #7507 from jeromecoutant/PR_LPTIM
STM32 LPTICKER with LPTIM minor update
2018-07-14 06:29:36 -05:00
Cruz Monrreal 56dd4bfb24
Merge pull request #7436 from deepikabhavnani/update_sys
Update stats to fetch Mbed OS version info
2018-07-14 06:29:22 -05:00
Cruz Monrreal 39407adf1b
Merge pull request #7475 from theotherjimmy/py3-release-ver-parse
Tools: py3 compatible mbed-os version lowercasing
2018-07-14 06:29:03 -05:00
Cruz Monrreal d4a0e6cf7a
Merge pull request #7503 from theotherjimmy/unquote-make
Tools: Drop quotes from makefiles
2018-07-13 22:13:33 -05:00
Cruz Monrreal 9667b5e49b
Merge pull request #7500 from theotherjimmy/fix-gcc-v8m-export
Tools: Correct cmse lib creating with make_gcc_arm exporter
2018-07-13 22:13:12 -05:00
Cruz Monrreal 1ee7d8b6d5
Merge pull request #7481 from theotherjimmy/py3-export-supported
Tools: Fix py3 bug with mbed export -S
2018-07-13 22:12:59 -05:00
Cruz Monrreal def1ef2390
Merge pull request #7494 from mprse/lp_ticker_deep_sleep_delay_fix
tests-mbed_hal-lp_ticker: change implementation of the delay before deep-sleep.
2018-07-13 17:33:55 -05:00
Cruz Monrreal 602b0cea09
Merge pull request #7079 from SiliconLabs/feature/EFM32GG11-OS5.9
Add support for EFM32GG11
2018-07-13 17:33:34 -05:00
Cruz Monrreal cc8651e45c
Merge pull request #7505 from naveenkaje/pushbranch
Fix linker script for NRF52840/ARM
2018-07-13 13:30:25 -05:00
Deepika b05d105493 Update stats to fetch Mbed OS version info 2018-07-13 11:58:49 -05:00
Cruz Monrreal c5ba97fbe0
Merge pull request #7445 from hasnainvirk/issue_7230
LoRaWAN: Remedy for issue #7230
2018-07-13 11:48:13 -05:00
Cruz Monrreal 531ee3c5d4
Merge pull request #7461 from 0xc0170/fix_raytac_removal
Raytac: target removal
2018-07-13 11:46:58 -05:00
Cruz Monrreal 6fcb77ee34
Merge pull request #7434 from deepikabhavnani/version_header
Separate version header file in Mbed OS
2018-07-13 11:43:15 -05:00
Cruz Monrreal a4117f65e2
Merge pull request #7318 from AriParkkila/cellular-max-packet-size
Cellular: Remove max_packet_size
2018-07-13 11:39:35 -05:00
Cruz Monrreal 4c1a89c6a7
Merge pull request #7459 from hasnainvirk/issue_7232_7432
LoRaWAN: FRMPayload size validity
2018-07-13 11:03:10 -05:00
Cruz Monrreal 1cbfa00c46
Merge pull request #7471 from mprse/lp_timer_test_fix
tests-mbed_drivers-lp_timer: change delay method
2018-07-13 09:12:37 -05:00
Cruz Monrreal 1145d6bb3c
Merge pull request #7489 from mirelachirica/wise_1570_hsi_source_clock
Cellular: HSI set to be source clock for WISE_1570
2018-07-13 09:12:22 -05:00
Cruz Monrreal d33d93bf47
Merge pull request #7501 from theotherjimmy/gen-file-mkdir
Tools: Make directories before gen file uses them
2018-07-13 09:12:07 -05:00
jeromecoutant 8a0b83233a STM32 LPTICKER with LPTIM minor update
Code cleaning (L0 Cube update, comment precision)
2018-07-13 10:03:31 +02:00
Naveen Kaje ed251020b6 NRF52832 linker script: formatting fix 2018-07-12 15:19:13 -05:00
Naveen Kaje 192eb28814 Fix linker script for NRF52840/ARM 2018-07-12 15:19:13 -05:00
Jimmy Brisson 33a56b4470 Drop quotes from command line make 2018-07-12 13:11:57 -05:00
Jimmy Brisson ef7b466958 Correct cmse lib creation for the make_gcc_arm 2018-07-12 10:49:26 -05:00
Jimmy Brisson 9a3ad69ee9 Ensure that files generated have a directory 2018-07-12 10:27:14 -05:00
Cruz Monrreal f4c936f455
Merge pull request #7486 from marcuschangarm/fix-nrf52-iar
Fix linker script for NRF52840/IAR
2018-07-12 10:09:12 -05:00
Cruz Monrreal 68002155d3
Merge pull request #7107 from kjbracey-arm/ns-global-events
Add option to make Nanostack use global event queue
2018-07-12 10:06:03 -05:00
Cruz Monrreal 6300d8b5e4
Merge pull request #7487 from marcuschangarm/fix-nrf52-serial
Allow STDIO pins to be NC in NRF52 series
2018-07-12 10:05:08 -05:00
bcostm 665de33cc6 stm32 lpuart: enable lse and hsi if not done 2018-07-12 15:58:02 +02:00
Przemyslaw Stekiel 832e8b3f36 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-12 13:29:13 +02:00
Hasnain Virk ed9048f79c Correcting unit for timeout
timeout unit should be ms not micro second.
2018-07-12 13:28:21 +03:00
Hasnain Virk 9a77b5d05f FRMPayload size validity
It was pointed out in #7432 and #7232 that the stack was comparing frame payload size
with the allowed payload size in a wrong manner in shcedule_tx().
We must strip the overhead from the frame before comparison.

We did have a similar check in prepare_ongoing_tx() API which would correctly analyse
the situation but a check was needed in schedule_tx() as well. The reason is that the
schedule_tx() API can be called automatically by the stack if the user intiated requested
was not promptly entertained because of duty cycle restriction. Now, the datarate can change
here (for CONFIRMED messages if the ack was not received after retries max out). That's why
a test for validity was needed.

We now perform a comparison using _ongoing_tx_message structure which contains the actual
FRMPayload size.

For proprietary type of messages only MHDR and Port field is used so we shouldn't add MAC commands
and other overhead into them.

In order to have consistent frame overhead, we have opted to always include Port field in the
frame.
2018-07-12 13:28:15 +03:00
Mirela Chirica 72aabc9db4 Cellular: HSI set to be source clock for WISE_1570 2018-07-12 10:12:15 +03:00
Cruz Monrreal e1df16e843
Merge pull request #7365 from jeromecoutant/PR_RTC_SHADOW
STM32 RTC : bypass shadow registers
2018-07-11 21:29:02 -05:00
Cruz Monrreal 19c6f3b316
Merge pull request #7290 from bcostm/refactor_us_ticker
STM32: Refactor us_ticker files
2018-07-11 21:28:32 -05:00
Marcus Chang fd088d2c4e Allow STDIO pins to be NC in NRF52 series
Prevent ASSERT from triggering when one of the STDIO pins is not
connected.
2018-07-11 17:19:18 -07:00
Marcus Chang 6f0bb757f4 Fix linker script for NRF52840/IAR
Add missing noinit section.
2018-07-11 15:48:51 -07:00
Cruz Monrreal f4382d95b8
Merge pull request #7474 from 0xc0170/fix_rtx_rte
Replace build profile changes with config
2018-07-11 12:14:59 -05:00
Jimmy Brisson e68b328cf8 Fix Python3 bug with `mbed export -S` 2018-07-11 11:44:50 -05:00