Commit Graph

9430 Commits (e6d0d9dc370791e727a0d18cafe3ca80c94e56ca)

Author SHA1 Message Date
Brian Daniels e6d0d9dc37 Remove default -m and -i options for project.py
Also moves the check for -m and -i before any file system actions are
taken (error faster)
2017-01-13 14:35:14 +00:00
Franz Schnyder 16eaec27be Fix review requests
- Shorten variable name
- Use comprehension to format include paths
2017-01-13 14:35:13 +00:00
Franz Schnyder 429e22757b Correctly format include paths for eclipse export
Eclipse CDT expects the include paths to include the project name like '/<project>/<include-path>' for workspace include directories.
See issue #3529.
2017-01-13 14:35:11 +00:00
Christopher Haster 291c775921 lwip - Fixed missing dns servers after bringup with static ipv4 address
Generalized handling of dns servers when brought up with both ipv4 and
ipv6 addresses. Falls back to google dns servers if not dns server is
found through dhcp.

Also added support for the `add_dns_server` method to lwip to support
custom servers.
2017-01-13 14:35:10 +00:00
Christopher Haster 3e66e4696a lwip - Fixed lwip connected state after bringup with static ips
Thanks to @YixiaoLi for noting this was incorrect
2017-01-13 14:35:08 +00:00
Brian Daniels cbed2604e6 Preventing app_config from clobbering CLI macros 2017-01-13 14:35:07 +00:00
ccli8 d51e624e50 Remove Tab in USB HAL 2017-01-13 14:35:05 +00:00
bcostm be29d6012a Remove USB in build_travis test (USB is not supported right now on this platform) 2017-01-13 14:35:04 +00:00
bcostm 318aa4d1f8 Add platform in RTOS tests + build_travis 2017-01-13 14:35:02 +00:00
Richard Lin 5c9ea66fcb Fix && -> & typo 2017-01-13 14:35:01 +00:00
Richard Lin 9b8f5c33b1 Add TX, EW, EP, BO interrupts; allow reset to clear a bus-off condition 2017-01-13 14:34:59 +00:00
Richard Lin 7ff993bd9d Ensure that PWM=1 is resolved correctly 2017-01-13 14:34:58 +00:00
Adrien Chardon 22c454bcb5 Set bit without reseting the whole register 2017-01-13 14:34:56 +00:00
Adrien Chardon 189747f8fd Fix can_read() return value for STM32 boards 2017-01-13 14:34:55 +00:00
Laurent MEUNIER 76e406f323 STM32: I2C: i2c_byte_read return value in case of error
To make clear that an error is being reported, we shall report -1,
2 being the timeout error for i2c_byte_write only.
2017-01-13 14:34:53 +00:00
Laurent MEUNIER dbecf14c36 STM32: I2C: remove debug code
Few debug lines were to be removed / updated.
Move the printf to DEBUG_PRINTF and return the error when needed.
2017-01-13 14:34:52 +00:00
Laurent MEUNIER 2e54e53f76 I2C test: add L073RZ 2017-01-13 14:34:51 +00:00
Laurent MEUNIER 6f6fc02ac6 I2C test: master should send stop
it's master not slave that shall send STOP at the end of I2C transfer
2017-01-13 14:34:49 +00:00
Laurent MEUNIER ad39d3f737 I2C test: let slave time to get notified
depending on timing and HW, there might be some delay before the master
request gets notified, so better loop in while than a single call
to slave.receive()
2017-01-13 14:34:48 +00:00
Laurent MEUNIER 21bb46f6b1 I2C test: change slave address
This avoids conflicts with slave on ci-test-shield
2017-01-13 14:34:46 +00:00
Laurent MEUNIER 859dbb4240 STM32: I2C unitary functions for IP V2
STM32 supported targets have 2 possible versions of I2C.
This patch makes the start / stop / read and write byte work ok for IP V2.
This was not working before and does not seem to be widely used.
2017-01-13 14:34:45 +00:00
tomoyuki yamanaka aa43fb0a1c Support RTX v4.80 for Cortex-A and a few Malloc API
PR to update RTX to v4.80 for Cortex-A.
In the latest CI test, three tests result in an error. The cause is mainly three points
- Unsupport RTX v4.80 for Cortex-A
- Insufficient stack size of thread defined in test
- A few Lack of Malloc API in GCC
Therefore, I supported to these. For the stack size for test, @c1728p9 already supported in PR #3362.

Reference for issue of test error is here.
https://github.com/ARMmbed/mbed-os/issues/3273

Reference for PR to update RTX for Cortex-M.
https://github.com/ARMmbed/mbed-os/pull/1702
2017-01-13 14:34:43 +00:00
tomoyuki yamanaka 61d08c80f2 Revert "[RZ/A1H]Support RTX v4.80 for Cortex-A and a few Malloc API"
This reverts commit e71f79aaf2.
2017-01-13 14:34:42 +00:00
tomoyuki yamanaka 4a4ab8be1e Support RTX v4.80 for Cortex-A and a few Malloc API
PR to update RTX to v4.80 for Cortex-A.
In the latest CI test, three tests result in an error. The cause is mainly three points
- Unsupport RTX v4.80 for Cortex-A
- Insufficient stack size of thread defined in test
- A few Lack of Malloc API in GCC
Therefore, I supported to these. For the stack size for test, @Russ already supported in PR #3362.

Reference for issue of test error is here.
https://github.com/ARMmbed/mbed-os/issues/3273

