Commit Graph

21141 Commits (2ec7bddab35daf90f743320edfae6b569f82701c)

Author SHA1 Message Date
Filip Jagodzinski 2ec7bddab3 Tests: Stream: Add more test cases 2018-12-27 22:25:58 -06:00
Jenny Plunkett 1faadae378 Removed "ALL" from PrettyTable import 2018-12-27 22:25:58 -06:00
Jenny Plunkett eae72efa45 Apply GitHub style to exporter matrix 2018-12-27 22:25:58 -06:00
Michal Paszta 8d218d214c Missing socket greentea tests implementation 2018-12-27 22:25:58 -06:00
Leszek Rusinowicz 6390fb8db2 Fix for static resource manager. 2018-12-27 22:25:58 -06:00
Amanda Butler 7a2d04ebc6 Edit CellularContext.h
Edit file for complete sentences and correct commas.
2018-12-27 22:25:58 -06:00
Amanda Butler 3892105dee Edit CellularDevice.h
Edit file for complete sentences, consistent tense and correct commas.
2018-12-27 22:25:58 -06:00
Teppo Järvelin faab478c23 Cellular: add Callback functionality to CellularDevice. 2018-12-27 22:25:58 -06:00
Teppo Järvelin f9742e978c Cellular: updated doxygen for CellularContext and CellularDevice. 2018-12-27 22:25:58 -06:00
jeromecoutant c154da4123 STM32 LPTIM update for easy maintenance 2018-12-27 22:25:58 -06:00
jeromecoutant 2a65eacac3 STM32 mbed_sdk_init update for easy maintenance 2018-12-27 22:25:58 -06:00
jeromecoutant eb75ac95c9 STM32 SLEEP update for easy maintenance 2018-12-27 22:25:58 -06:00
jeromecoutant dc47e708b6 STM32 RTC update for easy maintenance 2018-12-27 22:25:58 -06:00
Kevin Bracey d3610d5d4e memap.py: Cope with IAR 8 linker map
IAR 8 linker map puts C++14-style apostrophe digit separators in its
addresses, such as:

     .data   inited  0x2000'1ff0    0x4  mbed_rtx_idle.o [159]

Extend the regex pattern to allow this.
2018-12-27 22:25:58 -06:00
bcostm 6ff271b322 STM32L4 TRNG:Remove trng clock setting for L4 devices
This will be done in the system_clock.c file instead.
2018-12-27 22:25:58 -06:00
Oren Cohen 68c3d6c657 Correct behavior of PSA code generator
* Don't generate files if a test does not contain additional partitions
2018-12-27 22:25:58 -06:00
Russ Butler 59a59eb450 Fix rare NRF52 serial TX lockup
When using UARTSerial sending data over the uart follows the sequence
below:
<-TX done ISR runs and sets a software interrupt to pending
<-Software interrupt fires:
    -disables TX done interrupt
    -calls UARTSerial TX handler which sends bytes until the uart
     buffer filled (writeable returns false). Sending a byte
     re-enables the TX done interrupt continuing the cycle

Due to this sequence, if the UARTSerial TX handler does not send a byte
then the transmit state machine mentioned above will get stuck with
the TX done interrupt disabled. The events causing this failure:
<-TX done ISR runs and sets a software interrupt to pending
<-Software interrupt fires:
    -disables TX done interrupt
    -calls UARTSerial TX handler:
        -checks writeable which is true and sends a byte
            <- interrupted by a higher priority interrrupt
            <- TX done ISR runs, setting software interrupt to
               pending again
        -checks writeable which is true and sends a second byte
    -Software interrupt finishes
<-Software interrupt fires:
    -disables TX done interrupt
    -calls UARTSerial TX handler:
        -checks writeable which is false and DOES NOT SEND A BYTE
    -Software interrupt finishes, the TX interrupt is still disabled
*-Byte gets sent but TX done ISR does not fire

This patch prevents the TX lockup by removing the code in the
software interrupt which disables the TX done interrupt. Disabling the
TX done interrupt at this point is not necessary so this code is safe
to remove.
2018-12-27 22:25:57 -06:00
Amanda Butler 81296b34d0 Edit TDBStore.h
Edit file for punctuation and consistent tense.
2018-12-27 22:25:57 -06:00
Amanda Butler 053212b540 Edit SecureStore.h
Edit file for consistent tense.
2018-12-27 22:25:57 -06:00
Amanda Butler cafce1018a Add word to KVMap.h
Add missing article for clarity and capitalization.
2018-12-27 22:25:57 -06:00
Amanda Butler bbea6ed27a Edit FileSystemStore.h
Make minor edits, mostly for consistent tense across documents.
2018-12-27 22:25:57 -06:00
Yossi Levy 31eff13967 Fixing Doxygen descriptions 2018-12-27 22:25:57 -06:00
Russ Butler 749fd4d540 Update Ticker wrapper to handle early interrupts
Update the LowPowerTickerWrapper class to handle rather than ignore
early low power ticker interrupts. This ensures that devices don't get
stuck in sleep due to a ignored early low power ticker interrupt.
2018-12-27 22:25:57 -06:00
Kari Haapalehto 5d96c9b070 Coverity fixes. These issues has been found by coverity. 2018-12-27 22:25:57 -06:00
Naveen Kaje 2fdec729a0 tools: fix up build_api padding logic and clean up unused code
Patch from the end of the first segment. Remove unused code.
2018-12-27 22:25:57 -06:00
Naveen Kaje f7a114eba8 tools: Update build_api
Rename loop varibles for better readability and
formatting changes.
2018-12-27 22:25:57 -06:00
Naveen Kaje c8de1aed5e tools: Update build_api padding method
Update the padding sequence so that the gaps
are padded after all the regions are merged.
This avoids overwriting active regions and
serializes the process.
2018-12-27 22:25:57 -06:00
Naveen Kaje 3f9327bd3d tools: update build_api and __init__ as per review comments 2018-12-27 22:25:57 -06:00
Naveen Kaje b2e4c44734 tools: process bootloader chunks
NRF Softdevice hex file can be in chunks.
Make sure we account for the space where the bootloader resides
by including all the chunks within the end of rom marker. This will
clearly mark out the initial bootloader region.
2018-12-27 22:25:57 -06:00
Simo Sillankorva e33706c12d Remove max_app_addr checking from .hex
* Remove max_app_addr logic from tools/config/__init__.py as it was not working properly with some of the .hex files.
2018-12-27 22:25:57 -06:00
Jammu Kekkonen 73ddffd1aa Review fixes 2 for bootloader region generation 2018-12-27 22:25:57 -06:00
Jammu Kekkonen 319b3d6a3d Review fixes for bootloader region generation 2018-12-27 22:25:57 -06:00
Jammu Kekkonen ed782f52d2 Fix bootloader build region generation and add support for bootloaders with multiple segments, as required by NRF52 bootloader. 2018-12-27 22:25:56 -06:00
Yossi Levy 9325ed9a6c Setting K64F to use KVStore FileSystem configuration 2018-12-27 22:25:56 -06:00
Seppo Takalo 3ef71f2dc9 ONME-4007: Fix mbed_lib link from ESP8266 Readme.md
ONME-4007: Fix mbed_lib link from ESP8266 Readme.md
2018-12-27 22:25:56 -06:00
Ron Eldor dcff4c92cd Add comment for reasoning for changing default
Add a comment in the `adjust-config.sh` script, for effects
and benefits of the new value.
2018-12-27 22:25:56 -06:00
Ron Eldor a88df39cea Reduce default MBEDTLS_MPI_MAX_SIZE
Reduce the default size of `MBEDTLS_MPI_MAX_SIZE` to 512 bytes,
as the default 1024 consumes much stack, and supporting RSA 4096 bit
may suffice at the moment.
2018-12-27 22:25:56 -06:00
Wilfried Chauveau 97c629ca66 fix according to @ashok-rao's review 2018-12-27 22:25:56 -06:00
Wilfried Chauveau 7817bf1902 fix copyrights 2018-12-27 22:25:56 -06:00
Wilfried Chauveau e9f4be3525 Add the port for the ACONNO ACN52832 module on MTB's form factor 2018-12-27 22:25:56 -06:00
Vincent Coubard bbf0adf337 BLE: Improve scan response process explanation. 2018-12-27 22:25:56 -06:00
Vincent Coubard af8e1f5f6c BLE: Fix common/Duration.h doc. 2018-12-27 22:25:56 -06:00
ccli8 45052e74eb Fix time to init/deinit stdio_uart
With support for checking H/W UART initialized or not, we can simplify stdio management:
1. When serial_init(&stdio_uart) calls in, just set the 'stdio_uart_inited' flag.
2. When serial_free(&stdio_uart) calls in, just clear the 'stdio_uart_inited' flag.
Except above, we needn't make special handling with 'stdio_uart'.
2018-12-27 22:25:56 -06:00
ccli8 2952a794ee Check configuration option for default UART baudrate setting 2018-12-27 22:25:56 -06:00
ccli8 4e94694b5f Avoid re-configuring UART in serial_init() for the same H/W UART
The same H/W UART may be shared by multiple serial_t objects. This fix tries to avoid
re-configuring the same H/W UART in serial_init() when there are multiple serial_t
objects constructed. To re-configure UART, call serial_baud() and serial_format()
explicitly. This can avoid confusion when e.g. a newly constructed serial_t object
changes baudrate unexpectedly in serial_init().
2018-12-27 22:25:56 -06:00
ccli8 3e43755d32 Remove unused pin_tx/pin_rx fields from serial_s struct 2018-12-27 22:25:56 -06:00
TomoYamanaka 91de358aa4 Renesas : Add the setting of SD as components 2018-12-27 22:25:56 -06:00
Kari Haapalehto 232b6b71b4 TARGET_WICED updated. Connection status issue corrected. If the link layer status changes, the connection status callback is now called correctly.
mbedtls headers from library are removed and the mbed-os one's are used.
2018-12-27 22:25:55 -06:00
jeromecoutant b950a8f7ac Remove NVSTORE enabled from NUCLEO_F410RB 2018-12-27 22:25:55 -06:00
Antti Yli-Tokola 998893dd36 Update mbed-coap to version 4.7.3
EMPTY response should not be stored to blockwise list.
An Empty message only contains the 4-byte header so it does not require any blockwise operations.
This will fix unneseccary message sending timeouts which leads mbed cloud client to do unnecessary
reconnections which increases the network traffic.
2018-12-27 22:25:55 -06:00