Commit Graph

25980 Commits (d6429ef45f71c867d24ec6329230028ed262fbe5)

Author SHA1 Message Date
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 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 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 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
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
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
int_szyk a8d8bd6c18 Astyle 2019-07-31 12:27:41 +02:00
int_szyk 17a4c1b2e9 Update main.cpp 2019-07-31 11:41:57 +02:00
int_szyk 8b68a1ea58 Updated testcases 2019-07-31 10:46:38 +02:00
Ari Parkkila 71c7ed2fb4 Cellular: Add BG96 AT driver with DNS support 2019-07-31 00:19:05 -07:00
Teemu Takaluoma 5b8b2c95b1 Debug-profile: Use -Og level for GCC_ARM optimization
This brings massive ROM savings, and allows to use debug builds
also with larger applications (for. ex. Mesh stack).

Diff. for mbed-cloud-client-example with Wi-Sun stack.

Total Static RAM memory (data + bss): 85120(-216) bytes
Total Flash memory (text + data): 592668(-329296) bytes
2019-07-31 07:51:33 +03:00
Lin Gao eebe00b9d1 Implement PWMOUT 2019-07-30 11:09:44 -05:00
desmond.chen 7b5366f7a3 NRF52 need to call TIMER_TASK_SHUTDOWN for current consumption 2019-07-30 17:20:08 +08:00
mudassar-ublox 6cd60178fa UBLOX cellular context activation updated for C030_R412M and updated AUTH configuration 2019-07-30 12:19:20 +05:00
Teemu Takaluoma f30703af16 Debug profile: Change IAR profile to use -Ol instead of -On
Total Static RAM memory (data + bss): 71179(+0) bytes
Total Flash memory (text + data): 665394(-44680) bytes
2019-07-30 09:45:07 +03:00
Teemu Takaluoma 985f981b83 Debug profile: Change ARM and uARM profile to size-optimized 2019-07-30 09:44:49 +03:00
Seppo Takalo 417a9fe2fb
Merge pull request #11074 from fkjagodzinski/pinmap-gpio_irq
Add a gpio-irq pinmap
2019-07-29 17:44:55 +03:00
Seppo Takalo 9affeb868d
Merge pull request #11071 from cypress-neil/pr/psoc6-usb
PSOC6: USB device implementation
2019-07-29 17:41:42 +03:00
Seppo Takalo 2c6280b9c7
Merge pull request #11066 from AriParkkila/cell-fix-restart
Cellular: Fix cellular statemachine stop and BG96 power up
2019-07-29 17:40:35 +03:00
Seppo Takalo e88101f3d6
Merge pull request #10947 from RonEld/cc310_cmac_porting
Port the cryptocell 310 cmac driver
2019-07-29 17:39:17 +03:00
David Rauschenbach d19c881a56 Define I²C related pin names for the L-Tek FF-LPC546XX target 2019-07-27 07:18:15 -07:00
Chris Trowbridge 04ca01d16f Update PinNames.h with the pinout for EP_AGORA HW rev 1.1 2019-07-26 11:48:36 -04:00