Skip to content

Editing the core code

roberthjack edited this page Mar 23, 2021 · 4 revisions

This material has been superseded. Visit learn.bela.io for the maintained version.

You may want to experiment around with the core code of Bela, if you decide to do so, be aware that you do so at YOUR OWN RISK.

If you are familiar with the terminal, just ssh into the board, go to the ~/Bela folder and hack the code in core/, include/ and pru/. This can also be done through the IDE with the following trick:

  • create a new C++ project called core_code, then run the following commands from the IDE's console:
mkdir projects/core_code/core
mkdir projects/core_code/include
mkdir projects/core_code/pru
ln -s /root/Bela/core/* projects/core_code/core/
ln -s /root/Bela/include/* projects/core_code/include/
ln -s /root/Bela/pru/* projects/core_code/pru/

You won't get syntax checking, but your changes will be saved and compiled.

Clone this wiki locally