Software development refers to the process of developing software on the Raspberry Pi. It can also refer to development software on another system for the Raspberry Pi.

learn more… | top users | synonyms

1
vote
2answers
35 views

SSH and rsa authentication on mpich2

I'm trying to build a small cluster of pi's and am using mpich2 to run parallel code. It appears mpich2 has installed ok and I'm able to ssh into both (I'm starting with 2) pi's. However when I run a ...
1
vote
1answer
40 views

Python Synth with Raspberry

I'm trying to create a synth using python with raspberry pi. I've written the code for manipulate the gpio input (i've modified the electronic of an old pianola and connected it to raspberry with the ...
1
vote
0answers
50 views

Where can I find example C source for using non-graphics related parts of the Mailbox interface?

I would like to extract information about the Raspberry Pi like Serial Number, Board Model, Board Revision, CPU Clock Rate, Temperature in a C program. It looks like I have a couple of options: Use ...
1
vote
1answer
35 views

How to provide custom software for easy installation on pi?

I've seen several useful scripts programs that someone created for Raspberry Pi. Installation, however often requires to install dependent packages, manually create files and directories, copying and ...
0
votes
1answer
225 views

OpenCL / GPGPU programming coming soon?

Last June the answer was a qualified no: Can I use the GPU for calculations? However, the Videocore driver code was open sourced towards the end of 2012: http://www.raspberrypi.org/archives/2221 - ...
2
votes
1answer
70 views

Is there a software block diagram that describes how a python call (e.g. GPIO) gets to the hardware?

Is there a software block diagram that describes how a python call (e.g. GPIO) gets to the hardware? I would assume there is a user/kernel interface. Maybe a kernel module that implements support ...
8
votes
2answers
1k views

Configuring the Raspberry Pi for Node.js

Reading a book on Single Page Web Applications I came to a paragraph that got me thinking: Node.js is non-blocking and event-driven. In a nutshell, this means a single Node.js instance on modest ...
3
votes
2answers
1k views

Setting up a Ruby on Rails Server

I am thinking of buying a raspberry pi, because I want to host a personal website. I am using a UK Internet provider (Virgin Media), and I want to use my internet connection to allow access to my ...
1
vote
1answer
90 views

sdcc on Raspberry PI

Has anyone managed to install sdcc (http://sdcc.sourceforge.net/) on a Raspberry? The package repository has sddc-doc and sdcc-libraries but the main package sdcc seems missing! Their site says that ...
0
votes
0answers
34 views

How to compile a L2 disabled/Enabled Kernel for RaspberryPI?

I need to enable and disable the ARM L1/L2 cache of my Raspberry PI.I made changes in config.txt.But I have been told that i need a corresponding L1/L2 cache disabled kernel. Could anyone please ...
1
vote
1answer
60 views

I could not find the disable_l2cache in my config file then How to disable it?

I have recently purchased Raspberry PI model B board. i could not find the disable_l2cache in my config file.can anyone please tell me how to make sure that cache has been disabled.Also i would like ...
0
votes
1answer
243 views

Is it possible to lock (enable/disable) cache memory?

Please tell me if it is possible to lock cache memory of raspberry PI board. If so, what is the procedure.
0
votes
1answer
468 views

Netbeans IDE remote development on Raspberry Pi

I tried to set up remote development with Netbeans IDE 7.3 Beta 2 so that I could build on my Raspberry Pi from my Win 7 laptop. I followed the pretty straightforward instructions here, but unlike ...
0
votes
1answer
215 views

How do I run a program on a separate thread?

I would like to run a programme or script that I wrote on start-up of the Pi - on a separate thread(process) / background. I would love to do this with MONO application but any other examples would ...
0
votes
1answer
463 views

How to add ARM properly to the build target (Code::blocks)

I want to develop C++ applications for my PI on my PC, I made a develop environment in Ubuntu with the Code::blocks IDE. The problem is that my PC is X86, and the PI is ARM. So how can I add ARM to ...
1
vote
1answer
2k views

RS232 beginner tutorials

I am really beginner in Linux and in electronics but I want to learn programming hardware using raspberry pi board, since I have one (model B). I have installed raspbian os, now I want to understand ...
3
votes
2answers
2k views

How do I wait for interrupts in different languages?

I have a IR photo gate sensor that I have attached to my Raspberry Pi, and it is working nicely as I test with WebIOPi and a C program using the wiringPi library. I would like to use some other ...
4
votes
1answer
441 views

C/C++ sound API for games

I have a game that, up until now, uses SDL_mixer for playing MP3 sound effects. Works on Linux, Windows, OSX. At the moment doesn't work on 64 bit Linux, so I was thinking of switching to FMOD. ...
8
votes
3answers
1k views

Which CPU flags are suitable for gcc on Raspberry Pi?

gcc takes the -mcpu= (or -march=) flags to produce optimized code for a particular CPU type. There's a plethora of arm variants, and the gcc Arm target also provides numerous FPU types. Which ...
6
votes
2answers
933 views

Custom Operating System on the Raspberry Pi?

Me and a fellow coder friend are looking to create our own Operating System. We're looking to create a Java based OS so I would love to poke about the Jnode OS for inspiration. Is there a way to run ...
3
votes
4answers
2k views

Does Raspberry Pi runs Minecraft and Netbeans 7.2?

I have a computer with 512MB of RAM Memory, CPU Intel Celeron 1.60GHz and a 80GB HD. After the new Minecraft update to 1.3.X, Minecraft don't run on my computer any more even on Windows XP and Lubuntu ...
2
votes
3answers
483 views

Does the Raspberry run groovy?

Is it possible to install groovy on the Raspberry Pi? Will it run at a reasonable speed?
12
votes
3answers
4k views

Has anybody tried to Debug using JTAG/BDM?

Is there a useable JTAG/BDM interface available on the Raspberry Pi? What hardware Debugger is needed for Debugging ? Can Open OCD be used?
13
votes
1answer
5k views

Recommended GUI toolkit for Python development on the Raspberry Pi

I am teaching my daughter Python (and myself to some degree) using the Pi, and we have had a great time so far - but the CLI can only take us so far. I have started looking at other toolkits, ...
2
votes
1answer
776 views

Can I build C++ on Debian?

Can I build C++ on Debian? Does there exist an IDE for Debian on the Raspberry Pi, in which I can develop C++? I would like to program, build and run C++ software from a single interface.
2
votes
0answers
48 views

Does the BUSY flag work for the Clock Control Registers?

The docs suggest that certain registers shouldn't be messed with if the BUSY flag is set. I've tried disabling the General Purpose clocks, but the busy flag is always set. See page 107 of the BCM2835 ...
5
votes
2answers
1k views

Where is the GPIO header file (“linux/gpio.h”)?

I've been reading about the linux GPIO functions and tried to make a small example using the function gpio_is_valid, but the compile fails because it can't find linux/gpio.h. #include ...
3
votes
2answers
183 views

How would I write a one-off boot script?

I would like to run a script that would run only on the first boot. For example, Tom could use it to generate unique SSH certs in How can I copy the same image to many SDs?. I was thinking that I ...
11
votes
5answers
2k views

Has anyone got a Text to Speech engine installed?

Just wondering whether anyone has got a Text to Speech engine installed on the Pi?It would make a great addition to almost any programming project to make it talk to the user!
7
votes
1answer
2k views

Can I install the Ruby Version Manager?

Can I install the Ruby Version Manager (RVM) on my Raspberry Pi?
7
votes
6answers
754 views

Is there an IDE I could use to edit code from a normal computer over the network in real time?

I know it's possible to use FTP and various version control systems to upload or commit code developed on a full computer to the Raspberry Pi. Another possibility would be to simply use SSH and Vim ...
11
votes
1answer
542 views

How can I detect that I'm compiling for Raspberry Pi?

As Raspberry Pi needs a bit of special code (I'm talking about C/C++) for accessing some hardware features (e.g. a call to bcm_host_init()). I'm looking for a reliable and elegant way to detect this ...
8
votes
1answer
579 views

Where can I find the relevant ARM documentation?

Could someone provide links to the correct documentation on the ARM site that relates to the processor in the Raspberry Pi? It would be useful to have a canonical answer for which ARM docs to use and ...
5
votes
2answers
924 views

Can't access shared libraries when running with sudo

I'm trying to get a demo working writing PCM to the I2S; I've created a small demo program that gives an error when I run with the following command ./demo stereo_small.wav can't open /dev/mem So I ...
3
votes
1answer
279 views

How do I read PCM audio from a file?

I would then to write the PCM data directly to the I2S interface. Is there an existing API that would allow me to read an audio file and get at the PCM digital data?
5
votes
1answer
473 views

Objective C enviroment

Do any of the standard distributions come with Objective C environment? Is there anywhere to get prebuilt Objective-C compiler and libraries? I would prefer answer which is based on clang/llvm but ...
6
votes
2answers
165 views

Will compiled binaries run on other Linux boxes?

I don't have a linux box at home, so I'd like to use my Raspberry Pi to try out some development on Linux. Will binaries compiled on it run on other, more standard Linux boxes, or will they only run ...
18
votes
1answer
3k views

How to program a USB device with Debian/Python

The Raspi is being promoted as an educational device that primarily uses Python. Inline with this, there are already some great examples online of people accessing the GPIO from Python. However, most ...
3
votes
0answers
90 views

Programming without a device [duplicate]

Possible Duplicate: Emulation on a PC How can a virtual environment be set up to program for the Raspberry Pi without using the device itself?
28
votes
4answers
6k views

Is it possible to run .NET code on the Pi using mono?

Is it possible (and feasible) to run .NET applications on the Raspberry Pi with Mono? If so, how well do they run? Is a basic GUI usable, or does poor performance realistically restrict it to ...
18
votes
5answers
3k views

Is there a JDK with a JIT compiler available?

OpenJDK compiles and runs on the Pi successfully, but the only version I've found is one without a JIT. Oracle provides such a JDK for other versions of ARM, but not ARMv6. Is there any way to get ...
6
votes
3answers
1k views

Good lightweight web server framework? [closed]

Which web servers and frameworks work well on the RP? Are there tweaks which can be made to the web server config files that will make it run better given the limited RAM?
48
votes
3answers
7k views

Can I use the GPU for calculations?

Is it possible to use the GPU for calculations? (e.g. CUDA/OpenCL)
33
votes
3answers
13k views

How do I build a GCC 4.7 toolchain for cross-compiling?

I already asked this question on Stack Overflow, but I would like to know if anyone managed to build a GCC 4.7 toolchain for ARM cross-compilation (for a x86/x86-64 Linux host). There are many ...