Commit Graph

18080 Commits (db8cee04fc26ac47d6a5b4ebab1111979c011276)

Author SHA1 Message Date
Kimmo Vaisanen efeeb095c5 Lora: Fix join-response failure handling
Thix commit fixes a bug where stack was resending join-accept already
after RX1 if received join-response was invalid.

Stack should wait for RX2 before resending the join-accept.
2018-08-13 16:11:33 +03:00
jeromecoutant dc02be705a STM32F1 assert in SetSysClock replaced 2018-08-13 15:04:02 +02:00
jeromecoutant 76356039d9 STM32F0 assert in SetSysClock replaced 2018-08-13 14:53:33 +02:00
Timo Urhonen 5011ed9d22 Modified Jenkinsfile into one-liner format. 2018-08-13 15:45:53 +03:00
Teppo Järvelin 907fede1d7 Cellular: review fixes for doxygen changes of return values. 2018-08-13 15:09:14 +03:00
Kari Haapalehto de1d9c45b6 Update mesh_system_heap_error_handler to use new error codes and mbed_error call 2018-08-13 14:39:49 +03:00
Olli-Pekka Puolitaival 2059fed945 Fix building with python 3 2018-08-13 12:46:43 +03:00
Olli-Pekka Puolitaival 72a0bd4374 Print stack trace in case of verbose 2018-08-13 12:46:31 +03:00
Kimmo Vaisanen 76d01f5c71 LoRa: Fix MAC initialization for connection with parameters
LoRaMAC was not initialized properly if application called
connect(const lorawan_connect_t &connect);

This causes problems for example in case where application
first disconnects and then reconnects as counter values are not
initialized.
2018-08-13 12:41:01 +03:00
Olli-Pekka Puolitaival 6107769239 Fix build_data functionality with python 3 2018-08-13 12:15:21 +03:00
Phyo Kyaw 87304f8812 Updated to include user defined static lib files in the Linker object files path.
### Description

This is to fix linker not finding symbols declared in object files inside static library files.

For this case throwing:-

> rm-none-eabi-g++: error: unrecognized command line option '--wrap=main'; did you mean '--warn-main'?

For this case to include libmbed.a which contains

mbed_alloc_wrappers.o:
         U __real__calloc_r
         U __real__free_r
         U __real__malloc_r
         U __real__memalign_r
         U __real__realloc_r
00000000 T __wrap__calloc_r
00000000 T __wrap__free_r
00000000 T __wrap__malloc_r
00000000 T __wrap__memalign_r
00000000 T __wrap__realloc_r
00000000 T free_wrapper
00000000 T malloc_wrapper
00000000 T mbed_stats_heap_get
         U memset

This patch also changed the library order to system and then user.

-lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -lmbed

Resolves: #7155

### Pull request type

    [ x ] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Feature
    [ ] Breaking change
2018-08-13 09:19:47 +01:00
Teppo Järvelin 66fcbb9291 Cellular: Document all possible error codes for cellular API. 2018-08-13 09:45:25 +03:00
kert 17276275fc Add combined hex target to CMake 2018-08-11 10:56:29 -07:00
Martin Kojtal ff67a96e17
Revert "Move BlockDevice classes inside mbed namespace" 2018-08-10 14:49:51 +01:00
Teppo Järvelin a8faeac365 Cellular: Fixed sms greentea by removing uncommon character set setting 2018-08-10 14:00:42 +03:00
Teppo Järvelin 6a64ca9a69 Cellular: Fixed sms greentea tests init
Fixed sms greentea tests by making sure that device is ready to accept
AT commands before sending them.
2018-08-10 13:57:01 +03:00
Kimmo Vaisanen 07f4ca83f7 Lora: Fix TX_ERROR event if corrupted msg is received for CONFIRMED request
When node sends a CONFIRMED message and gateway sends ACK in RX1 window but the
message gets corrupted during the transmission (e.g. MIC fails), currently
our stack already checks for retransmission after RX1 and if retries attemps are
exhausted, TX_ERROR event is sent to application. This is wrong as MAC layer
will still attempt reception in RX2 window.

