customization of Recalbox



  • Hello,
    I'm the happy owner of a brand new recalbox, after an old one which was based on RPi3 and Recalbox v4.1.

    I built it up from scratch, using RecalBox 7.0.1, a RPi4 connected to a 1TB SSD through USB3, and an USB hub to get 'free' USB sockets in front face of a printed home made case.
    This case is integrating a 60mm PWM Fan for the PI, as it seems that it is mandatory now for the PI4 (the old one had a fan, but not pwm, and I choose PWM kind due to the noise generated).

    I connected the PWM control of the fan to a PWM GPIO of the RPi (through a buffer), and write a quick C code using Pigpio library to control it from the CPU temperature, using HW PWM feature.

    However, when came the time of compiling and testing this code, I get stuck by the lack of capacity to install the needed programs (headers, gcc, pigpio....).

    is it a way to install something on the recalbox ? I did not even find an apt-get or similar.

    Regards


  • Staff
    Developer
    Global moderator
    Creator
    Team

    @cri1305 RB is like a firmware, there is no tool for installing or compiling. You can try this workaround :

    • install Raspberry Pi OS on another SD
    • install the tools you need (compiler, libs..)
    • compile and test your programm
    • store the exe and linked libs and copy them on the RB SD at the right place

    il should work



  • @ian57 thank you for the reply.
    I will try it, as there should be few adherence to the kernel (except for 'basic' functions as time and proc/stat). I was hoping to use pigpiod, but I suppose I can fallback to pigpio.
    Hoping there will be no conflict with the current GPIO library.


  • Banned

    @cri1305 said in customization of Recalbox:

    Hello,
    I'm the happy owner of a brand new recalbox, after an old one which was based on RPi3 and Recalbox v4.1.

    I built it up from scratch, using RecalBox 7.0.1, a RPi4 connected to a 1TB SSD through USB3, and an USB hub to get 'free' USB sockets in front face of a printed home made case.
    This case is integrating a 60mm PWM Fan for the PI, as it seems that it is mandatory now for the PI4 (the old one had a fan, but not pwm, and I choose PWM kind due to the noise generated).

    I connected the PWM control of the fan to a PWM GPIO of the RPi (through a buffer), and write a quick C code using Pigpio library to control it from the CPU temperature, using HW PWM feature.

    However, when came the time of compiling and testing this code, I get stuck by the lack of capacity to install the needed programs (headers, gcc, pigpio....).

    is it a way to install something on the recalbox ? I did not even find an apt-get or similar.

    Regards

    thanks for the awesome question, my issue has been fixed.



  • @alexsunny123 Glad to hear it 😁

    May I ask: what was your issue ? 🤔


  • Banned

    This post is deleted!


Want to support us ?

372
Online

81.4k
Users

22.3k
Topics

161.4k
Posts