Skip to content
Awawa edited this page Jul 26, 2023 · 10 revisions

How to compile project using Github Action and change the pinout or enable multi-segments for your board.

To use latest version of HyperSerialPico, you need latest HyperHDR v20 or newer and to use Github Action to build a custom firmware follow the steps in the order.

If you do not follow the correct order given in the manual, the Github Action may not trigger after saving changes to the configuration file.

  1. Fork the project. You will commit all changes to your forked repository.

obraz


  1. Enable Github Action for your fork

obraz


  1. Make your changes to CMakeLists.txt file

obraz


  1. Turn on the online editor

obraz


  1. Change default speed (-DSERIALCOM_SPEED=2000000) to desired speed.

  1. Change pinout (-DDATA_PIN=2 -DCLOCK_PIN=4) to desired pinout. -DCLOCK_PIN is used only for SPI leds, not for sk6812 or ws2812b.

  1. Save changes (at the bottom of the page)

obraz


  1. After few minutes download your firmware

obraz


205495660-214ca594-e1a4-4cbf-89d0-a5784a04c94c

Clone this wiki locally