Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Solved customization of Recalbox

    Recalbox General
    customization recalbox
    3
    6
    238
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cri1305
      cri1305 last edited by

      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

      ian57 alexsunny123 2 Replies Last reply Reply Quote 0
      • ian57
        ian57 Staff @cri1305 last edited by

        @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

        "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

        cri1305 1 Reply Last reply Reply Quote 0
        • cri1305
          cri1305 @ian57 last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • alexsunny123
            alexsunny123 Banned @cri1305 last edited by alexsunny123

            @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.

            cri1305 alexsunny123 2 Replies Last reply Reply Quote 0
            • cri1305
              cri1305 @alexsunny123 last edited by

              @alexsunny123 Glad to hear it 😁

              May I ask: what was your issue ? 🤔

              1 Reply Last reply Reply Quote 0
              • alexsunny123
                alexsunny123 Banned @alexsunny123 last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Want to support us ?

                89
                Online

                89.8k
                Users

                26.1k
                Topics

                180.9k
                Posts

                Copyright © 2021 recalbox.com