Commit Graph

9697 Commits (62433aba36e831961cfb516475cf63553043ea89)

Author SHA1 Message Date
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
bcostm 442181976b Remove USB in build_travis test (USB is not supported right now on this platform) 2017-01-03 16:05:49 +01:00
Adrien Chardon 885b018f77
Set bit without reseting the whole register 2017-01-03 11:46:27 +01:00
Adrien Chardon 7e0b4fe3c9
Fix can_read() return value for STM32 boards 2017-01-03 11:46:25 +01:00
Laurent MEUNIER 455c2ecbea 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-03 10:18:56 +01:00
ccli8 614a451970 [NUC472/M453] Remove Tab in USB HAL 2017-01-03 13:23:30 +08:00
bcostm 3e499e21e4 Add platform in RTOS tests + build_travis 2017-01-02 17:40:49 +01:00
Richard Lin 14d579ad50 Fix && -> & typo 2017-01-02 01:47:43 -08:00
Michel Jaouen 25c0d9034f USBHOST STM : add more board
NUCLEO : F411RE, L476VG, F746ZG
DISCO : L476VG
2017-01-02 09:51:48 +01:00
Michel Jaouen 83369045bd update build_travis.py 2017-01-02 09:48:17 +01:00
Michel Jaouen 815194a98b USBHOST : add mouse test 2017-01-02 09:48:17 +01:00
Michel Jaouen 72dae26774 USBHOST : test mass storage 2017-01-02 09:48:16 +01:00
Michel Jaouen 14153dcbc3 USBHOST STM support :
NUCLEO : F429ZI, F446ZE, F207ZG, F767ZI, F401RE,
DISCO : F429ZI
2017-01-02 09:48:16 +01:00
Michel Jaouen 8af69dcbd6 STM32 HAL HCD : USBHOST changes for f4,f2,l4,f7
- reset toggle_out , toggle_in at init
-  in/out toggle in on ctrl endpoint
- remove call back when transmission restarted
2017-01-02 09:48:15 +01:00
Michel Jaouen 54db0a4143 USBHOST : introduce USBHOST_OTHER (USBHost on USB IP not OHCI). 2017-01-02 09:48:14 +01:00
Michel Jaouen 48434cfd64 USBHOST: fix call back 2017-01-02 09:48:14 +01:00
Michel Jaouen 1577037b4b USBHOST : add return value to queue transfer
modify add transfer to support return value.
2017-01-02 09:48:13 +01:00
Martin Kojtal e7361ebc44 Merge pull request #3365 from OpenNuvoton/nuvoton_usb
[NUC472/M453] Support USB device
2016-12-30 12:43:53 +01:00
Martin Kojtal 2f6f3c6631 Merge pull request #3500 from kuggenhoffen/update-mbed-client-c-3.0.4
Update mbed-client-c version 3.0.4
2016-12-30 12:41:45 +01:00
Martin Kojtal 518b07263c Merge pull request #3502 from NXPmicro/I2C_Zerobyte_Write
MCUXpresso I2C: Handle 0 byte write
2016-12-30 12:36:36 +01:00
Martin Kojtal 306cc1ab6d Merge pull request #3490 from ARMmbed/fix_deprecated_thread_ctors
Fix deprecated Thread ctor usage in RTOS tests
2016-12-30 12:35:04 +01:00
Martin Kojtal 24cd5734dd Merge pull request #3483 from theotherjimmy/make-linker-error
Improve error message when exporting for make without a linker script
2016-12-30 12:34:09 +01:00
Martin Kojtal bd6ebbeb21 Merge pull request #3475 from AnotherButler/patch-3
Delete BUILDING.md
2016-12-30 12:33:14 +01:00
Martin Kojtal c6a1109cd6 Merge pull request #3473 from adustm/stm32f7_ethernet_dbg
Stm32f7 ethernet fix for IAR issue #3387
2016-12-30 12:32:46 +01:00
Martin Kojtal 6598e32785 Merge pull request #3405 from samos2011/stm32f1_can_bug
Repair the transmit mailbox (0,1,2) empty interrupt flag not clear BUG
2016-12-30 12:31:18 +01:00
Mahadevan Mahesh 1280dfcca5 MCUXpresso I2C: Handle 0 byte write
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-28 08:03:49 -06:00
Richard Lin 9a8cd059f8 Ensure that PWM=1 is resolved correctly 2016-12-24 23:20:56 -08:00
Richard Lin fd24700c50 Add TX, EW, EP, BO interrupts; allow reset to clear a bus-off condition 2016-12-24 01:51:55 -08:00
Bartek Szatkowski ed41ebef9b Fix deprecated Thread ctor usage in RTOS tests
Thread spawning constructors are deprecated, start function should be
used instead.
2016-12-23 13:16:11 +00:00
Martin Kojtal 6e7ee0e51e Merge pull request #3489 from bcostm/fix_issue_3474
NUCLEO_F103RB - Correct CAN and PWM alternate-functions
2016-12-23 13:15:37 +00:00
Martin Kojtal ae93db711c Merge pull request #3476 from bridadan/remove_default_toolchain_paths
Removing default toolchain paths
2016-12-23 13:14:57 +00:00
Martin Kojtal bd2e5c697f Merge pull request #3494 from AnotherButler/patch-10
Delete ignoring_files_from_build.md
2016-12-23 13:10:46 +00:00
Martin Kojtal 0839a6f1aa Merge pull request #3493 from AnotherButler/patch-9
Delete events.md
2016-12-23 13:10:07 +00:00
Martin Kojtal cb39663b2a Merge pull request #3486 from theotherjimmy/clean-export-fix
Move clean functionality out of the export api
2016-12-23 13:09:06 +00:00
Martin Kojtal 6978a585ab Merge pull request #3484 from bridadan/limit_only_parallel_thread_stack
Limiting the thread stack for parallel threads test
2016-12-23 13:08:40 +00:00
Martin Kojtal 131b23895c Merge pull request #3458 from hasnainvirk/nsapi_levels
[ONME-2844] Avoid option level collisions
2016-12-23 13:07:58 +00:00
Martin Kojtal bba527fdc2 Merge pull request #3457 from hasnainvirk/nsapi_connect
[ONME-2844] Supporting non-blocking connect()
2016-12-23 13:06:55 +00:00
Martin Kojtal d652d391e6 Merge pull request #3454 from 0xc0170/jeromecoutant-PR_LPT
STM32: Refactor lp_ticker.c + rtc_api.c + sleep.c + rtc_api_hal.h files
2016-12-23 13:06:02 +00:00
Martin Kojtal 9b8efb2659 Merge pull request #3391 from jeromecoutant/PR_ST_F4_ASSERT
STM32F4 : map ST HAL assert into MBED assert
2016-12-23 13:05:35 +00:00
Jaakko Kukkohovi d80f863647 Update mbed-client-c version 3.0.4 2016-12-23 13:52:42 +02:00
adustm ee3faa408d 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-22 17:57:50 +01:00