Reference for PR to update RTX for Cortex-M.
https://github.com/ARMmbed/mbed-os/pull/1702
2017-01-13 14:34:40 +00:00
Martin Kojtal 2885c1b41e Merge pull request #3510 from ARMmbed/release-candidate
Release candidate for mbed-os-5.3.2
2017-01-04 13:11:51 +01:00
Anna Bridge 0c4ccdcb90 Update MBED_LIBRARY_VERSION to v133. Update mbed-os 5 patch version. 2016-12-30 12:51:11 +00:00
Mahadevan Mahesh 14a2e3afe2 Rename KSDK2 to MCUXpresso. This is the new name of this package from NXP
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-30 12:47:49 +00:00
ccli8 228df6f96c Add target SPI pins into SPI SD test samples with Travis CI 2016-12-30 12:42:58 +00:00
ccli8 4c2406ee73 Fix compile error with Travis CI
Use MBED_CONF_RTOS_PRESENT to filter out mbedtls alternative for mbed OS 2.
2016-12-30 12:42:56 +00:00
ccli8 e525e96009 Add license header for USBEndpoints_NUC472/M453.h 2016-12-30 12:42:52 +00:00
ccli8 702cf49648 Integrate with Travis CI
1. Add targets into build_travis.py and tests.py.
2. Add target SPI pins into SPI SD test samples.
3. Rename target TOOLCHAIN_GCC_ARM/retarget.c to avoid name collision of compiled retarget.o with platform/retargets.cpp.
2016-12-30 12:42:49 +00:00
ccli8 fa5333195f Support USB device 2016-12-30 12:42:47 +00:00
Jaakko Kukkohovi 5a7f691bec Update mbed-client-c version 3.0.4 2016-12-30 12:42:45 +00:00
Mahadevan Mahesh 1be750c669 MCUXpresso I2C: Handle 0 byte write
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-30 12:42:43 +00:00
Bartek Szatkowski 3668006cf5 Fix deprecated Thread ctor usage in RTOS tests
Thread spawning constructors are deprecated, start function should be
used instead.
2016-12-30 12:42:37 +00:00
Jimmy Brisson f4dd4028e8 Improve error message when exporting for make without a linker script 2016-12-30 12:42:34 +00:00
Amanda Butler 015889d1fc Delete BUILDING.md
Delete this page because an exact duplicate exists in the Handbook
2016-12-30 12:42:32 +00:00
adustm 1456e8797d fix for #3387 need to disable the data cache for Ethernet to use the DMA descriptors if they are located in SRAM1 and SRAM2 2016-12-30 12:42:30 +00:00
Sam Lin 57bdd47f17 Use __HAL_CAN_CLEAR_FLAG macro clear TSR . Redress stm32f1xx_hal_can.h header file comment 2016-12-30 12:42:28 +00:00
Sam Lin 836ff13919 Repair the Transmit mailbox (0,1,2) empty interrupt Flag not clear BUG 2016-12-30 12:42:26 +00:00
bcostm a2ca39538f Correct wrong alternate-function number for CAN PB_8/PB_9 pins and PWM PC_7 pin 2016-12-30 12:42:23 +00:00
Brian Daniels 455448dcc6 Removing default toolchain paths
This change was spurred by a confusing error. I attempted to compile for
the RZ_A1H (a Cortex-A device), and I had the standalone ARM compiler in
my system path, which supports Cortex-A. However, the default path for
the ARM compiler in settings.py uses a Keil installation, which only
supports Cortex-M. It found my Keil installation and used that instead.
This change proposes to remove this default behavior and instead
requires the user to explicitly set the intended compiler, either by a
settings file, mbed CLI, environment variables, or by placing the
compiler in your PATH.
2016-12-30 12:42:21 +00:00
Amanda Butler 745b376238 Delete ignoring_files_from_build.md
Exact duplicate of page exists in Handbook
2016-12-30 12:42:19 +00:00
Amanda Butler 7f8bef9444 Delete events.md
Duplicate page exists in Handbook
2016-12-30 12:42:17 +00:00
Jimmy Brisson 00e028ca74 Move clean functionality out of the export api
It was possible to remove an entire project if clean was specified on
the command line. That's a Bad Thing(tm).
2016-12-30 12:42:15 +00:00
Brian Daniels 480ec66b75 Limiting the thread stack for parallel threads test
Previously, the RTOS threads test was conditionally change the thread
stack size for all test cases based on the target. Now, it uses the
default stack size for all targets when threads are created serially,
and uses a 512 byte stack for the threads that are created in parallel.
2016-12-30 12:42:13 +00:00
Hasnain Virk 7333c5ae6d Avoid option level collisions
To allow a network stack to support both NSAPI and its own options, try to make
sure the NSAPI levels don't collide with level numbers likely to be used by
network stacks.

Distinguish between socket and stack options, and tighten up documentation. Add
IP MRU stack options as an example (implementation not immediately planned for
any stack, but could be useful).
2016-12-30 12:42:10 +00:00
Hasnain Virk b2e0dd233e Supporting non-blocking connect()
A few new error codes are added to nsapi_error_t and
support for non-blocking socket connect is added.
Nanostack's connect call will be non-blocking.
Whereas LWIP connect call is currently blocking, and it could be changed now
to be non-blocking.
2016-12-30 12:42:08 +00:00
jeromecoutant 4e83b88257 Run astyle 2016-12-30 12:42:06 +00:00
jeromecoutant 8627204d36 STM32: Refactor lp_ticker.c + rtc_api.c + sleep.c + rtc_api_hal.h files 2016-12-30 12:42:04 +00:00