Commit Graph

12376 Commits (c022c4a8f06d2b11681d028be049b0ee115f4853)

Author SHA1 Message Date
JojoS f776631d3b added target LPCPC54608
from patch by mmahadevan108
2017-08-22 21:37:14 +02:00
Russ Butler 29ad5bb09b Fix ISR powerdown in mbed_application.c
Fix a calculation error in in powerdown_nvic preventing the last
group of 32 interrupts from getting powered down. The ARMv7m reference
manual states "the total number of interrupt lines is up
to (32*(INTLINESNUM+1)).".

Also rename isr_count to isr_groups_32 for clarity, since this is
actually the number of 32 interrupt groups.
2017-08-22 10:54:18 -05:00
Mika Leppänen 942aec5e4b Corrected lwip to enable disabling of ipcp and ipv6cp protocols 2017-08-22 13:14:41 +03:00
Mika Leppänen dd346ec5a8 Either ipv4 or ipv4v6 PPP and IP stacks are enabled based on 3GPP context 2017-08-22 13:14:41 +03:00
Mika Leppänen 457f940a7c Added Ipv4/Ipv6 stack stack support to lwip DNS queries
If both IPv4 and IPv6 are available, and DNS query fails for first system,
second system is tried.
2017-08-22 13:14:40 +03:00
Mika Leppänen b1d41f9afd Corrected lwip not to send NS probes when link layer address is not available 2017-08-22 13:14:40 +03:00
Mika Leppänen 2adbf721d2 Added dual Ipv4/Ipv6 stack support to lwip address configuration
Added new configuration option "both-addr-timeout" that defines
how long to wait that addresses from both systems become available.
2017-08-22 13:14:40 +03:00
Yuguo Zou 1e398cfc60 Add RTL8195AM support for mbed client with IAR
Move ticker related code to SRAM due to time drift sensitive
2017-08-22 17:34:00 +08:00
Yuguo Zou e16c2d2833 Add RTW8195AM support for mbed client with ARMCC
Move ticker related code to SRAM due to time drift sensitive
2017-08-22 17:33:41 +08:00
Mika Leppänen 41c647b1c9 Added hex dump tracing to ipv6, ipv4 and ppp modules 2017-08-22 10:17:21 +03:00
Mika Leppänen 23f8ac903e Removed random and tcp_isn modules header dependencies to lwip conf 2017-08-22 10:17:20 +03:00
Mika Leppänen 5fdd7239d9 Corrections to lwip ipv6 neighbor discovery
Merged lwip 2.0.2 stable path 1 from https://github.com/ARMmbed/lwip

Patch allows lwip to do autonomous address configuration for prefixes
that are not on-link.

ad7cf16 Add David's IPv6 improvements to CHANGELOG
af9d783 Fix (bogus) MSVC 2010 warning about uninitialized variable usage in ip6.c It's wrong because the variables are initialized during first loop iteration due to best_addr == NULL
68358d7 nd6: cull destination cache on router removal
7323fa1 nd6: some work on basic RFC 4861 compliance
10eb2ca ip6: improve source address selection
6c06ecd ip6/nd6: route using on-link prefixes, not addresses
9f1714d nd6: improve router selection
2486b41 netif: more ip6 state changes invoke status callback
519d809 nd6: fix Duplicate Address Detection
9f3c6dd nd6: check link status before sending packets
8c761a2 nd6: improve address autoconfiguration support
2017-08-22 10:17:20 +03:00
Janne Kiiskilä 2e6cd907d4 UBLOX_ODIN_EVK_W2 - add BUTTON1/2 definitions
UBLOX_ODIN_EVK_W2 is missing the abstract button definitions originally
introduced with PR https://github.com/ARMmbed/mbed-os/pull/4249.

