Help Compiling Firmware #208
Replies: 4 comments 4 replies
-
The info in the wiki was outdated, it's fixed now. You need to run the make command from the root directory of the repository, not from |
Beta Was this translation helpful? Give feedback.
-
There is a config using 595 here: What exactly are you struggling with?
There is none as far as the OpenDeck firmware is concerned.
All MCUs have GPIOs organized in a set of ports. Each port has several pins or indexes. For example on most AVR MCUs there is a PORTD which has pins 0-7. On STM32F4 MCUs ports usually have 16 pins available etc. It depends on the MCU. Again, I am not sure what are you struggling with? |
Beta Was this translation helpful? Give feedback.
-
Here you go: Connect data, clock, latch and enable on any pins you want.
In the datasheet? Page 12 specifically.
https://github.com/shanteacontrols/OpenDeck/wiki/Raspberry-Pi |
Beta Was this translation helpful? Give feedback.
-
Ehm, what? As I've mentioned in the post where I've posted the schematic, you can connect clock, latch, enable and data pins anywhere you want on Pico. You want to reverse engineer what exactly?
I seriously don't understand what do you want to know. This thread started with compiling issues, then moved on to 595 connection diagram and now it's low-level details such as this - I can't follow to be honest. Anyways, on RP2040 there is only one port, therefore it's named "0" in the config. Actually, since there is only one port, the port name doesn't even matter since I ignore it. You could name it "yaddayadda" and it will work. For RP2040: For STM32F4: For nRF52: etc.
No. Again, there is only one GPIO port on the RP2040. Therefore, GPIOx is always port "0" and index x.
I have linked the wiki page where you can see which pins are allowed for UART. The default pinouts for supported boards are also listed in the wiki. https://github.com/shanteacontrols/OpenDeck/wiki/Raspberry-Pi-Pico |
Beta Was this translation helpful? Give feedback.
-
Im enjoying the hell out of tinkering with Opendeck, and Im trying to compile custom firmware for a Pico and getting errors.
Im competent with electronics and MCUs, but not very competent with Linux or compiling.
I think this is the process:
When I run this I get:
I can compile the production firmware by going to /Opendeck and running
make TARGET=pico. So I assume the components for make are OK.
Any help is much appreciated.
Edit: Ive also installed the opendeck Docker environment, but Im not sure how to actually get into it.
Beta Was this translation helpful? Give feedback.
All reactions