Skip to content
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

New hardware and many improvements and fixes #171

Merged
merged 40 commits into from
Dec 24, 2023
Merged

New hardware and many improvements and fixes #171

merged 40 commits into from
Dec 24, 2023

Conversation

rexut
Copy link
Member

@rexut rexut commented Dec 23, 2023

rexut added 30 commits December 20, 2023 16:26
- extras: pymcuprog to 3.16, or later
- documentation: pygments to ~2.17
- documentation: sphinx-tsn-theme to ~2023.12
- documentation: sphinx-togglebutton to ~0.3

A small Sphinx extension (sphinx-togglebutton) to make it
possible to add a "toggle button" to sections of your page.

See more at: https://sphinx-togglebutton.readthedocs.io/
 or PyPi at: https://pypi.org/project/sphinx-togglebutton

Signed-off-by: Stephan Linz <[email protected]>
Zephyr upstream introduced a configurable search engine, but
Bridle as downstreat doesn't yet need or use this new feature.

Further the Googel search engine was enabled per default. Bridle
will never use such kind of publice spy and statistic engines,
thus this is removed completely, incl. the specific Google ID.

Signed-off-by: Stephan Linz <[email protected]>
Inline Syntax Highlighting for:

* Devicetree

Hardware Feature Label for:

* controller and regulator
* keyboard and number pad
* mouse and track ball
* joystick
* camera and video
* microphone and line-in
* speaker, buzzer and line-out
* headphone and line-out
* storage and disk (changed icon)
* storage and floppy
* battery and actions
* computer and printer
* cloud and network

Signed-off-by: Stephan Linz <[email protected]>
Since Zephyr commit 2aa7ef1d653af5befe7ecff663a60712f5796997
the fixed partition table is available from upstream for the
NXP boards mimxrt1010_evk and mimxrt1015_evk and can now be
removed from Bridle's downstream board extensions.

See: zephyrproject-rtos/zephyr@2aa7ef1

Signed-off-by: Stephan Linz <[email protected]>
Add the new clock controller in supported hardware features
and enable the new clock driver for Raspberry Pi RP2040.

Signed-off-by: Stephan Linz <[email protected]>
Move from 'SHELL_CMD_ARG_REGISTER()' to 'SHELL_CMD_REGISTER()' macro.

Signed-off-by: Stephan Linz <[email protected]>
... for all boards:

  * tiac_magpie
  * arduino_zero
  * seeed_xiao_samd21
  * seeeduino_cm0
  * seeeduino_lotus
  * waveshare_rp2040

... for all shields:

  * grove
  * grove_btn
  * grove_led
  * rpi_pico_test
  * rpi_pico_lcd
  * x_grove_testbed
  * loopback_test

... for all snippets:

  * usb-console

Signed-off-by: Stephan Linz <[email protected]>
This application "drives" a buzzer using the Zephyr PWM API.

Signed-off-by: Stephan Linz <[email protected]>
evaluated variants:

  * 2.4inch LCD Module (waveshare_2_4_lcd)

supported features:

  * display API (zephyr/samples/drivers/display)
  * LVGL stack (zephyr/samples/subsys/display/lvgl)

supported platforms:

  * Arduino Nano R3 compatible connector

    * Cytron Maker Nano RP2040 (cytron_maker_nano_rp2040)

  * Grove System compatible connectors:

    * Cytron Maker Pi RP2040 (cytron_maker_pi_rp2040)

Signed-off-by: Stephan Linz <[email protected]>
This snippet is quite board specific and prepares a dedicated PWM
channel exclusively for the standard Servomotor sample from Zephyr.
This initial version supports the Cytron Maker Pi RP2040 board only.

Signed-off-by: Stephan Linz <[email protected]>
evaluated interfaces:

* UART0 (UART) TX/RX : Zephyr Shell Console
* USB OTG FS DM/DP (device) : Zephyr Shell Console
* SPI0 (SPI) MOSI/NSS/SCK/MISO : on LCD shield
* I2C0 (I2C) SDA/SCL : Zephyr Shell Command 'i2c'
* ADC (CH[0-4]) : Zephyr Shell Command 'adc'
* User Buzzer : Zephyr Shell Command 'pwm' and Board Demo
* User LED : Zephyr Shell Command 'led', 'gpio' and 'pwm'
* WS2812 LED strip : Zephyr WS2812 Sample Application
* Servo PWM : Zephyr Servo Sample Application

