|
il y a 3 semaines | |
---|---|---|
rp-test-pub @ | il y a 3 semaines | |
Makefile | il y a 3 semaines | |
README.md | il y a 3 semaines | |
acquire_4ch_trigger_software.c | il y a 3 semaines | |
acquire_signal_check.c | il y a 3 semaines | |
acquire_trigger_posedge.c | il y a 3 semaines | |
acquire_trigger_software.c | il y a 3 semaines | |
analog_inputs.c | il y a 3 semaines | |
analog_outputs.c | il y a 3 semaines | |
axi | il y a 3 semaines | |
axi.c | il y a 3 semaines | |
axi_4ch.c | il y a 3 semaines | |
axi_gen | il y a 3 semaines | |
axi_gen.c | il y a 3 semaines | |
axi_service | il y a 3 semaines | |
axi_service] | il y a 3 semaines | |
calibration_api.c | il y a 3 semaines | |
can_loopback.c | il y a 3 semaines | |
can_pass.c | il y a 3 semaines | |
digital_led_bar.c | il y a 3 semaines | |
digital_led_blink.c | il y a 3 semaines | |
digital_push_button.c | il y a 3 semaines | |
generate_arbitrary_waveform.c | il y a 3 semaines | |
generate_burst_trigger_external.c | il y a 3 semaines | |
generate_burst_trigger_software.c | il y a 3 semaines | |
generate_continuous.c | il y a 3 semaines | |
generate_two_burst_trigger_software.c | il y a 3 semaines | |
generate_two_trigger_software_sync.c | il y a 3 semaines | |
i2c.c | il y a 3 semaines | |
i2c_eeprom_read_calib.c | il y a 3 semaines | |
i2c_switch_max7311.c | il y a 3 semaines | |
period | il y a 3 semaines | |
rp.tar | il y a 3 semaines | |
rp_client.py | il y a 3 semaines | |
spi.c | il y a 3 semaines | |
spi_loopback.c | il y a 3 semaines | |
test_e_module.c | il y a 3 semaines | |
uart.c | il y a 3 semaines | |
uart_loopback.c | il y a 3 semaines |
When compiling on the target no special preparations are needed. A native toolchain is available directly on the Debian system.
First connect to your board over SSH (replace the IP, the default password is root
).
ssh root@192.168.0.100
Now on the target, make a clone of the Red Pitaya Git repository and enter the project directory.
git clone https://github.com/RedPitaya/RedPitaya.git
cd RedPitaya
To compile one example just use the source file name without the .c
extension.
cd Examples/C
make digital_led_blink
cd Examples/C
make acquire_signal_check
Applications based on the API require a specific FPGA image to be loaded:
overlay.sh v0.94
Execute the application. The path to Red Pitaya shared libraries must be provided explicitly. Some applications run in a continuous loop, press CTRL+C
to stop them.
LD_LIBRARY_PATH=/opt/redpitaya/lib ./digital_led_blink