This commit fixes the behaviour so that TX_ERROR is not sent until RX2 window
has been closed.
2018-08-10 13:38:57 +03:00
Melinda Weed 1082724ac3 formatting changes 2018-08-10 12:53:28 +03:00
Melinda Weed db8f36945b Fixing colons and formatting 2018-08-10 11:17:32 +03:00
Martin Kojtal 2a824a1ceb
Merge pull request #7559 from theotherjimmy/make-armc6-v8m
Export: Support Make + ArmC6 + v8m
2018-08-10 10:03:34 +02:00
Melinda Weed 739bd6605d grammatical and stylistic fixes, more passive -> active 2018-08-10 11:01:38 +03:00
Maciej Bocianski efe9e44208 tests-mbed_drivers-timer: change delay method 2018-08-10 09:52:07 +02:00
Mika Leppänen 4385361d38 Changed Realtek RTL8195A wifi interface to inherit EMAC interface
This allows connection status callback build into EMAC interface class
to work with Realtek RTL8195A wifi.
2018-08-10 10:07:16 +03:00
Melinda Weed f2c6d59c23 Further stylistic changes. Passive -> active 2018-08-10 09:56:42 +03:00
Cruz Monrreal 54f40a0f4f
Merge pull request #7523 from maximmbed/max32625pico-bl-updates
Add bootloader configuration parameters for MAX32625PICO
2018-08-09 19:06:30 -05:00
deepikabhavnani f593555cbb Guard hardware related implementation into DEVICE_CRC 2018-08-09 17:28:19 -05:00
deepikabhavnani 531a83ebd2 Add optimized implementation of 32-bit ANSI CRC 2018-08-09 17:27:07 -05:00
Cruz Monrreal 7bcbb78661
Merge pull request #7729 from davidsaada/david_fix_arm_linker_script_renesas_realtek
Rename text region in ARM linker file for Renesas & Realtek boards
2018-08-09 15:57:29 -05:00
Cruz Monrreal e923bbdbfb
Merge pull request #7722 from theotherjimmy/fix-arm-small-lib
Fix Microlib compatibility for -t ARM
2018-08-09 15:56:18 -05:00
Amanda Butler 9e74fa5072
Copy edit LoRaWANBase.h
Copy edit file for minor grammar nits.
2018-08-09 15:51:11 -05:00
Cruz Monrreal 0346d224e8
Merge pull request #7727 from 0xc0170/fix_#7702
CircularBuffer: volatile specifier removal
2018-08-09 10:19:17 -05:00
Cruz Monrreal c52d49c67b
Merge pull request #7731 from mirelachirica/wise_1570_clock_source_back_to_HSE_XTAL
Cellular: WISE_1570's system clock back to HSE_XTAL
2018-08-09 10:18:53 -05:00
Cruz Monrreal 1a5b3e015e
Merge pull request #7725 from SenRamakri/sen_LwipMbedErrorUpdate
Update Lwip error calls to use new error codes and mbed_error call
2018-08-09 10:17:51 -05:00
Cruz Monrreal e85acac175
Merge pull request #7717 from LMESTM/fix_checkfifo
STM32: check for UART ongoing transfers before entering deepsleep
2018-08-09 10:17:00 -05:00
Cruz Monrreal 2b92b260d0
Merge pull request #7688 from paul-szczepanek-arm/nrf-ltk-fix
BLE: call secure connections versions of ltk functions
2018-08-09 10:15:58 -05:00
David Saada 75bc3d36cc RTOS threads test: Handle out of memory cases 2018-08-09 17:32:48 +03:00
Przemyslaw Stekiel 20f3d87283 tests-mbed_hal-common_tickers: disable ticker free test cases.
This is solution to issue #7724.

Ticker free tests have been removed since ticker free function has been implemented only for CI boards.
Implementation for the remaining platforms will be done on feature branch feature-hal-ticker-free.
2018-08-09 14:27:05 +02:00
Kimmo Vaisanen 57f89a2576 Lora: Reformate LoRaWANBase documentation
- Modified "user" to "you"
- Modified line length to ~100 characters.
2018-08-09 14:38:07 +03:00
Mirela Chirica c217a521f4 Cellular: Handle AT response stop in case IP address is missing from CGPADDR response 2018-08-09 11:41:19 +03:00
jeromecoutant f532159b61 Timeout tests : unstable result
RTX waits, such as sem.wait(N), delays for between N-1 and N cycles.
As lp_ticker is not so accurate as us_ticker,
sometines, wait is expiring just before the lp_timeout.
2018-08-09 10:13:17 +02:00
Amanda Butler 71341ec44e
Copy edit LoraWANBase.h
Copy edit file, mostly for consistent U.S. spelling and precise language.
2018-08-08 15:30:18 -05:00
Aashish chaddha 1cdef09698 ifndef some macros to allow overriding during compilation or be able to get some warnings during redefinition 2018-08-08 15:23:19 -05:00
paul-szczepanek-arm 6c9bd163b1 factored out whole ediv rand check 2018-08-08 17:02:43 +01:00
Jimmy Brisson a6c85ee5f4 Add asm defines to template 2018-08-08 10:43:33 -05:00
Senthil Ramakrishnan 01c46f086e Update Lwip error calls to use new error codes and mbed_error call 2018-08-08 10:16:13 -05:00
MateuszM b5eb59091a fix formatting 2018-08-08 16:53:21 +02:00
Jimmy Brisson 0924d6618e Fix a few flag-related things 2018-08-08 09:52:49 -05:00
Jimmy Brisson 1eb47934eb Fix "pare error in Defines" uvision error 2018-08-08 09:24:50 -05:00
Jimmy Brisson 9f00a9be70 Fix python3 compatibility of exporter base class 2018-08-08 09:07:58 -05:00
Jimmy Brisson c51467ee91 Flake8 of uvision exporter python code 2018-08-08 09:07:45 -05:00