Commit Graph

9418 Commits (22c454bcb538e8661f9f8ebd0071c3669dd77d34)

Author SHA1 Message Date
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
jeromecoutant c9e5f2753e STM32F4 : correct ST HAL API call
- RCC init: one PLL parameter was missing
- GPIO: mode was not allowed by ST HAL API
2016-12-30 12:42:02 +00:00
jeromecoutant 48ee909a6d STM32F4 : refactor stm32f4xx_hal_conf.h and map ST HAL assert into MBED assert 2016-12-30 12:42:00 +00:00
Sarah Marsh 9336e7aca7 Remove Thread::wait from thread example 2016-12-30 12:41:57 +00:00
sarahmarshy e833f70d75 Remove invalid thread::start example
This changes reflects the correct syntax for spawning a thread that will execute a local function with given parameters.
2016-12-30 12:41:55 +00:00
Michael Ammann be467a64ac Target: Add new target UBLOX_EVK_NINA_B1
Based on nrf51 MCU.
2016-12-30 12:41:53 +00:00
Jimmy Brisson 06d2cfd9b5 Revise arguments to detect targets 2016-12-30 12:41:51 +00:00
tomoyuki yamanaka 9a577b2340 Fix TTB setting of RO_DATA area
I modified the TTB setting of RO_DATA area.
The current setting of this area is "not executable".
Therefore, when trying to execute a program placed in this area, a prefetch abort will occur.
So I changed from "Sect_Normal_RO" to "Sect_Normal_Cod".
2016-12-30 12:41:49 +00:00
Michel Jaouen f81c13d67d USB_8 : audio loopback test at 16khz stereo 16bits - Callback TX and RX interface is used. 2016-12-30 12:41:47 +00:00
Michel Jaouen de06af3ec2 USBAudio: tx/rx iso call back. 2016-12-30 12:41:44 +00:00
Amanda Butler 96728a4b51 Delete memap.md
Delete page because an exact duplicate exists in the Handbook
2016-12-30 12:41:42 +00:00
Amanda Butler 7cd8b94505 Delete config_system.md
Delete page because duplicate exists in Handbook
2016-12-30 12:41:40 +00:00
Amanda Butler fea2dbf628 Delete Toolchain_Profiles.md
Delete page because duplicate exists in Handbook
2016-12-30 12:41:38 +00:00