Commit Graph

19320 Commits (6d7b655b8715347923e1669ecaac5e9cf1860a66)

Author SHA1 Message Date
jeromecoutant af4841df0d STM32 LPTICKER : set default LPTICKER_DELAY_TICKS to 1
For both implementation, RTC and LPTIM, there is some delay in the
set_interrupt function due to HW constraints.

Value has been set to 4 for STM32L0,
because SystemClock is slower than other families.
2018-09-27 14:42:56 +02:00
Juhani Puurula ea7b273f6b mac_commands.cpp: fix wait command 2018-09-27 15:35:14 +03:00
Juhani Puurula e94d7d0e3f Enabled trace, added KW24D default driver 2018-09-27 15:34:34 +03:00
jeromecoutant 9bc2e5a5ad STM32 LPTICKER with RTC : Fix tickless and lp wrapper
When both tickless and LPTICKER_DELAY_TICKS are enabled some ST
devices randomly get stuck sleeping forever. This is because the
wake up time passed to the rtc is ignored if the previous match is
about to occur. This causes the device to get stuck in sleep.

This patch prevents matches from getting dropped by the rtc by
deactivating the rtc wake up timer before setting a new value.

Events leading up to this failure for the RTC:

-1st call to lp_ticker_set_interrupt
-delay until ticker interrupt is about to fire
-2nd call to lp_ticker_set_interrupt
-interrupt for 1st call fires and match time for 2nd call is dropped
-LowPowerTickerWrapper gets ticker interrupt but treats it as a
 spurious interrupt and drops it since it comes in too early
-device enters sleep without a wakeup source and locks up
2018-09-27 14:31:36 +02:00
jeromecoutant b1d23e5ec5 STM32 LPTICKER with LPTIM : Fix tickless and lp wrapper
This fixes issue with mbed_hal/lp_ticker/lp_ticker_early_match_race_test
2018-09-27 14:30:00 +02:00
Juhani Puurula 724d859d33 Nanostack MAC tester: changed mbed_trace_array to mbed_print_array 2018-09-27 15:08:58 +03:00
Juhani Puurula cd3d88ab14 Nanostack MAC testcases: removed running tests directly 2018-09-27 15:08:57 +03:00
Juhani Puurula dd488f7fff Renamed MAC tester config 2018-09-27 15:08:57 +03:00
Juhani Puurula ad0cc2f352 Added nanostack mac tester and testcases 2018-09-27 15:08:56 +03:00
paul-szczepanek-arm 90be8d7807 replace malloc with cirdio buffer allocation 2018-09-27 12:20:00 +01:00
Mirela Chirica 85df0b5cce Cellular: Fix greentea network set credentials test case 2018-09-27 13:51:49 +03:00
bcostm 5c34602d6b NUCLEO_L4R5ZI: remove IAR exporter
The STM32L4R5ZI device has been added in IAR V8.20.1

