Hint

Refer to QMK’s documentation for details on how to use community modules

dual_rp

Run code on the second core of your RP2040.

void c1_main(void)
[source]

Entrypoint of the second core.

Its default implementation is:
  • Wait for first core to setup ChibiOS

  • Run c1_init_kb and c1_init_user

  • In an endless loop, run c1_main_kb and c1_main_user

However, it is defined weakly, you can overwrite it.

Caution

If you do so, the functions mentioned above will no longer be called.

void c1_init_kb(void)
[source]

Hook for keyboard-level initialization on the second core.

void c1_init_user(void)
[source]

Hook for user-level initialization on the second core.

void c1_main_kb(void)
[source]

Hook for keyboard-level logic on the second core.

void c1_main_user(void)
[source]

Hook for user-level logic on the second core.