configured but not yet tested interfaces:

* SWD (SWDIO/SWCLK) : OpenOCD flash and debug

open tasks / missing pieces:

* Motor H-Bridge : missing Zephyr Driver / API integration

Signed-off-by: Stephan Linz <[email protected]>
rexut added 10 commits December 23, 2023 18:19
evaluated interfaces:

* USB OTG FS DM/DP (device) : Zephyr Shell Console
* SPI0 (SPI) MOSI/SCK (NSS/MISO) : on OLED display
* I2C0 (I2C) SDA/SCL : Zephyr Shell Command 'i2c'
* ADC (CH[0-4]) : Zephyr Shell Command 'adc'
* User Speaker : Zephyr Shell Command 'pwm' and Buzzer Demo
* User LED : Zephyr Shell Command 'led', 'gpio' and 'pwm'

configured but not yet tested interfaces:

* SWD (SWDIO/SWCLK) : OpenOCD flash and debug

open tasks / missing pieces:

* Acceleration sensor STK8BA58 : missing Zephyr Driver

Signed-off-by: Stephan Linz <[email protected]>
The new part of the Raspberry Pi Pico LCD shield by Waveshare is:

  * Pico ResTouch LCD 3.5 (waveshare_pico_restouch_lcd_3_5)

supported features:

  * display API (zephyr/samples/drivers/display)
  * LVGL stack (zephyr/samples/subsys/display/lvgl)
  * input API (zephyr/samples/subsys/input/input_dump)

supported platforms:

  * Raspberry Pi Pico (rpi_pico)
  * Raspberry Pi Pico W (rpi_pico_w)
  * Waveshare RP2040 Plus 4MB (waveshare_rp2040_plus)
  * Waveshare RP2040 Plus 16MB (waveshare_rp2040_plus@16mb)

Signed-off-by: Stephan Linz <[email protected]>
support the boards:

- cytron_maker_nano_rp2040
- cytron_maker_pi_rp2040

Signed-off-by: Stephan Linz <[email protected]>
support the boards:

- cytron_maker_nano_rp2040
- cytron_maker_pi_rp2040

Signed-off-by: Stephan Linz <[email protected]>
support the boards:

- cytron_maker_nano_rp2040
- cytron_maker_pi_rp2040

Signed-off-by: Stephan Linz <[email protected]>
Copy link

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

@rexut
Copy link
Member Author

rexut commented Dec 23, 2023

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

  1. Bridle 3.6.0 Release Notes (Working draft)
  2. [HW] Cytron Maker RP2040 #166 Cytron Maker RP2040
  3. [HW] Waveshare LCD Modules as Shields #167 Waveshare LCD Modules
  4. [HW] Waveshare Pico ResTouch LCD 3.5 #168 Waveshare Pico ResTouch LCD 3.5
  5. [HW] The PicoBoy #169 The PicoBoy
  6. PWM Servomotor Preset Snippet (pwm-servo)
  7. Buzzer – Drive a buzzer or speaker using the PWM API.
  8. Documentation style guide – Special Roles, new or improved:
    • hardware feature label for a mouse and trackball purpose
    • hardware feature label for a joystick purpose
    • hardware feature label for a controller and regulator purpose
    • hardware feature label for a camera and video purpose
    • hardware feature label for a microphone and line-in purpose
    • hardware feature label for a speaker, buzzer and line-out purpose
    • hardware feature label for a headphone and line-out purpose
    • hardware feature label for a storage and disk purpose
    • hardware feature label for a storage and floppy purpose
    • hardware feature label for a battery purpose
    • hardware feature label for a computer and printer purpose
    • hardware feature label for a cloud and network purpose

Copy link
Contributor

@tobiaskaestner tobiaskaestner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, many thanks!

@rexut rexut merged commit e36fab5 into main Dec 24, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment