Commit Graph

13787 Commits (9ea3d2fb65bd66afe20bde7746a52c8ad3db50ee)

Author SHA1 Message Date
Christopher Haster 1e5295b17c littlefs: Set specific hash for littlefs-fuse testing 2018-01-27 00:57:53 -06:00
jeromecoutant 5651aa22da NUCLEO_F401RE : PeripheralPins file update
Default SERIAL pins are now available for ADC and PWM
  when STDIO_UART_TX and STDIO_UART_RX are user defined
https://os.mbed.com/teams/ST/wiki/STDIO

Alternative pins have been also defined
2018-01-27 00:57:53 -06:00
jeromecoutant acfdaca56a MTB_XX : STDIO configuration
Here is a proposition
 - to align with other STM32
 - and to remove compilation warnings :
[Warning] PeripheralNames.h@38,0: "STDIO_UART" redefined
2018-01-27 00:57:53 -06:00
Mahesh Mahadevan 7b7f9b4b43 Update CMSIS pack
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-01-27 00:57:53 -06:00
Martin Kojtal e7b7bea320 Revert "STM32F7: Add bootloader support" 2018-01-27 00:57:52 -06:00
jeromecoutant 33d2548d24 STM32F407 : correct ARM scatter file
Alignment with STM32Cube_FW_F4_V1.18.0 done
2018-01-27 00:57:52 -06:00
adustm c95ef84da6 Improve SRAM use for IAR toolchain Use the entire SRAM2 with NVIC buffer + stack Increase HEAP size to 0x10000 in SRAM1 Increase the available SRAM1 by 0x2000 2018-01-27 00:57:52 -06:00
Martin Kojtal 9da55ffd57 RZ_A1H: cmsis nvic include fix
To get cmsis nvic definitions, this header file should be included
in cmsis.h file.

Fixes #5886
2018-01-27 00:57:52 -06:00
bcostm 4ea39124ff STM32: fix serial 7bit data format 2018-01-27 00:57:48 -06:00
Cruz Monrreal II‰ dd9dd9bbed Removed RTC as a supported peripheral for NCS36510 2018-01-27 00:57:48 -06:00
jeromecoutant 1d0354d1ab STM32LX : HAL_RCC_OscConfig update in PLL configuration
check PLL settings before retuuning error
2018-01-27 00:57:48 -06:00
bcostm 248db987bc NUCLEO_F767ZI: Add bootloader support 2018-01-27 00:57:48 -06:00
bcostm b89be917fd Check cache before enabling it
The mbed_sdk_init can be called either during cold boot or during
application boot after bootloader has been executed.
In case the bootloader has already enabled the cache,
is is needed to not enable it again.
2018-01-27 00:57:47 -06:00
bcostm 00003cdc47 BL NUCLEO_F746ZG: change scb->vector assignment 2018-01-27 00:57:47 -06:00
bcostm 03b264c269 BL NUCLEO_F746ZG: enable bootloader 2018-01-27 00:57:47 -06:00
bcostm 51207deeff BL STM32746xG: Update scatter/link files 2018-01-27 00:57:47 -06:00
Ashok Rao c4394af334 Adding MTB MXChip EMW3166 as a new target 2018-01-27 00:57:47 -06:00
Jani Suonpera 5cd5239047 CHANGELOG updated 2018-01-27 00:57:47 -06:00
Jani Suonpera 7566b814cd Update CoAP to 4.1.1
Combined CoAP changes 4.0.11 and 4.1.0
Fixed regression with 4.0.11
2018-01-27 00:57:47 -06:00
Antti Yli-Tokola 60b8632706 mbed-coap update to version 4.1.0
- New API to control whether coap itself sends a next GET(block2) request or not
 - Fixes error IOTCLT-2203 mbed-coap does not handle PUT or POST if they indicate a smaller block size preference
2018-01-27 00:57:46 -06:00
Jani Suonpera 133a3ddbae Update CoAP to 4.0.11
This PR implement https://tools.ietf.org/html/rfc7959#section-2.5
"The error code 4.13 (Request Entity Too Large) can be returned at any
time by a server that does not currently have the resources to store
blocks for a block-wise request payload transfer that it would intend
to implement in an atomic fashion. (Note that a 4.13 response to a
request that does not employ Block1 is a hint for the client to try
sending Block1, and a 4.13 response with a smaller SZX in its Block1
Option than requested is a hint to try a smaller SZX.)
2018-01-27 00:57:46 -06:00
Martin Kojtal 51b7ed1114 RTX idle: sleep without locked deep sleep fix
If tickless is enabled, it should not be locking deepsleep
2018-01-27 00:57:46 -06:00
Przemyslaw Stekiel cc3a66b011 Provide fix for issue #5835 - Tickers update should be atomic
Synchronise only (and all) the public functions.
2018-01-27 00:57:46 -06:00
c.mandl 875425161a Added Compiler Toolchain Varibales in Templates and modfied generation of jinja 2018-01-27 00:57:46 -06:00
Clemens Mandl 6cb6f5810c Small Refactoring of variable definitions and removed some unnecessary brackets 2018-01-27 00:57:46 -06:00
Clemens Mandl 25a5c0d844 Removed getattr() where it was not needed 2018-01-27 00:57:46 -06:00
Clemens Mandl 33be40c613 Fixed indention in Line 217 and 218 2018-01-27 00:57:45 -06:00
Clemens Mandl 24e2fc86ed Removed unnecessary list comprehension 2018-01-27 00:57:45 -06:00
Clemens Mandl eed5061783 Refactoring of function get_netbeans_file_list(file_list) to have a clearer code 2018-01-27 00:57:45 -06:00
Clemens Mandl c2ebdf32c6 Removed another block of unused (commented) code 2018-01-27 00:57:45 -06:00
Clemens Mandl be3d5748db Removed commented Line 2018-01-27 00:57:45 -06:00
Clemens Mandl f3a42f400a Fixed Linking with Linker Script 2018-01-27 00:57:45 -06:00
c.mandl 103244da8c Refactoring of Netbeans Exporter...still some more work to do, because linking still not works 2018-01-27 00:57:45 -06:00
c.mandl 979e54b031 Removed commented Line 2018-01-27 00:57:44 -06:00
c.mandl 0ffd251cd2 Added Netbeans Exporter 2018-01-27 00:57:44 -06:00
iotvietmember 88fbf6b341 Add detect_code=0xC006 to the VBLUNO51 boards configuration.
Add detect_code=0xC006 to the VBLUNO51 boards configuration.
Disbale UART Hard flow control feature.

Signed-off-by: iotvietmember <robotden@gmail.com>
2018-01-27 00:57:44 -06:00
Abdelhak Bougouffa 9c464a0338 Add checking for MAX_HUB_NB in a part of code that depend on MAX_HUB_NB 2018-01-27 00:57:44 -06:00
Abdelhak Bougouffa 597633d445 Replace the old deprecated callbacks 2018-01-27 00:57:44 -06:00
Russ Butler 379daa653d Fix LPC17XX and LPC40XX USB data throttling
Only clear the USB read buffer when endpointRead is called. This
allows data to be read with endpointReadResult without also allowing
USB to transfer more data. Instead additional data is transferred explicitly
with a call to endpointRead.
2018-01-27 00:57:43 -06:00
Russ Butler 183526bc04 Fix LPC17XX and LPC40XX USB race condition
If a SETUP packet arrives shortly after an IN then the packets will be
processed in the wrong order - SETUP first then IN. This causes
the subsequent control transfer to fail. Fix this problem by processing
IN packets before processing SETUP packets.
2018-01-27 00:57:43 -06:00
Russ Butler 09bb1c4919 Kinetis USB improvements and fixes
Make the following improvements and fixes:

1.
Update the Kinetis USB driver so that endpointReadResult only reads the
result of the last read and does not trigger a new read. Instead
move the code to trigger new reads into endpointRead.

2.
Fix the race condition in controlIn caused by a call to
EP0read() followed immediately by  EP0readStage(). This is done by
setting up to read the next setup packet (ignoring the status stage)
in endpointReadResult rather than in EP0readStage. This makes the
function EP0readStage unnecissary.

3.
Remove the Kinetis workaround in controlOut in USBDevice.cpp since
point 2 fixes this bug. For more info on this see the PR which
added this workaround - https://github.com/ARMmbed/mbed-os/pull/414
2018-01-27 00:57:43 -06:00
Ashok Rao 4e38baf637 Adding MTB MTS_Dragonfly as a new target 2018-01-27 00:57:43 -06:00
Arto Kinnunen 8801b0f0e9 Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from d0a2597..8689fca
8689fca Reverting address check from transaction find (#89)
ca3c3ab Fix transactions to handle all token lengths (#87)

git-subtree-dir: features/nanostack/FEATURE_NANOSTACK/coap-service
git-subtree-split: 8689fca7b18e03776dce7083a03bd570a8bc0d43
2018-01-27 00:57:35 -06:00
Christopher Haster 08a4b0e4b6 Added COMMON folder for tests
A COMMON folder allows code reuse across different test cases. This
avoids code duplication or code enterying the application space.

The COMMON folder is uppercase to match naming conventions in Mbed OS.
2018-01-27 00:57:28 -06:00
Christopher Haster c917231427 littlefs: Fixed issue with immediate exhaustion and small unaligned storage
This was a small hole in the logic that handles initializing the
lookahead buffer. To imitate exhaustion (so the block allocator
will trigger a scan), the lookahead buffer is rewound a full
lookahead and set up to look like it is exhausted. However,
unlike normal allocation, this rewind was not kept aligned to
a multiple of the scan size, which is limited by both the
lookahead buffer and the total storage size.

This bug went unnoticed for so long because it only causes
problems when the block device is both:
1. Not aligned to the lookahead buffer (not a power of 2)
2. Smaller than the lookahead buffer

While this seems like a strange corner case for a block device,
this turned out to be very common for internal flash, especially
when a handleful of blocks are reserved for code.
2018-01-27 00:57:28 -06:00
Kevin Bracey 0cc7a9d647 NSAPI: Add Nanostack multicast membership support
Add support for recently introduced NSAPI generic socket options to
control group membership. Previously applications using Nanostack would
have had to use Nanostack's native socket options.
2018-01-27 00:57:28 -06:00
chrisyang 9e813569f7 rtl8195am - reorder some defines properly in ota header file 2018-01-27 00:57:28 -06:00
chrisyang 0e9249a381 rtl8195am - move region headers to 0xb000 and 0xc000
The new layout is as follows:

0x000000 - 0x008000  => bootloader
0x008000 - 0x00b000  => system sectors
0x00b000 - 0x00c000  => region1 header
0x00c000 - 0x00d000  => region2 header
0x00d000 - 0x010000  => reserved
0x010000 - 0x040000  => mbed file system
0x040000 - 0x120000  => region1 image
0x120000 - 0x200000  => region2 image

This is to ensure when daplink erases sections, both regions' headers
are erased properly.
2018-01-27 00:57:28 -06:00
ccli8 74fdd09939 Add gpio_is_connected 2018-01-27 00:57:27 -06:00
Vincent Coubard a786d347db BLE: Fix inclusion of BLE.h (case) 2018-01-27 00:57:27 -06:00