Fix two tab to spaces issues on the go as well.
2017-08-22 09:54:53 +03:00
ccli8 d22d086a87 [M487] Add SPI pins for test code 2017-08-22 11:00:29 +08:00
ccli8 a98ef4323d [M487] Update travis file 2017-08-22 10:57:37 +08:00
ccli8 478a1b62ea [NUC472/M453] Support USB device/host for chip series
With this fix, USB support is not limited to one target.
2017-08-22 09:30:23 +08:00
ccli8 cacc444b73 [M487] Support USB device/host 2017-08-22 09:27:31 +08:00
JojoS 07355e1362 removed empty project
was just an copy template for new targets
2017-08-21 22:19:42 +02:00
JojoS 9f628bb431 use UID class from gnuarmeclipse exporter
use global UID class
removed  outcommented code
2017-08-21 22:08:07 +02:00
JojoS e4570dbb49 add template for LPC1549 2017-08-21 21:26:16 +02:00
JojoS 76a18a70de remove test modification
changed LPC11U37H_401 back to original release_versions [2] only
2017-08-21 21:22:50 +02:00
Przemyslaw Stekiel 5abbccb45c Fix pool buffer size, update free() description, add assertion in MemoryPool.h header file.
Provide fix for pool buffer size: pool block size must be
a multiple of 4 bytes.
Add assertion to forbid creation of MemoryPool object with queue size equal to 0.
Update description of free() function. Add information about
statuses returned by this function.
2017-08-21 18:09:51 +01:00
Jimmy Brisson 316c875136 Merge pull request #4926 from bcostm/merge_l053x8
STM32L053x8: Refactor NUCLEO_L053R8 and DISCO_L053C8 targets
2017-08-21 10:38:42 -05:00
Jimmy Brisson 4cfddd6f3e Merge pull request #4921 from amq/patch-2
Update gcc-arm-embedded PPA in Travis
2017-08-21 10:38:16 -05:00
Jimmy Brisson a457fe3bdd Merge pull request #4908 from geky/fs-reformat
fs: Add FileSystem::reformat
2017-08-21 10:38:00 -05:00
Jimmy Brisson 02baee3c89 Merge pull request #4900 from scartmell-arm/deprecated-function
Fix compiler warning for deprecated function call
2017-08-21 10:37:30 -05:00
Jimmy Brisson bb7ab1942a Merge pull request #4896 from pilotak/patch-1
target BLUEPILL_F103C8 compile fix
2017-08-21 10:37:01 -05:00
Jimmy Brisson 4c13b6606c Merge pull request #4844 from geky/bd-profiling-bd
bd: Add ProfilingBlockDevice for measuring higher-level applications
2017-08-21 10:36:01 -05:00
Jimmy Brisson 698b52d70d Merge pull request #4517 from YarivCol/read_write_mutex
Add cpp API for CMSIS OS 2 EventFlags
2017-08-21 10:35:10 -05:00
Laurent MEUNIER d4fa585ac4 STM32: F1 GPIO: Enable AFIO clock
It is required to enable AFIO clock before using __HAL_AFIO_REMAP_xy
macros, which was missing here. Without clocks enable, the remap
actually doesn't occur. This would possibly cause some PIOs (part of
PB_3, PB_4, PA_13, PA_14, PA_15) to not behave as expected.

In most cases AFIO clock was enabled in stm_pin_SetAFPin function, so
that this bug was not visible. But there were few cases left were
stm_pin_DisconnectDebug would be called first. A typical case was
with GCC_ARM in case a DigitalInOut variable is declared as global.
2017-08-21 13:32:33 +02:00
Antti Yli-Tokola 83f7301800 Updating mbed-coap to version 4.0.9
Fixes error reported in Github.
 - https://github.com/ARMmbed/mbed-coap/issues/24
 - https://github.com/ARMmbed/mbed-os/issues/4374
2017-08-21 11:21:40 +03:00
Jimmy Brisson c72d60a9e6 Merge pull request #4923 from JojoS62/fix_export_static_files
fix export static_files to zip
2017-08-18 10:43:01 -05:00
Laurent MEUNIER 95fc6d0bad STM32: fix F410RB vectors size
On F410RB, the size reserved to vectors with ARM toolchains was not properly
defined,which was not the case for other toolchains.

