Commit Graph

16621 Commits (fd68ba0d642bca2bc40946dcba6ccefdcbde70e4)

Author SHA1 Message Date
Russ Butler fd68ba0d64 Fix possible bug with SysTimer
Ensure the SysTimer isn't added to the timer list twice by adding
an extra call to remove() inside suspend().
2018-06-15 13:30:56 +01:00
Karl Zhang da400af894 FPGAIO: Add MISC IO initialization support 2018-06-15 13:30:56 +01:00
ccli8 9ab170483f Fix RTC cannot cross reset cycle 2018-06-15 13:30:56 +01:00
ccli8 3eaaf65203 Add back RTC to device_has target configuration 2018-06-15 13:30:56 +01:00
ccli8 d2e415871b Power down RTC access from CPU domain in rtc_free
After rtc_free, RTC gets inaccessible from CPU domain but keeps counting.
2018-06-15 13:30:56 +01:00
Kimmo Vaisanen e1288ab6c2 Lora: Add greentea tests for LoRaRadio API
This LoRaRadio test set adds basic tests which can be run with a single HW.
2018-06-15 13:30:56 +01:00
Veijo Pesonen 67a329f382 Makes UDPSOCKET_SENDTO_INVALID part of the netsocket extended test set 2018-06-15 13:30:56 +01:00
Veijo Pesonen 35f980ba4f gethostbyname won't accept empty name
Considers both versions - synchronous and asynchronous. Earlier the
underlying stack was trusted to do this check.
2018-06-15 13:30:56 +01:00
Mika Leppänen e703861333 Corrected asynchronous DNS functionality
- Set network stack to store event queue so that mbed::mbed_event_queue() call
  is not needed every time call_in() is called
- Added dns state variables and enum (states are: created, initiated and cancelled)
- Corrected DNS response handling so that if DNS server returns that host name is
  unknown the DNS query is not tried again
- Reorder mutexes in nsapi_dns_query_multiple_async()
- Created nsapi_dns_query_async_initiate_next() function to initiate the next
  DNS query from the queue after delete of previous query
- Added dsn_timer_running variable to supervise DNS timer start/stop
- Changed cancel function to only mark query as deleted and moved deletion
  to timer function. This allows to run socket close on DNS thread
- Added new nsapi error NSAPI_ERROR_TIMEOUT for DNS (and other) timeouts
2018-06-15 13:30:56 +01:00
TomoYamanaka 875c0ebdad Fix redeclaration of type name "bool_t"
I fixed redeclaration of type name "bool_t" for target Renesas because this typedef has been defined in rtx_core_ca.h by #6273.
2018-06-15 13:30:56 +01:00
Ari Parkkila 5cd450ce70 Cellular: Fix AT URC handler not to dismiss incoming chars 2018-06-15 13:30:56 +01:00
Marcus Chang 28060c1b63 Fix array overflow in gpio configuration code for NRF5x
Reintroduce PR #6021

https://github.com/ARMmbed/mbed-os/pull/6021

which was accidentally removed by PR #6711