Remove the IAR exporter until IAR V8 is supported on mbed.
2018-09-27 12:03:08 +02:00
bcostm 909ce3590a NUCLEO_L4R5ZI: set IAR linker stack size to 1KB 2018-09-27 12:03:08 +02:00
bcostm 5b4ff94bff NUCLEO_L4R5ZI: change _ALTx pins 2018-09-27 12:03:07 +02:00
bcostm ee5aff7e18 NUCLEO_L4R5ZI: remove PWM_5 pins as already used by us_ticker 2018-09-27 12:03:07 +02:00
bcostm a644ddd2e7 NUCLEO_L4R5ZI: enable bootloader 2018-09-27 12:03:07 +02:00
bcostm 3a722358b1 NUCLEO_L4R5ZI: add missing timer freeze macro 2018-09-27 12:03:07 +02:00
bcostm 236396b442 NUCLEO_L4R5ZI: update iar and sw4stm32 exporters 2018-09-27 12:03:07 +02:00
bcostm dc5746e3ec NUCLEO_L4R5ZI: update targets.json 2018-09-27 12:03:07 +02:00
bcostm abca890d8e NUCLEO_L4R5ZI: update mbed_rtx.h 2018-09-27 12:03:07 +02:00
bcostm ef33ff5524 NUCLEO_L4R5ZI: add all board files 2018-09-27 12:03:07 +02:00
zzw 9d5ebf778c Merge branch 'realtek-rtl8195am-Add-MCU_target-update' of https://github.com/M-ichae-l/mbed-os into realtek-rtl8195am-Add-MCU_target-update
1, edit "targets.json" to let "REALTEK_RTL8195AM" target inherit from "MCU_RTL8195A"
2, change file structures for folder "Target_Realtek"
3, add "PeripheralPins.h" and "PeripheralPins.c"
2018-09-27 17:45:10 +08:00
Antti Kauppila 48e2ccd006 equeue_stub updated and code fixed accordingly 2018-09-27 12:26:48 +03:00
Antti Kauppila a54c271814 cmake Paths corrected 2018-09-27 11:30:52 +03:00
Antti Kauppila f6ecb319d0 LoRaMac unittested 2018-09-27 11:30:52 +03:00
Antti Kauppila bd9066431f LoRaWANStack unit tested 2018-09-27 11:30:52 +03:00
Antti Kauppila e07940d5e7 LoRaMacCrypto unittested 2018-09-27 10:49:07 +03:00
Antti Kauppila f3d402f70e LoRaPHY unittested, small fixed done during tests 2018-09-27 10:49:07 +03:00
Antti Kauppila 0f8cfd8631 LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
Antti Kauppila 445384852e LoraPhy and regions unit test skeletons added 2018-09-27 10:49:07 +03:00
Antti Kauppila b6848c4ea4 Unit test for LorawanInterface 2018-09-27 10:49:07 +03:00
Antti Kauppila 595caf6699 LorawanInterface unit test added 2018-09-27 10:49:07 +03:00
Antti Kauppila 0f83f08043 More lorawan unit tests added 2018-09-27 10:49:07 +03:00
Antti Kauppila b6465340b5 Lorawan unittests 2018-09-27 10:49:07 +03:00
Martin Kojtal 45f59f88c3
Merge pull request #8247 from adbridge/manifest
Update Manifest tool version
2018-09-27 09:33:08 +02:00
Veijo Pesonen c4546910d1 Increases stack size for threads used in gt netsocket tcp test cases
Stack size is insufficient for debug profile
Stack size is insufficient for NUCLEO_F401RE+IDW01M1
Please see https://github.com/ARMmbed/wifi-x-nucleo-idw01m1/issues/17
2018-09-27 09:13:11 +03:00
Leon Lindenfelser 97d6a91eb9 Fix rebase conflict file 2018-09-26 15:54:03 -05:00
Leon Lindenfelser 7d89a02e48 Remove LOWPOWERTIMER as it has been replaced by LPTICKER 2018-09-26 15:39:43 -05:00
Leon Lindenfelser 9791e98575 Fix so building for other targets does not fail 2018-09-26 15:39:42 -05:00
Leon Lindenfelser a80b2369c3 Decrease heap size in IAR linker so tests compile and use SRAM2 for IAR and GCC 2018-09-26 15:39:42 -05:00
Leon Lindenfelser 5ff0eb9d92 Rebase and changes for Dragonfly nano support 2018-09-26 15:39:42 -05:00
Leon Lindenfelser 31d04b05b7 Rebased on master mbed-os 9/7/18
This required replacing hal_tick.h with us_ticker_data.h
2018-09-26 15:37:33 -05:00
Leon Lindenfelser 3bb8543e5b Remove commented out code 2018-09-26 15:37:33 -05:00
Leon Lindenfelser 55bcf93574 Fixed spacing/tabs and clean up targets.json 2018-09-26 15:37:33 -05:00
Leon Lindenfelser fad95e9a7d Fix rev D radio init/power/reset and add back bootloader capability 2018-09-26 15:37:33 -05:00
cedrick kukela 2886ea0ad8 target changes 2018-09-26 15:37:33 -05:00
cedrick kukela 463182d372 REV D change for modem on 2018-09-26 15:37:33 -05:00
cedrick kukela 1064994095 Rev c pin name fix 2018-09-26 15:37:33 -05:00
cedrick kukela 59dda88e05 changes to support mts dragonfly nano ppp 2018-09-26 15:37:33 -05:00
cedrick kukela 7f29f837d1 remove blanks 2018-09-26 15:37:33 -05:00