Giter Club home page Giter Club logo

Comments (6)

dawigit avatar dawigit commented on June 8, 2024

Hello Dieter,

If you are using Debian/Ubuntu/RaspiOS

StartHere!

STEP 1:
2.1. Get the SDK and examples
The Pico Examples repository provides a set of example applications that are written using the SDK. To clone these
repositories start by creating a pico directory to keep all pico related checkouts in. These instructions create a pico
directory at /home/pi/pico.
cd ~/
mkdir pico
cd pico
git clone https://github.com/raspberrypi/pico-sdk.git --branch master
cd pico-sdk
git submodule update --init
cd ..
git clone https://github.com/raspberrypi/pico-examples.git --branch master

You also need to add a few exports to your .bashrc (ASSUMPTION: your $HOME is /home/dieter):
export PICO_SDK_PATH=/home/dieter/pico/pico-sdk
export PICO_EXAMPLES_PATH=/home/dieter/pico/pico-examples
export PICO_EXTRAS_PATH=/home/dieter/pico/pico-extras
export PICO_PLAYGROUND_PATH=/home/dieter/pico/pico-playground
export PICO_SDK_PATH=/home/dieter/pico/pico/pico-sdk
export PICO_EXAMPLES_PATH=/home/dieter/pico/pico/pico-examples
export PICO_EXTRAS_PATH=/home/dieter/pico/pico/pico-extras
export PICO_PLAYGROUND_PATH=/home/dieter/pico/pico/pico-playground
export PICO_EXTRAS_PATH=/home/dieter/pico/pico-extras
export PICO_PLAYGROUND_PATH=/home/dieter/pico/pico-playground
export PICO_SDK_PATH=/home/dieter/pico/pico-sdk
export PICO_EXAMPLES_PATH=/home/dieter/pico/pico-examples
export PICO_EXTRAS_PATH=/home/dieter/pico/pico-extras
export PICO_PLAYGROUND_PATH=/home/dieter/pico/pico-playground

STEP 2:
2.2. Install the Toolchain
To build the applications in pico-examples, you’ll need to install some extra tools. To build projects you’ll need CMake, a
cross-platform tool used to build the software, and the GNU Embedded Toolchain for Arm. You can install both of these
via apt from the command line. Anything you already have installed will be ignored by apt.
sudo apt update
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential

STEP 3:
Clone 'picoclock' (to your home dir: '/home/dieter/picoclock') and build it:
cd
git clone https://github.com/dawigit/picoclock.git
cd picoclock
mkdir build
cd build
cmake ..
make

After a successful build there'll be a 'main.uf2' file.
You can now drag'n'drop that file to your (pico) mass storage device.
That is your pico connected/reset while holding down the 'boot' button, then releasing.

Hope that helps.
IF not, then I suggest you give a few more details. WHAT does not work? Where in the process are you stuck?
What's the error? What does your terminal 'say'? Cut'n'paste that or better parts of it containing the error.

from picoclock.

ha0248 avatar ha0248 commented on June 8, 2024

Hello dawigit,
thank you very much for your quick reply. With your tutorial I got the Picclock running.
However, have at the clock a touch display, that does not work yet, I see now the s_kr.png on the display. How do I get the s_qdtm.png on the display and works with it the settings by touch?
The Picotool also does not work for me yet.
Thanks again for your effort with me
Dieter

from picoclock.

dawigit avatar dawigit commented on June 8, 2024

Change the settings (background, theme (flag), clockhand style&texture) by touching the gear symbol.
Add to your .bashrc :
alias pilo='sudo picotool load ./main.uf2 -x --bus $(picotool info | grep "device in BOOTSEL" | cut -d" " -f4 | cut -c1) --address $(picotool info | grep "device in BOOTSEL" | cut -d" " -f6)'
If you're in your build directory '/home/dieter/picoclock/build' just type pilo (if your pico is connected to the building machine).

from picoclock.

ha0248 avatar ha0248 commented on June 8, 2024

Hello,
the gear icon does not work, I thought I needed the picotool to install the s_qdtm.png?
I just see you live in Germany, can we write in German?
greet Dieter

from picoclock.

dawigit avatar dawigit commented on June 8, 2024

Yes you can write in German but i'll translate and shorten that like 'Dieter wants to... Dieter can't...' in my answer so other people are able to understand what's going on. I'll keep the answers dual-lang.
Another option is sending a personal mail.

from picoclock.

ha0248 avatar ha0248 commented on June 8, 2024

Okay, when I press the gear icon, nothing happens. I can't get into the settings menu. So I wanted to install the s_qdtm.png with the Picotool. Or what else could be the problem?
my e-mail: [email protected]
Greetings Dieter

from picoclock.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.