forked from nrfconnect/sdk-zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
test: kernel: asfjaofj #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
PerMac
wants to merge
347
commits into
main
Choose a base branch
from
cherry
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The PWM driven LEDs had a wrong period: 0 nsec. A value of 20 msec has been chosen as most other boards do for PWM driven LEDs. The polarity has been set to normal (LEDs are driven active high). Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit ad11bbc)
The period cell will soon be required by the pwm_dt_spec facilities, this patch adds it. Note that flags have not been added as they are optional and not supported anyway. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 70813aa)
Include the PWM dt-bindings by default, so that boards can use utilities like PWM_MSEC() without extra includes. This is a common pattern done for e.g. i2c or gpio. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit c805bb1)
… cell Updated all PWM specs to include the period cell. Because all specs refer to PWM driven LEDs, a period of 20 msec has been chosen, as most other platforms do. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit d056bde)
The period was 255 nsec, a value that doesn't make much sense when driving an LED. Since the period cell is rarely used nowadays, the value was probably copy&pasted or a random value was added since it is required. A period of 20 msec has been chosen as most other boards do for PWM LEDs. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 49fb3a4)
The period cell will soon be required by the pwm_dt_spec facilities, this patch adds it. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit eca65f8)
The PWM specifier required the period cell. This patch adds it to all Nuvoton based boards. Since all occurrences are PWM drive LEDs, a period of 20 msec has been chosen as most other boards do. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 3f0d44e)
The PWM period cell will soon be required by the pwm_dt_spec facilities, this patch adds support for it. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 26f5457)
The PWM specifier required the period cell. This patch adds it to all Silabs based boards. Since all occurrences are PWM drive LEDs, a period of 20 msec has been chosen as most other boards do. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 0677824)
In order to be consistent with other platforms, include the PWM dt-bindings by default. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit b16c32d)
The period was set to 0, a value not meaningful to drive an LED. A value of 20 msec has been chosen as most other boards do. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 7d82ad7)
The PWM driven LEDs are active low, so the polarity has to be inverted. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 996c29b)
The period cell will soon be required by the pwm_dt_spec facilities, this patch adds support for it. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 72b01e7)
Updated all PWM specs to include the period cell. Because all specs refer to PWM driven LEDs, a period of 20 msec has been chosen, as most other platforms do. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit bd646e2)
Updated all PWM specs to include the period cell. Because all specs refer to PWM driven LEDs, a period of 20 msec has been chosen, as most other platforms do. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 35bd9c4)
The PWM period cell will soon be required by the pwm_dt_spec facilities. This patch adds support for it. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 2906248)
…ault In order to be consistent with other platforms, include the PWM dt-bindings by default. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 047d4a1)
The PWM period cell will soon be required by the pwm_dt_spec facilities. This patch adds support for it. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 1952ad8)
Add the PWM period cell to PWM driven LEDs. A value of 20 msec has been chosen as it is the most common value used in other boards. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit d4ce4cd)
The polarity cell was set to '0', but needs to be 'PWM_POLARITY_NORMAL' (LED is driven in active level). Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 3d9d76e)
The PWM cells were not specified in the bindings file. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 9108c8c)
… cells The binding did not define the PWM cells. Only channel and period have been added as they are the minimum required ones (flags are not supported). Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 2deb9c0)
… binding The binding has no corresponding driver and it is not referenced anywhere, so drop it. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 72dac42)
…by default In order to be consistent with other platforms, include the dt-bindings for PWM. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 1736d7b)
The PWM period cell will soon be required by the pwm_dt_spec facilities, this patch adds support for it. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 94718d7)
…cell Add the PWM period cell to PWM driven LEDs. A value of 20 msec has been chosen as it is the most common value used in other boards. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit d883bd0)
…d kHz Add a pair of dt macros for specifying the pwm frequency in hertz or kilohertz: PWM_HZ and PWM_KHZ. This is then converted in period nanoseconds so it works as expected with the other definitions. Signed-off-by: Fabio Baltieri <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit d6f707f)
Multiple if/else blocks had missing braces, add them as this violates Zephyr coding guidelines. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 1e7e8d1)
The pwm arg is used in the function, so placing ARG_UNUSED is wrong. Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 9c53b9a)
The timer registers are accessible via the device config field, driver code was wrong in one case (pwm is the variable indicating PWM channel). Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 64b6b08)
…ment for a-pin and b-bin" This reverts commit 4406760. Signed-off-by: Torsten Rasmussen <[email protected]>
…kets" This reverts commit ad67946. Signed-off-by: Torsten Rasmussen <[email protected]>
…semaphore" This reverts commit 78d4740. Signed-off-by: Torsten Rasmussen <[email protected]>
…ng ZWP" This reverts commit 2560ab9. Signed-off-by: Torsten Rasmussen <[email protected]>
… is possible" This reverts commit 2252f04. Signed-off-by: Torsten Rasmussen <[email protected]>
…ents" This reverts commit 2e49878. Signed-off-by: Torsten Rasmussen <[email protected]>
This reverts commit d8883f1. Signed-off-by: Torsten Rasmussen <[email protected]>
…oices showing as parents" This reverts commit 79605e8. Signed-off-by: Torsten Rasmussen <[email protected]>
…e to none." This reverts commit d10bd1f. Signed-off-by: Torsten Rasmussen <[email protected]>
…perty" This reverts commit ab0f0d0. Signed-off-by: Torsten Rasmussen <[email protected]>
…vely" This reverts commit a3f1de6. Signed-off-by: Torsten Rasmussen <[email protected]>
This reverts commit 7276f5e. Signed-off-by: Torsten Rasmussen <[email protected]>
This reverts commit fe628e4. Signed-off-by: Torsten Rasmussen <[email protected]>
This reverts commit e56af96. Signed-off-by: Torsten Rasmussen <[email protected]>
This reverts commit 9d10399. Signed-off-by: Torsten Rasmussen <[email protected]>
This reverts commit e226734. Signed-off-by: Torsten Rasmussen <[email protected]>
… into upmerge-20220622-branch Signed-off-by: Torsten Rasmussen <[email protected]>
Bring back parallel execution to the clang action. In the upstream they went to use a single dedicated powerfull agent to run this. We need to keep this as we have to base on agents available in github's cloud. Signed-off-by: Maciej Perkowski <[email protected]> Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit df69be7) (cherry picked from commit e226734)
This is a long-term noup patch because driver support is NCS-only. Add compatibles for CC310 and CC312 NS access. These downstream-only compatibles allow accessing the cryptocell from non-secure code. Use these, as well as pre-existing nodes for accessing the hardware directly from the secure world, in the relevant <soc>.dtsi files. Set HAS_HW_NRF_CC3XX when cryptocell-sw is present. Signed-off-by: Martí Bolívar <[email protected]> Signed-off-by: Joakim Andersson <[email protected]> Signed-off-by: Frank Audun Kvamtrø <[email protected]> Signed-off-by: Ioannis Glaropoulos <[email protected]> Signed-off-by: Robert Lubos <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit 6678304) (cherry picked from commit 9d10399)
Add some socket options and address family extensions to Zephyr headers, which will be useful for nRF Connect SDK. The "author" of this commit is a contact person; various people with s-o-b lines following here have contributed to the maintenance of this patch. Signed-off-by: Andreas Moltumyr <[email protected]> Signed-off-by: Andrzej Głąbek <[email protected]> Signed-off-by: Christopher Métrailler <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> Signed-off-by: Emanuele Di Santo <[email protected]> Signed-off-by: Glenn Ruben Bakke <[email protected]> Signed-off-by: Håkon Alseth <[email protected]> Signed-off-by: Ioannis Glaropoulos <[email protected]> Signed-off-by: Jan Tore Guggedal <[email protected]> Signed-off-by: Joakim Andersson <[email protected]> Signed-off-by: Martí Bolívar <[email protected]> Signed-off-by: Mirko Covizzi <[email protected]> Signed-off-by: Petri Honkala <[email protected]> Signed-off-by: Robert Lubos <[email protected]> Signed-off-by: Tommi Mammela <[email protected]> Signed-off-by: Trond Einar Snekvik <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit 81d91f0) (cherry picked from commit e56af96)
Update Kconfig options for qualification: - Remove experimental on qualified feature. - Add experimental on unqualified feature. Signed-off-by: Joakim Andersson <[email protected]> Signed-off-by: Trond Einar Snekvik <[email protected]> Signed-off-by: Martí Bolívar <[email protected]> Signed-off-by: Robert Lubos <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> Signed-off-by: Ingar Kulbrandstad <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit fd84806) (cherry picked from commit fec8aa6) (cherry picked from commit cc64111) (cherry picked from commit fe628e4)
Path list was replaced accidentally with free list during refactoring. This change does fix the issue. Signed-off-by: Veijo Pesonen <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit 9bf570e)
Removed auto select from LWM2M_DTLS_SUPPORT * TLS_CREDENTIALS * NET_SOCKETS_SOCKOPT_TLS * NET_SOCKETS_ENABLE_DTLS LwM2M stack shouldn't enforce these options as they are not needed with socket offloading. Upstream PR: zephyrproject-rtos/zephyr#47337 Signed-off-by: Juha Heiskanen <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]>
…it enable. Add explicit BT_HCI_VS enable for nRF5340 application core. It does not have Bluetooth Controller so dependecies will not be solved automatically. Upstream PR: zephyrproject-rtos/zephyr#47635 Signed-off-by: Kamil Gawor <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]>
Adgaklg. avaivnenw. Signed-off-by: Maciej Perkowski <[email protected]>
74c7bca to
60166d9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adgaklg. avaivnenw.
Signed-off-by: Maciej Perkowski [email protected]