I'm pretty excited you have the SPI interface enabled. Hopefully I can use the apps including the new scope app too
![Smile :)](./images/smilies/icon_e_smile.gif)
128 MB is enough for Debian.fbalakirev wrote: What is minimal amount of RAM does Debian need, in either your configuration or RP .94? I'm asking because I have your older .92 configuration, based on BusyBox I believe, that I shrunk to 128MB with your help to free up the RAM for sample buffering.
Normally, all the 0.92 bazaar apps are already pre-installed.hamster wrote:I must be missing something simple. I can't seem to get any bazaar apps to install.
If you need the SPI interface and the 0.94 apps, then you can copy the /boot/uImage and /boot/devicetree.dtb files to the 0.94 SD card.hamster wrote:I'm pretty excited you have the SPI interface enabled. Hopefully I can use the apps including the new scope app too
As a workaround, I can propose to copy this file to the computer where you're installing the virtual machine and run a small web server to make this file available to the OS installer.fbalakirev wrote:It could not resolve url=git.io/FwVS beacause of proxy. Is there a workaround available?
Code: Select all
proc Serve {chan addr port} {
fconfigure $chan -translation auto -buffering line
set line [gets $chan]
set path [file join . [string trimleft [lindex $line 1] /]]
if { [catch {set file [open $path]} err] } {
puts $chan "HTTP/1.0 404 Not Found"
} else {
fconfigure $file -translation binary
fconfigure $chan -translation binary
puts $chan "HTTP/1.0 200 OK"
puts $chan "Content-Type: text/html"
puts $chan ""
fcopy $file $chan
close $file
}
close $chan
}
set sk [socket -server Serve 5151]
button .exit -text {Exit} -command {exit}
pack .exit
Code: Select all
wish server.tcl
Code: Select all
d-i mirror/http/proxy string http://proxy.server.com:XX
Could you please explain how you normally develop C programs? Most probably, it would be possible to use the same approach for Red Pitaya.adam.polak wrote: how can I develop C programs directly on the Red Pitaya board? I mean - after having the card in my RP and being connected to that board, how can I get into the files to create/modify c files with program code? (worth to notice that I'm also newbie with Linux)
Code: Select all
apt-get install mc gettext
Code: Select all
mc
Code: Select all
gcc -o program program.c
adam.polak wrote: you gave example how to compile all the files in the examples folder - could you extend this command example to show how to compile specific single file?
Code: Select all
gcc -I/opt/include -L/opt/lib -Wl,-rpath,/opt/lib -lrp -lm -o blink_diode blink_diode.c
adam.polak wrote: how to run compiled applications?
Code: Select all
./blink_diode
Yes, it's possible but I'm not sure if it's a good idea.adam.polak wrote:in the second stage I'd like to develop web interface for my program - can i do it also directly on RP with your card image? are there somewhere written suggestions how to do it?
Users browsing this forum: No registered users and 100 guests