LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2022, 09:26 AM   #1
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Rep: Reputation: Disabled
Pico pi connected to Slackware box using pico-tdk


Hi
Has anyone succeeded in running pico-sdk and programmed a Pico Raspberry Pi using a slackware PC or laptop?
 
Old 07-03-2022, 06:39 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
If you know what a Microcontroller is, and want it as part of your electronic hardware, or as all of it, fire away. I haven't read up on it, but there's probably a simple tty type terminal interface. Even then, it's probably i²c and not RS232. And get on an appropriate forum - there's not many hardware heads here, and that thing will not run linux.
 
Old 07-06-2022, 02:45 PM   #3
Ian M
Member
 
Registered: Oct 2017
Location: UK
Distribution: Slackware 15
Posts: 39

Rep: Reputation: Disabled
I've fancied playing with the pico for a while so I gave it a go and got pico-sdk up and running. Just downloaded the arm GNU toolchain from here https://developer.arm.com/downloads/-/gnu-rm and installed it. Then followed the instructions here https://github.com/raspberrypi/pico-sdk ignore step 1, the toolchain covers that. At stage 4 I just needed to do pass cmake the paths for the sdk and compiler because I haven't installed them properly yet or added them to my path.

Code:
cmake -DPICO_SDK_PATH=/path to/pico-sdk/ -DPICO_TOOLCHAIN_PATH=/path to/gcc-arm-none-eabi-10.3-2021.10/bin ..
I've ordered a pico devboard so I'll let you know how that works when it arrives.
 
Old 07-06-2022, 04:27 PM   #4
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
If you know what a Microcontroller is, and want it as part of your electronic hardware, or as all of it, fire away. I haven't read up on it, but there's probably a simple tty type terminal interface. Even then, it's probably i²c and not RS232. And get on an appropriate forum - there's not many hardware heads here, and that thing will not run linux.
I dont want to run linux on it
pico-tdk is recommended as a way to program the pico pi and the slackware install looks complex. Hence my original question.

i2c may well be the way forward.
 
Old 07-07-2022, 08:11 AM   #5
Dunc.
Member
 
Registered: Jul 2012
Location: Cumbria UK
Distribution: Slackware
Posts: 62

Rep: Reputation: 30
I have programmed a pico from my rpi4 using slarm64. I installed gcc-arm-none-eabi-10.3-2021.10 which was the latest at the time. I did use the install script that comes with the sdk. It has some lines to edit to skip the build of vscode (which I can't get to build). I used kate to write and edit the software and built with the command line.

Dunc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TDK goBlue PCMCIA bluetooth adaptor on FC3 ksmj Fedora 0 01-09-2005 06:56 AM
TDK VeloCD Writer not recognized nickbird Slackware 1 08-09-2004 03:18 PM
K3B TDK CDRW241040B Burning Error Cohobin Linux - Software 2 06-28-2004 03:58 PM
Why can't I use my TDK DVD Burner? EThitop Linux - Newbie 2 05-30-2004 12:46 PM
tdk mojo 256 f mp3 player per98i9 Linux - Hardware 0 02-19-2004 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration