Commit Graph

9505 Commits (dd8c22db4a69fe6a4efede2e1bb5059104a57e3e)

Author SHA1 Message Date
Laurent MEUNIER b4a0c0370f STM32: HAL update, use I2C function instead of MACRO
Following HAL update, this is needed to use the I2C API function
rather than previously used MACRO.

An assert would fail at compilation time otherwise.
2017-01-13 14:35:52 +00:00
Laurent MEUNIER d3c583858a STM32Cube_FW_F0_V1.7.0
CMSIS v2.3.0 => v2.3.1
    STM32F0 HAL v1.4.0 => v1.5.0
    LL Layer introduction for STM32F0
2017-01-13 14:35:51 +00:00
Russ Butler c630d5309a LPC4088 - Fix vector checksum
Turn on the vector checksum on all LPC4088 variants. This checksum is
required for an application to boot.
2017-01-13 14:35:49 +00:00
Mahadevan Mahesh 018e286ba2 K64F UART Asynch API: Fix synchronization issue
The UART state should be set to busy before starting the transfer

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-01-13 14:35:47 +00:00
Jimmy Brisson 25096d83e1 Change sorting to ignore case 2017-01-13 14:35:46 +00:00
Jimmy Brisson 735e336f46 Asciiabetize the files within a group 2017-01-13 14:35:44 +00:00
Jimmy Brisson 7c330289de Alphabetize UVision groups 2017-01-13 14:35:43 +00:00
TomoYamanaka ec7f949bfe Fix I2C driver for RZ/A1H
Previously, when "length = 0" as failsafe, "return 0" is executed.
But we changed so that only START bit and STOP bit are executed same as other devices.
2017-01-13 14:35:41 +00:00
Seppo Takalo 1ac5be8fda Add support for ethernet-only configuration with Nanostack.
This saves about 100kB of flash when using ethernet only configuration.
Otherwise only border router configuration was supporting ethernet.
2017-01-13 14:35:40 +00:00
bcostm 3430f90176 Remove automated flag for MBED_29/30 tests 2017-01-13 14:35:38 +00:00
bcostm 17397467c7 Add CAN feature and activate CAN tests for this platform 2017-01-13 14:35:36 +00:00
bcostm 9edb16f60c Add CAN object structure 2017-01-13 14:35:35 +00:00
bcostm 238cc8301f Add NUCLEO_F412ZG in main.cpp files used for the tests 2017-01-13 14:35:33 +00:00
jeromecoutant bb453c666e STM32L4 deepsleep improvement 2017-01-13 14:35:32 +00:00
Jan Jongboom 15744b2e5c Eclipse: Symbols should also be loaded when starting a debug session 2017-01-13 14:35:30 +00:00
Anna Bridge d0bb026aff Review comments: Use os.rename rather that system mv command. In prepare_fork(), change nested IF to neat command loop. 2017-01-13 14:35:29 +00:00
Anna Bridge 2cf96c847e Modify update command to directly edit the mbed-os.lib files for each example specified in the supplied .json file, in a user specified fork. A pull request is then made from each fork to the ARMmbed master repo.
New usage:
python update.py <args>
Where <args> are:
  [-c <file.json>] optional argument for example list, default
                   example.json
  -U <github user with forked repos>
  -T <github authorisation token>
  tag
2017-01-13 14:35:27 +00:00
Mahadevan Mahesh 609d6a1e14 MCUXpresso: Fix ENET driver to enable interrupts after interrupt handlers are set
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-01-13 14:35:26 +00:00
Russ Butler cff838d929 exporters - group by directories in prj root
Update exporter grouping code to group by directories in the root
of the project rather than by the parent directory of each file. This
reduces the number of groups and allows all mbed-os code to reside
in its own folder.
2017-01-13 14:35:24 +00:00
Christopher Haster 957b74a052 events - Fixed overflow of timeout on STM32F4
For equeue_sema_wait, -1 is used to indicate an infinite wait.
This wasn't handled in the nonrtos implementation and caused
undefined/weird behaviour after an overflow on integer multiplication.

On most boards, the infinite wait would return after ~50 days, on the
STM32F4 the timeout killed all other timeouts for some reason.
2017-01-13 14:35:23 +00:00
Jimmy Brisson 40eed3d15b Repair the Emblocks exporer and rename to EmBitz
* Rename because the tool has been renamed
 * Removed duplicate symbol definitions
 * Removed common flags from ld flags (common are c/c++ only)
 * Moved EmBlitz to it's own folder
2017-01-13 14:35:22 +00:00
Mahadevan Mahesh 92813b9ff6 K64F: Add support for SERIAL ASYNCH API
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-01-13 14:35:20 +00:00
Laurent MEUNIER 58edf549c8 STM: SPI: Initialize Rx in spi_master_write
In case Rx is not initiliased its content might be random from stack.
This is causing problem in case of 8 bits read only as the left-side 8 bits
of the returned int value may contain this random byte data. This was for
instance detected when using SDFileSystem Lib.
2017-01-13 14:35:19 +00:00
bcostm 7ba1aa5027 Add support of TRNG peripheral 2017-01-13 14:35:17 +00:00
Jimmy Brisson 8ea469259c Remove deprecated clean argument 2017-01-13 14:35:16 +00:00
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