Needed in a hurry to use OLA on a Raspberry Pi 1 to make a DMX sender with the "UART native DMX" plugin , but it was not accepting the correct serial port in the config file (/dev/ttyAMA0) and still shows the default /dev/ttyACM0 in the web interface, and in the logfile there is a "Failed to set baud rate to 250k", even after adding the statement "init_uart_clock=16000000" in /boot/config.txt file. After some time looking in the source code, i just understood there was a preprocessor condition on the code which disable at the compilation time the UART baudrate change on the binaries found on the Raspbian repositories, SetDmxBaud() is always returning false, so it "just" needed to be recompiled.

$ git clone https://github.com/OpenLightingProject/ola.git
$ cd ola
$ sudo apt-get install libtool autoconf automake autotools-dev bison flex uuid-dev libcppunit-dev libprotobuf-dev protobuf-compiler libprotobuf-c-dev libprotoc-dev libmicrohttpd-dev
$ libtoolize && aclocal && autoreconf ; automake --add-missing
$ ./configure
$ make all
$ make check


It compiled overnight on the Pi 1...


$ sudo -u olad /home/pi/ola/olad/olad -l 3 --config-dir /etc/ola --http-data-dir /home/pi/ola/olad/www


Victory!



A quick breadboard test just to be sure...



Perfect.



There was still a little some time to write the simple timer i needed with Python and Qt.



Very simple wiring schematics.
(obligatory RPI pinout website)