Commit Graph

9590 Commits (mbed-os-5.3)

Author SHA1 Message Date
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
Amanda Butler 7a546df2d3 Delete COMMITTERS.md
Delete page because an exact duplicate exists in the Handbook
2016-12-30 12:41:36 +00:00
Amanda Butler 6196db9419 Delete TESTING.md
Delete page because an exact duplicate exists in the Handbook
2016-12-30 12:41:34 +00:00
Mahadevan Mahesh 6070652197 KSDK I2C: Update the return value to match the API documentation change
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-30 12:41:32 +00:00
Brian Daniels de0b95657d Correctly filtering examples in test script.
If an example's GitHub repository contains multiple child examples, the
script was incorrectly filtering out all the child examples when
compiling and exporting. This patch now handles this case correctly.
2016-12-30 12:41:29 +00:00
Laurent MEUNIER abd9014853 STM32 F1: move F1 to I2C common code
Now that F1 HAL has been updated to support required APIs,
the F1 family can also be moved to common code.
2016-12-30 12:41:27 +00:00
Laurent MEUNIER e736c4b2d1 HAL F1: I2C fix btf / rxne cases
Applying the same fix as in L1 and F4.
This is an alignement to F4 HAL as the same IP is used.
2016-12-30 12:41:25 +00:00
Laurent MEUNIER b62d237fde STM32 F1 HAL V1.0.5
This is a partial update of HAL drivers, especially for I2C driver update
2016-12-30 12:41:23 +00:00
Laurent MEUNIER c93eaf8b55 Change slave address in I2C master slave asynch test
Change test slave address to 0x80 because 0x90 is used by a real slave
(temperature sensor) on few boards like the CI shield.
2016-12-30 12:41:21 +00:00
Jared Szechy ca10f72bf7 Add alternative CAN pins to DISCO_F303VC 2016-12-30 12:41:19 +00:00
Jared Szechy dd43be868c Add DISCO_F303VC to build_travis 2016-12-30 12:41:16 +00:00
Jared Szechy 613d552a21 Enable CAN on DISCO_F303VC 2016-12-30 12:41:14 +00:00
jeromecoutant b8ddac0fbb STM32L4 : correct ST HAL API call
- ll_utils: compilation issue
- GPIO: mode was not allowed by ST HAL API
2016-12-30 12:41:12 +00:00
jeromecoutant 3a6edfe7f1 STM32L4 : refactor stm32l4xx_hal_conf.h and map ST HAL assert into MBED assert 2016-12-30 12:41:10 +00:00
Christopher Haster f9c886221c nsapi - Fixed open/close issue in Socket
During open, the socket checked the internal stack variable,
assuming it would alway be null on a socket not connected to
the network. However, when a socket is closed, the stack variable
was not updated, causing the socket to incorrectly return a
parameter error if reopened.

The simple fix was to set the stack to null on close. A non-null
stack is a predicate for a non-null socket variable, so no additional
checks are needed in socket functions.
2016-12-30 12:41:08 +00:00
jeromecoutant fae4f10678 STM32F3 : correct ST HAL API call
- CAN: compilation issue with assert enabled
- GPIO: mode was not allowed by ST HAL API
2016-12-30 12:41:06 +00:00
jeromecoutant 218d9c61a7 STM32F3 : map ST HAL assert into MBED assert 2016-12-30 12:41:03 +00:00
jeromecoutant 7bce9c78d3 STM32F2 : correct ST HAL API call
- GPIO: mode was not allowed by ST HAL API
2016-12-30 12:41:01 +00:00
jeromecoutant 23510b4152 STM32F2 : map ST HAL assert into MBED assert 2016-12-30 12:40:59 +00:00
jeromecoutant 605ceb5e1e STM32F1 : correct ST HAL API call
- GPIO: mode was not allowed by ST HAL API
- PIN map: assert has highlighted an issue for pullup/pulldown setting
- RTC: year after 2000 was not taken into account
2016-12-30 12:40:57 +00:00
jeromecoutant 765095e33c STM32F1 : map ST HAL assert into MBED assert 2016-12-30 12:40:55 +00:00
Laurent MEUNIER e69cbf70bf STM32 I2C: avoid timeout to be 0
In continuation of previous IsDeviceReady case, let's
add 1 in case length is 0 (even though not recommended)
2016-12-30 12:40:52 +00:00
Laurent MEUNIER 1fe00ca5c6 STM32 I2C manage STOP specific case
In case the user applicaiton makes a mixed usage of unitary function
(start, stop, byte write & read) with SYNC operation (write and read of
data buffers with start and stop management), we need to reset the
STM32 HAL state as it is by-passed by a direct call to STOP
2016-12-30 12:40:50 +00:00
Laurent MEUNIER 60aca8fdc0 STM I2C: manage Is Device Ready case
Some device drivers use a data lenght of 0 to check if device is ready.
STM32 HAL provides a dedicated service for that, so let's use it.
2016-12-30 12:40:48 +00:00
Laurent MEUNIER 4c56b1e24c STM I2C - move i2c_read in SYNC part
just change the place of code to have i2c_read and i2c_write together
2016-12-30 12:40:46 +00:00
Martin Kojtal 0789928ee7 Merge pull request #3467 from ARMmbed/release-candidate
Release candidate for mbed-os-5.3.1
2016-12-20 13:31:12 +00:00
Anna Bridge b0889daf32 Update MBED LIBRARY VERSION to 132 and update mbed-os 5 version macros 2016-12-19 14:57:23 +00:00
Anna Bridge 137fb4aba3 Manually patch: DELTA_DFBM_NQ620 default configuration #3298 2016-12-19 14:54:55 +00:00
Bartek Szatkowski ee61f3db5f Add defined port fallback for network echo tests
The 0 aka 'any' port doesn't for on Mac, but, only, using defined port
may interfere with running multiple tests on CI.
2016-12-19 14:40:07 +00:00