This would cause few tests to fail like EXAMPLE_1 with below error:

HOST: Unknown property: mbed assertation failed: _ptr == (T *)&_data, file: C:/github/mbed/BUILD/mbed/platform/SingletonPtr.h, line 91
2017-08-18 11:57:51 +02:00
Jaeden Amero bea62d6b8c mbedtls: STM32F439xI: Don't enable AES acceleration by default
STM32F439xI-family AES hardware acceleration occasionally produces
incorrect output (https://github.com/ARMmbed/mbed-os/issues/4928).

Don't enable AES HW acceleration on STM32F439xI-family targets by
default until issue #4928 is fixed.
2017-08-18 10:12:14 +01:00
Jimmy Brisson 2dc4bef010 Merge pull request #4902 from deepikabhavnani/macro_fix
Using CMSIS/RTX Exclusive access macro
2017-08-17 10:11:03 -05:00
bcostm d0fce353cc STM32F4: Set ADC sample time to max value for VRefInt 2017-08-17 16:12:16 +02:00
Laurent MEUNIER 8c99bf3b62 SPI: HAL: disable IP at the end of transmit
in case of 1LINE direction
2017-08-17 11:02:43 +02:00
mapellil 6dfafc7293 STM32: SPI: Use LL in spi_slave_read
this is more a cosmetic change, but since LL was introduced, we can now
use it here as well.
2017-08-17 11:02:43 +02:00
Laurent MEUNIER 57371ea591 STM32: SPI: Do not enable SPI during Init if 3W
Enabling SPI causes the clock to be output by default.

Most devices will not care about extra clock cycles, especially as long
as chip select is not active, nevertheless this may cause side issues
with other devices especially during init phase.

This was actually the case with a 3 wire device (LPS22HB sensor).
2017-08-17 11:02:43 +02:00
mapellil 4f20cfc0be STM32: SPI: SPI3W / SPI_DIRECTION_1LINE management
In case MISO is not passed at SPI init, then we consider a 3 wires SPI
configuration is requested, which corresponds to SPI_DIRECTION_1LINE
configuration parameter in STM32 HAL layer.

We're then handling this specific case of SPI_DIRECTION_1LINE,
in spi_master_write or spi_master_block_write, we call to HAL API
2017-08-17 11:02:43 +02:00
bcostm 8273e371df STM32L053x8: Align system_clock.c files 2017-08-17 10:55:18 +02:00
gorazd 34bd3e5c14 xdot: fix target clock config in targets.json
Resolves #4876
2017-08-17 10:37:17 +02:00
Ganesh Ramachandran f79216c8d8 Issue with mbed compile for GCC_ARM tool resolved
Functions 'serial_break_set' & 'serial_break_clear' wrongly removed during 'SERIAL_FC disabled, critical section API Updation' commit.
Due to this 'mbed compile' command for GCC_ARM tool fails to compile.
2017-08-17 11:14:09 +05:30
Ganesh Ramachandran 552feccca3 Main stack dependant on GCC toolchain removed 2017-08-17 10:54:26 +05:30
Ganesh Ramachandran 48ee6a0fb6 Clear interrupt and delta check removed 2017-08-17 10:54:26 +05:30
Ganesh Ramachandran 9dca3fe5df Interrupt and Overflow check for us_ticker 2017-08-17 10:54:26 +05:30
Ganesh Ramachandran 0a781c4f04 ADC Reset Conflict Fixed
ADC Reset conflict with already configured ADC pins is fixed
2017-08-17 10:54:25 +05:30
Ganesh Ramachandran 624620b0d2 SERIAL_FC disabled, critical section API Updation
SERIAL_FC disabled, critical section API and Format changes updated
2017-08-17 10:54:25 +05:30
Ganesh Ramachandran bd8fa4eb70 Added Support for Toshiba TMPM066 2017-08-17 10:54:25 +05:30
JojoS 9d77dffc2a fix export static_files to zip
fixed adding a list and a tuple
2017-08-16 23:37:35 +02:00