https://github.com/ARMmbed/mbed-os/pull/6711
2018-06-15 13:30:56 +01:00
Marc Emmers 5cb665ed07 Added STM32L433RC to iar exporter options 2018-06-15 13:30:56 +01:00
Kari Haapalehto a4ff62e145 Add check for _interface 2018-06-15 13:30:56 +01:00
Mike Harrington bd6503fb81 Fixed incorrect clean_flags method and float-abi linker option for CCES exporter. 2018-06-15 13:30:56 +01:00
amq a87d40396f EFM32: make mbed_rtx.h depend of families instead of targets 2018-06-15 13:30:56 +01:00
Steven 31ef22180c EFM32 IRQ handling fix
* IRQ handling got updated previously to a non-functional state when both callbacks were registered (it'd fire a fall callback for both rise and fall events). With this update, that faulty behaviour is corrected. Due to delays between the detection of the edge and the handling of the interrupt (and the fact that information about which edge you received on the pin is not stored anywhere), there is no way to be absolutely sure which edge got triggered on the pin. Therefore, we make a best-guess effort by looking at the pin state at the time of IRQ handling, and fire a callback as if that was the end state of the event. This will usually work out fine, except in cases were the signal is toggling faster than the IRQ handler's response time. In that case, a user won't get both callbacks (as expected for a pulse), but only the last event.
* Stripped some dead code.
2018-06-15 13:30:56 +01:00
Steven 41e08d7232 Fix to flash API on EFM32
* Since mbed does not overwrite itself, make the flashing routines run out of flash by default
* Report a writeable size of 4 bytes (previously erroneously reported a full eraseable page as the minimum write size)
2018-06-15 13:30:56 +01:00
Steven 6207b90726 Update pinout of TB_SENSE_12 to production revision
* Updated pinout of EXP header from pre-production to production
* Move assignment of PF7 to SPI_2 to be compatible with the new SPI flash routing
2018-06-15 13:30:56 +01:00
Mirela Chirica 2b2f53e92f Cellular: Added ENOTTY define in mbed_retarget stub 2018-06-15 13:30:56 +01:00
Mirela Chirica ca0ba7727a Cellular: Added missing copyrights 2018-06-15 13:30:56 +01:00
Mirela Chirica 3586af6da7 Cellular: Unit tests fixes 2018-06-15 13:30:56 +01:00
PHST 40de17a345 EFM32PG12_STK3402 - Correct wrong Expansion header Pin naming
Referencing to "UG257: EFM32 Pearl Gecko PG12 Starter Kit User's Guide - Chapter 4" (https://www.silabs.com/documents/public/user-guides/ug257-stk3402-usersguide.pdf) it should be like in this commit.
2018-06-15 13:30:56 +01:00
Teppo Järvelin 7944db6411 Cellular: review fixes. 2018-06-15 13:30:56 +01:00
Teppo Järvelin 79739de1aa Cellular: review changes. 2018-06-15 13:30:56 +01:00
Teppo Järvelin 0c23935cae Cellular: Fixed connect-disconnect sequence can now be called multiple times. 2018-06-15 13:30:56 +01:00
Cruz Monrreal 866850acc1
Merge pull request #7171 from ARMmbed/release-candidate
Release candidate for mbed-os-5.9.0-rc3
2018-06-08 12:47:03 -05:00
Krzysztof Stachowiak e5b59ab945 Update Mbed TLS after corrections for the import procedure 2018-06-08 09:23:59 +01:00
Krzysztof Stachowiak 1a6028b60d Update MbedTLS to 2.10.0 (from an RC) 2018-06-08 09:23:59 +01:00
Krzysztof Stachowiak 1394b03e64 Update Mbed TLS do version 2.10.0-rc1 2018-06-08 09:23:59 +01:00
Krzysztof Stachowiak 9f71d5fcb5 Improve the documenting comment in a config adjustment script 2018-06-08 09:23:59 +01:00
Krzysztof Stachowiak 4b3f8d5869 Add configuration options to enable CMAC in mbedtls by default 2018-06-08 09:23:59 +01:00
Martin Kojtal 4aa2bf6aec
Merge pull request #7122 from ARMmbed/5.9-release-candidate
Release candidate 2 for mbed-os-5.9.0
2018-06-06 17:18:02 +02:00
ccli8 c9338d1800 Fix RTOS-less build failed with cmsis/RTE_Components.h 2018-06-06 08:26:55 +01:00
Martin Kojtal d3e48c2317 test: remove verbose from buil libs calls
it was removed recently, not used anymore
2018-06-06 08:03:32 +01:00
Martin Kojtal 3e8488adab build: fix notifier typo and passing to builds API
Notifier should be passed to build libs functions, otherwise it's
none and fails.

Missing notify object in toolchain also fixed.
2018-06-06 08:03:22 +01:00
Cruz Monrreal d743f7fab5
Updated lines missed during Notifier API migration 2018-06-05 17:18:54 -05:00
Jimmy Brisson babfb00b80 Use Notifier API when building mbed2 2018-06-05 13:43:45 -05:00
Cruz Monrreal II 97028c5fd8 Removed extraneous file open 2018-06-05 15:05:18 +01:00
Cruz Monrreal II cc5a36ba81 Modified IntelHex tofile parameter to use path. Py3 open(...) returns a BufferedReader instead of a file. 2018-06-05 15:05:18 +01:00
Cruz Monrreal II 25c49f286a Modified memap path separator parsing to support Py3. Had to remove part of test that was incompatible with Py3 on Windows. 2018-06-05 15:05:18 +01:00
Cruz Monrreal II e8661f5b86 Sets module no longer needed to use set() 2018-06-05 15:05:18 +01:00
Cruz Monrreal II 6daf367b93 Modified LazyDict to inherit from object instead of dict, and removed iteration over values. Py3 no longer supports dictionaries that self-modify their item lists during iteration. 2018-06-05 15:05:18 +01:00
Cruz Monrreal II a7f73de527 Added basestring import for proper string concatenation in Py3 2018-06-05 15:05:18 +01:00
Cruz Monrreal II f84c74a920 Encapsulated Windows file separator for proper regex parsing 2018-06-05 15:05:18 +01:00
Vincent Coubard f4089a0d74 BLE Nordic: Initialize and teardown tls platform context 2018-06-05 15:05:18 +01:00
Vincent Coubard 3fc2d33946 Nordic FIX: place observers sequentially in flash. 2018-06-05 15:05:18 +01:00
paul-szczepanek-arm bf4a8040f0 fix erroneous assert 2018-06-05 15:05:18 +01:00
paul-szczepanek-arm ab51109a9c check for invalid param 2018-06-05 15:05:18 +01:00
paul-szczepanek-arm 5aaca082f0 fix not updating size of array 2018-06-05 15:05:18 +01:00