Commit Graph

9738 Commits (73955b678e59b9ebd23a9530c401f4db3a43b071)

Author SHA1 Message Date
Laurent MEUNIER b15fc6a6b5 STM32: TIM: Initialize new TIM parameter 2017-01-10 16:53:20 +01:00
Laurent MEUNIER cdcaf2a473 STM32: Serial: Use up to date MACROs
Following STM32 HAL update, it is needed to use up-to-date MACROs.
Otherwise, build would fail.
2017-01-10 16:53:17 +01:00
Laurent MEUNIER 0ca04ffb3e 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-10 16:53:15 +01:00
Laurent MEUNIER af6cdabc28 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-10 16:50:35 +01:00
Alessandro Angelino 5f1c04745a uVisor: Update to v0.26.2
* Add support for uVisor own SRAM.
    * This enables targets where uVisor sits in a TCM.
* Distinguish between uVisor and public SRAMs.
2017-01-10 13:15:54 +00:00
Alessandro Angelino 89641bc7e0 uVisor: Update K64F and EFM32GG linker scripts
This commit improves consistency between different platforms' linker
scripts. In particular, we use "__UVISOR_SRAM_START" instead of
"__UVISOR_BSS_START" as the uVisor BSS sections might be outside of the
SRAM (for example, when using a tightly-coupled memory).
2017-01-10 13:15:54 +00:00
adustm 3a53a5adc8 DISCO_F429ZI: Add support for uVisor 2017-01-10 13:15:54 +00:00
Anna Bridge 9e24117b68 Merge pull request #3403 from geky/lwip-fix-tcp-connect-error
lwip - Fixed error codes for failed TCP connect
2017-01-10 10:43:37 +00:00
bcostm f6c93d3241 Remove automated flag for MBED_29/30 tests 2017-01-10 11:22:51 +01:00
bcostm ead72934ef Add CAN feature and activate CAN tests for this platform 2017-01-10 11:22:51 +01:00
bcostm 31e6e5c182 Add CAN object structure 2017-01-10 11:15:38 +01:00
bcostm 25e885eafc Add NUCLEO_F412ZG in main.cpp files used for the tests 2017-01-10 11:07:45 +01:00
TomoYamanaka 0236d95fed 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-10 12:44:12 +09:00
Christopher Haster f9752f957e 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-09 19:28:33 -06:00
Anna Bridge fb27b649c5 Review comments: Use os.rename rather that system mv command.
In prepare_fork(), change nested IF to neat command loop.
2017-01-09 17:56:20 +00:00
Sam Grove 3a326c0b94 Merge pull request #3521 from theotherjimmy/refurbish-embitz
Repair the Emblocks exporer and rename to EmBitz
2017-01-09 11:28:59 -06:00
Sam Grove be28fd85a9 Merge pull request #3438 from NXPmicro/SERIAL_ASYNC_API
K64F: Add support for SERIAL ASYNCH API
2017-01-09 10:46:46 -06:00
Sam Grove 4f9e9f635f Merge pull request #3540 from LMESTM/fix_spi_rx_init
STM: SPI: Initialize Rx in spi_master_write
2017-01-09 10:37:05 -06:00
Sam Grove 5fd8a5e43a Merge pull request #3539 from bcostm/dev_trng_nucleo-f412zg
NUCLEO_F412ZG - Add support of TRNG peripheral
2017-01-09 10:34:18 -06:00
Sam Grove ff49a8cdc1 Merge pull request #3538 from theotherjimmy/fix-export-tests
Remove deprecated clean argument
2017-01-09 10:33:35 -06:00
Sam Grove 1816f0b7dc Merge pull request #3537 from bridadan/remove_project_defaults
Remove default -m and -i options for project.py
2017-01-09 10:31:10 -06:00
Sam Grove 613b92af04 Merge pull request #3531 from bittailor/fix-include-paths-for-eclipse-export
Correctly format include paths for eclipse export
2017-01-09 10:30:00 -06:00
Sam Grove 7b83e0ff93 Merge pull request #3526 from geky/lwip-fix-static-ip-dns
lwip - Fix static IP address issues with IPv4
2017-01-09 10:27:11 -06:00
Seppo Takalo 1a5d6d7f19 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-09 18:26:56 +02:00
Sam Grove 2c6fe1fe06 Merge pull request #3518 from bridadan/fix_test_macros_with_app_json
Preventing app_config from clobbering CLI macros
2017-01-09 10:23:14 -06:00
Sam Grove 110deed4ae Merge pull request #3514 from OpenNuvoton/nuvoton_usb
[NUC472/M453] Remove Tab in USB HAL
2017-01-09 10:20:50 -06:00
Sam Grove 3019688406 Merge pull request #3513 from bcostm/rtos_nucleo-f412zg
NUCLEO_F412ZG - Add platform in RTOS tests + build_travis
2017-01-09 10:19:27 -06:00
Sam Grove 10b6dbf839 Merge pull request #3504 from CalSol/canfixes
[LPC15xx] CAN implementation improvements
2017-01-09 10:18:43 -06:00
Sam Grove c305000f2b Merge pull request #3503 from CalSol/pwmfix
[LPC15xx] Ensure that PWM=1 is resolved correctly
2017-01-09 10:18:01 -06:00
Sam Grove cefae22703 Merge pull request #3492 from Nodraak/fix/3463/can_read_return_value
Fix #3463 CAN read() return value
2017-01-09 10:17:27 -06:00
Sam Grove ddcd3ad711 Merge pull request #3488 from LMESTM/dev_stm_i2c_v2_unitary_functions
Dev stm i2c v2 unitary functions
2017-01-09 10:15:55 -06:00
TomoYamanaka 9af3173993 [RZ/A1H]Support RTX v4.80 for Cortex-A and a few Malloc API (#3470)
* [RZ/A1H]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

* Revert "[RZ/A1H]Support RTX v4.80 for Cortex-A and a few Malloc API"

This reverts commit e71f79aaf2.

* [RZ/A1H]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-09 10:11:52 -06:00
Sam Grove 41b22bfa3c Merge pull request #3432 from jamike/TARGET_STM_USBHOST_FS
Target STM USBHOST support
2017-01-09 10:08:45 -06:00
Sam Grove 6af7b2916f Merge pull request #3265 from geky/lwip-tests
lwip - Add more network tests
2017-01-09 10:08:17 -06:00
jeromecoutant 633240b93b STM32L4 deepsleep improvement 2017-01-09 12:21:24 +01:00
Jan Jongboom 1a21696924 Eclipse: Symbols should also be loaded when starting a debug session 2017-01-08 11:15:32 +01:00
Laurent MEUNIER fd3a3f9de8 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-06 13:20:55 +01:00
bcostm 30ac4aae75 Add support of TRNG peripheral 2017-01-06 10:36:29 +01:00
Brian Daniels d32e3d878d 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-05 17:19:52 -06:00
Jimmy Brisson dacdbdcfe4 Remove deprecated clean argument 2017-01-05 17:16:00 -06:00
Franz Schnyder 75a61dfe78 Fix review requests
- Shorten variable name
- Use comprehension to format include paths
2017-01-05 18:17:46 +01:00
Christopher Haster bbcf8de9e3 lwip - Filtered network tests based on DEVICE_EMAC
Currently DEVICE_EMAC is incompatible with the EthernetInterface
2017-01-05 11:16:24 -06:00
Christopher Haster 5f728e1b66 lwip - Marked *_packet_pressure tests as "extended tests"
*_packet_pressure_parallel tests are useful for checking for synchronization
errors, but push the practical limitations of the network stack. Failing
these tests is not unreasonable.

*_packet_pressure tests are a little bit less unreasonable, but also
push the practical limitations of the network stack. Hopefully these
will become stable in the near future.
2017-01-05 10:58:15 -06:00
Franz Schnyder b668185339 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-05 14:20:54 +01:00
Anna Bridge 01c39629fe 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-05 12:11:55 +00:00
Christopher Haster 6f375d20f8 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-04 12:12:16 -06:00
Christopher Haster 146577731e lwip - Fixed lwip connected state after bringup with static ips
Thanks to @YixiaoLi for noting this was incorrect
2017-01-04 12:10:47 -06:00
Jimmy Brisson b8b4131a4a 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-03 15:17:23 -06:00
Brian Daniels 3baeb8a8a7 Preventing app_config from clobbering CLI macros 2017-01-03 13:27:12 -05:00
Laurent MEUNIER 4297e3fd36 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-03 18:06:19 +01:00