Commit Graph

26716 Commits (b9d824d67cb15cf43a205aa5c78336aaa2aaeecf)

Author SHA1 Message Date
Seppo Takalo fb7bbd25f1
Merge pull request #11009 from jeromecoutant/PR_SPI4
FPGA SPI: remove 4 and 12 bits size support
2019-08-05 17:08:42 +03:00
Seppo Takalo 937e791ae0
Merge pull request #10980 from vmedcy/tcpip-thread-priority
LwIP: make TCPIP_THREAD_PRIO configurable
2019-08-05 16:12:01 +03:00
Seppo Takalo f2236d26f8
Merge pull request #11131 from lrusinowicz/serial_free_fix
FUTURE_SEQUANA: Add missing serial_free() implementation
2019-08-05 15:41:45 +03:00
Ari Parkkila 3f74a7f6f9 Fix nsapi_dns_add_server to add a server just once 2019-08-05 03:11:06 -07:00
Seppo Takalo e69a7c913d
Merge pull request #11099 from trowbridgec/update-ep-agora-pinout
Update EP_AGORA target pinout
2019-08-05 12:00:08 +03:00
desmond.chen 3880ae3e81 Fix include path issues on NRF5x with Cordio 2019-08-05 15:17:30 +08:00
Chun-Chieh Li 413d127586 Nuvoton: Remove dead code nu_delay_cycle_x4(...)
Originally, nu_delay_cycle_x4(...) is borrowed from mbed test code for delay
cycle. Currently, it is not used on Nuvoton targets. If delay cycle is needed,
use wait_ns(...) instead which has strict implementation and has passed tests.
2019-08-05 09:32:35 +08:00
Reda Maher 022b99325b Cellular: Support Riot Micro cellular device 2019-08-03 23:42:26 +02:00
Hugues Kamba df85e8e233 Mark Ethernet.h methods as Deprecated in Doxygen documentation (#11146) 2019-08-02 12:32:40 +01:00
Hugues Kamba f0f408b2d8 Upstream PR #11073 review request changes (#11135)
* Modify Doxygen grouping of `drivers` Public/Internal APIs
* Correct classification of `mbed_events.h`
* Amend name of Doxygen group containing Device Key API
* Classify `CallChain.h` as public API and relocate file
* Remove Doxygen group from `equeue_platform.h` as it has no Doxygen compliant documentation
* Move USB target specific code back to `usb/device/targets`
2019-08-02 12:32:40 +01:00
Hugues Kamba 2a9207bbe4 Address comments on workaround for Mbed OS 2 CI build after Public (#11114)
* Modify compilation API to provide a list of paths to exclude from the build.
* `_exclude_files_from_build` becomes a static method
* Replace ternary expression with simple  `if/else` statement
* Make unit test case for dirs exclusion independent of system files
2019-08-02 12:32:40 +01:00
George Psimenos 3b23edb78c Fix CI for branch feature-public-headers (#11093)
* Fix rtos include path in NRFCordioHCIDriver
* Flatten USB driver directory structure
* Add missing include for us_ticker
* Add more missing includes for us_ticker
* Fix mbed_hal_fpga_ci_test_shield/uart test
* Fix bare-metal build
* Fix Watchdog UNITTEST
* Fix Mbed OS 2 build for Public/Internal headers relocating
2019-08-02 12:32:40 +01:00
Hugues Kamba 20f81e19be Change Doxygen groups structure, splitting first by Public/Internal (#11105)
* Change Doxygen groups structure, splitting first by Public/Internal

This commit also does the following:
* groups the documentation of related API
* moves `events/internal/equeue.h` to `events/equeue.h`
* merges `events/source/README.md` to `events/README.md`
2019-08-02 12:23:47 +01:00
Hugues Kamba c6b0a1488b Fix Ethernet driver build (#11096)
Include the missing header file inclusion to find the added
MBED_DEPRECATED macro.
2019-08-02 12:23:47 +01:00
George Psimenos df5baf6031 USB public APIs cleanup (#11034)
The contents of the usb directory were moved to appropriate locations and the usb directory removed.

* Public USB headers moved under drivers/
* Internal USB headers moved under drivers/internal/
* USB Source code moved under drivers/source/usb/
* Moved usb/device/hal/ under hal/usb/
* Moved usb/device/USBPhy/ under hal/usb/
* Merged usb/device/targets/ into targets/
* Separated public and private USB API documentation under Doxygen groups drivers-public-api and drivers-internal-api.
2019-08-02 12:23:47 +01:00
Evelyne Donnaes 8013af2f1e Fixing include files due to latest rebase 2019-08-02 12:23:47 +01:00
Hugues Kamba 83354e46a7 Platform: Separate internal APIs from public APIs
Also includes:
* rename `mbed_sleep_manager.c` to `mbed_power_mgmt.c` to match its
  header file
* create Doxygen groups for public and internal APIs
* use relative path to include header files where inconsistent
* update references to internal APIs throughout libraries
* update the copyright year for all modified files
2019-08-02 12:23:47 +01:00
Hugues Kamba bfa1b4dd84 Drivers/Events/RTOS Public and internal APIs cleanup (#10955)
Separate drivers, events, and rtos internal APIs from public APIs.

* Move source files to source subdirs
* Move internal headers to internal subdirs
* Add Doxygen comments for documenting internal and public APIs
* Remove source code from header files in order to remove include pre-processor directives
that included header files not directly used by said header files
* Explicitly include header files instead of implicit inclusions via third-party header files.

Release Notes

This will break user code that was using an internal API as the internal header files have been moved.
This will only break if the user was including the header file using a namespace (i.e #include "foo/bar.h" instead of #include "bar.h"
2019-08-02 12:23:47 +01:00
Przemyslaw Stekiel 6faf480aba tests-mbed_hal-us_ticker: adapt to the new requirements (relax us ticker frequecy). 2019-08-02 13:23:32 +02:00
Przemyslaw Stekiel 13dff4ae3d Relax us ticker frequency requirement.
This change is required by the Samsung S111(S5JS100). On this board timer clock used for us ticker operates at 26MHz.
According to current requirements, 8 MHz is the top limit for us ticker timer.

This change relaxes top limit to 100 MHz, but only for 32-bit timers.

Ticker common layer schedules one interrupt per timer rollover to trace elapsed time. We need to ensure that this operation is not performed too frequently. I.e. in case of 16-bit timer at 32 MHz, the timer rollover will happen after ~2 ms. This may cause that there will be no time for other tasks. That is why we increase the top limit, but only for 32-bit timers.
2019-08-02 13:13:38 +02:00
Arto Kinnunen c51a57a033 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 0345477..3c7d50e
3c7d50e Remove test files
d5f5bee Merge branch 'release_internal' into release_external
72b065b Merge pull request #2133 from ARMmbed/few_updates
1da0b9f Fix unittest cleanup
d173249 Adjust GC cleanup threshold and traces
26166d1 Remove ns_sw_mac_packet_ingress_rate_limit_by_mem (#2132)
5305754 Merge pull request #2130 from ARMmbed/IOTTHD-3419
038bc2e Copy ingress rate limiting API to ns_conf
940b516 Fix compiler warnings
64e6ff3 Review corrections
01e7d84 Update GC thresholds, init and traces
1acd1cc Add unit tests for monitor
64c969e Nanostack heap garbage collection
d3330b2 Fix errors found by Coverity (#2131)
da5d2c7 MAC, RPL and ETX trace clean.
eaf8907 Limit amount of incoming packet based on memory (#2128)
0c2b383 Fixed unitest header size compare value for support brodacst shedule.
6c70262 Wi-sun LLC update
7c57343 WS PAN Config handler update
161421b Wi-sun PAN_VERSION lifetime and timeout update
43083ed Fixed broken wi-sun neigbour black list filtering.
0992ee2 Update Pan information data from all selected parent.
cafc142 Fixed Pan advertisment route cost comapre for consistent and incosistent
db81d02 SW MAC timestamp read update
eddf91b Wi-sun neighbor generate limitation
4d6abb3 Added 15 second guarantee time for packet handler before remove link.
9ed97eb SW MAC new API for read current timestamp
6a44829 Stop advertisment RPL prefix if we not have a address and it is not 'A-flag'
d37ce6a Revert "Wi-sun dublicate MPX ID filter support"
d80ebf8 Fix debug trace format.
b1ef0f6 Removed Address reg pending and rady mask from address.
ce672ba Added trace for debugging DHCPv6 failure reason.
aaf2b39 Wi-sun dublicate MPX ID filter support
bd51f9f Merge pull request #2117 from ARMmbed/IOTTHD-3587
b016d52 Fixed DHCPv6 client delete when address was removed to new network discovery.
69fb24b Wi-sun address registration and RPL update
92d3a92 RPL: trace new preferred parent
9a6e4e0 disable multicast NS for wisun
6e13d81 Merge pull request #2113 from ARMmbed/IOTTHD-3577
85aaae7 Refactored the Wi-SUN BBR logic according to design
61f6f5b WS: Added ws stats empty functions
ac191c3 Removed link local address verifycation and dead code.
77076d1 Negative ARO timeout use same timeout than not trusted device.
c4e8735 Wi-sun DHCP solicit max to 15min from 60min.
66615e6 Updated wi-sun BBR min hop rank increase to 196.
9ce41f1 Pendig address registration will move DAO send.
f54ea6b Merge pull request #2110 from ARMmbed/IOTTHD-3577
18dbac2 WS: Implemented ws statistics
3ce95fa FHSS WS: Fixed drift compensation stats
b878bd9 KMP address update
7f18afe PAE controller and NVM update
f692eb8 Wi-SUN border router configure update
386e5ff Wi-sun Update
05b1fe8 do not send periodic DIO messages if DAO registration is not done
6acee47 modified RSL calculation and value in messaging
ee7f218 Modify discovery start timing
1ba806d Wi-SUN NUD send fix
31fb8cd Moved counter config to config.h
cf18063 Added storing of MAC frame counter to NVM
68adb36 Neighbor cache update
8cdd961 Added possibility for Update DHCPv6 client server address.
2dfa536 Merge pull request #2099 from ARMmbed/IOTTHD-3231
8dc200b FHSS: Created statistics for WS
5e67f7c RPL update
bbae493 wi-sun RPL param update
e8567d7 MAC neighbour remove and add trace simplify.
8bb4ab5 Cleaned unnessary debug trace.
3608153 DIO prefix handler update
332735b Disabled Version number periodic update if Dodag max rank inrease is not 0.
940de0b Wi-SUN setup update:
c1a89e5 Merge pull request #2095 from ARMmbed/IOTTHD-3474
f6d81b5 Review corrections
7487ca1 Fix clang-6.0 build error and warnings
cce3fc7 Security protocols are no longer started second time on authenticator

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 3c7d50e9bd8f100eccf23066d0f0adba4cf9b980
2019-08-02 13:52:37 +03:00
Arto Kinnunen d902c1a135 Merge commit 'c51a57a0334645b14794f6082737b11d8b8c56db' into prepare_for_mbedos_5_13_3
* commit 'c51a57a0334645b14794f6082737b11d8b8c56db':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 0345477..3c7d50e
2019-08-02 13:52:37 +03:00
Arto Kinnunen 489fa3adeb Squashed 'features/nanostack/coap-service/' changes from 3c79829..3b447d2
3b447d2 Merge pull request #123 from ARMmbed/coverity_fix
a13b631 Fix error found by coverity

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 3b447d2c4761da09d3926c16824623e54c9eff68
2019-08-02 13:51:07 +03:00
Arto Kinnunen dac37a8994 Merge commit '489fa3adeb46ef38d46db4339dfe8935c9444b02' into prepare_for_mbedos_5_13_3
* commit '489fa3adeb46ef38d46db4339dfe8935c9444b02':
  Squashed 'features/nanostack/coap-service/' changes from 3c79829..3b447d2
2019-08-02 13:51:07 +03:00
Seppo Takalo 818c1d6f0f
Merge pull request #11130 from Tharazi97/NotSupportedTest
Updated testcases
2019-08-02 13:27:54 +03:00
Seppo Takalo 2ca8487371
Merge pull request #11082 from AriParkkila/cell-bg96-dns
Cellular: Add BG96 AT driver with DNS support
2019-08-02 13:27:09 +03:00
Seppo Takalo 4a1f00a081
Merge pull request #10877 from u-blox/ubx_context_activation
Cellular: Ublox cellular context activation updated for C030_R412M
2019-08-02 13:24:37 +03:00
Ari Parkkila ed3562e764 Cellular: Fix shutdown to stop statemachine 2019-08-02 02:26:12 -07:00
int_szyk afddbbf2dc tweaked overflow_protect() lp_ticker() 2019-08-02 10:42:12 +02:00
int_szyk 32bdde5b8e Add queue.count() in Queue.h 2019-08-02 08:49:47 +02:00
Seth Itow 4c4b95e502 platform: enable crash capture for DISCO_F413ZH target 2019-08-01 11:28:36 -07:00
Seth Itow 9a65310a85 stm32f413xh: add crash capture support for ARM_STD 2019-08-01 11:28:36 -07:00
Evelyne Donnaes 896500be31 Fixed greentea header include path 2019-08-01 17:34:29 +01:00
Szymon Szantula dd2876c8ac
__cplusplus guard fixed
This error prevented using this header in cpp code directly.
2019-08-01 14:41:11 +02:00
Evelyne Donnaes 050a338771 Addressed review comments, in particular:
* Fixed wrapper functions for IAR
* Fixed and renamed profile to minimal-printf.json
* Moved minimal-printf under platform
* Removed minimal-printf/mbed_lib.json
* Modified exporter template to work with partial profile
* Prevented optimization of printf to avoid compiler function substitution
2019-08-01 12:42:24 +01:00
Evelyne Donnaes 65ab34695e Integrated minimal-printf in mbed-os 2019-08-01 12:41:59 +01:00
Ari Parkkila cbe2b50a32 Cellular: Fix SIM pin enter command 2019-08-01 03:46:33 -07:00
Mirela Chirica 341cc2be03 Cellular: Remove unnecessary local variables 2019-08-01 13:26:05 +03:00
Seppo Takalo 54d7d7e4c3
Merge pull request #10913 from RonEld/sha512_cc310_porting
Port CC 310 sha 512 driver
2019-08-01 13:13:11 +03:00
Seppo Takalo 6722d8c804
Merge pull request #11132 from kivaisan/fix_mbed_assert_for_unittests
Fix MBED_ASSERT for UTs
2019-08-01 13:02:30 +03:00
int_szyk ae6f8be146 Newline at the end of files 2019-08-01 08:44:58 +02:00
Seth Itow 1c4ad895dd stm32f413xh: add crash capture support for IAR 2019-07-31 15:54:47 -07:00
Seth Itow 6278dacc1f stm32f413xh: add crash capture support for ARM_MICRO 2019-07-31 15:54:20 -07:00
Seth Itow 489bd3dec8 stm32f413xh: add crash capture support for GCC_ARM 2019-07-31 15:53:34 -07:00
Kyle Kearney 33b06d4109 Fix inout pins not functioning correctly
Update the drive mode when setting the GPIO direction.
2019-07-31 11:51:04 -07:00
maclobdell e201a5c6be fix rom start & size for psoc6 targets for 5.13 2019-07-31 12:48:25 -05:00
Maciej Bocianski b788541308 freescale: fix i2c_byte_read function 2019-07-31 19:44:23 +02:00
Lin Gao c36980c370 Fix a build break with ARM compiler 2019-07-31 11:51:20 -05:00
Kimmo Vaisanen 882c21bf0b Fix MBED_ASSERT for UTs
For UTs mbed_assert_internal should not be declared as MBED_NORETURN
as UT stub for mbed_assert_internal only prints out the assert trace
and returns back to original code.
2019-07-31 15:06:28 +03:00
Leszek Rusinowicz 16372f3222 FUTURE_SEQUANA: Add missing serial_free() implementation 2019-07-31 13:28:31 +02:00