[riot-notifications] [RIOT-OS/RIOT] Pr cc26x0 uart mode (#11612)

Ben Postman notifications at github.com
Thu May 30 22:27:28 CEST 2019

The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.

### Contribution description

This PR adds the API function uart_mode according to PR #10743 to the periph/uart driver of the cc26x0.

### Testing procedure

The current test for periph_uart depends on having more than 1 UART, so that commands can be sent via the shell. The cc26x0 only has 1 UART, so it's not possible to run the tests on this device.

### Issues/PRs references

Implementation according to #10743

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * sys/shell: add loramac command to the shell
  * tests/pkg_semtech-loramac: use system shell command
  * sys/auto_init: add auto_init_loramac function
  * sys/shell/loramac: use global loramac variable
  * tests/pkg_semtech-loramac: use auto-init to initialize the mac
  * Implement uart_mode function for cc26x0

-- File Changes --

    M cpu/cc26x0/Makefile.features (2)
    M cpu/cc26x0/include/cc26x0_uart.h (4)
    M cpu/cc26x0/periph/uart.c (75)
    M sys/auto_init/Makefile (4)
    M sys/auto_init/auto_init.c (6)
    A sys/auto_init/loramac/Makefile (3)
    A sys/auto_init/loramac/auto_init_loramac.c (35)
    M sys/shell/commands/Makefile (4)
    A sys/shell/commands/sc_loramac.c (473)
    M sys/shell/commands/shell_commands.c (7)
    M tests/pkg_semtech-loramac/Makefile (1)
    M tests/pkg_semtech-loramac/main.c (460)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190530/778d0744/attachment.html>

More information about the notifications mailing list