|
преди 3 седмици | |
---|---|---|
rp-test-pub @ | преди 3 седмици | |
Makefile | преди 3 седмици | |
README.md | преди 3 седмици | |
acquire_4ch_trigger_software.c | преди 3 седмици | |
acquire_signal_check.c | преди 3 седмици | |
acquire_trigger_posedge.c | преди 3 седмици | |
acquire_trigger_software.c | преди 3 седмици | |
analog_inputs.c | преди 3 седмици | |
analog_outputs.c | преди 3 седмици | |
axi | преди 3 седмици | |
axi.c | преди 3 седмици | |
axi_4ch.c | преди 3 седмици | |
axi_gen | преди 3 седмици | |
axi_gen.c | преди 3 седмици | |
axi_service | преди 3 седмици | |
axi_service] | преди 3 седмици | |
calibration_api.c | преди 3 седмици | |
can_loopback.c | преди 3 седмици | |
can_pass.c | преди 3 седмици | |
digital_led_bar.c | преди 3 седмици | |
digital_led_blink.c | преди 3 седмици | |
digital_push_button.c | преди 3 седмици | |
generate_arbitrary_waveform.c | преди 3 седмици | |
generate_burst_trigger_external.c | преди 3 седмици | |
generate_burst_trigger_software.c | преди 3 седмици | |
generate_continuous.c | преди 3 седмици | |
generate_two_burst_trigger_software.c | преди 3 седмици | |
generate_two_trigger_software_sync.c | преди 3 седмици | |
i2c.c | преди 3 седмици | |
i2c_eeprom_read_calib.c | преди 3 седмици | |
i2c_switch_max7311.c | преди 3 седмици | |
period | преди 3 седмици | |
rp.tar | преди 3 седмици | |
rp_client.py | преди 3 седмици | |
spi.c | преди 3 седмици | |
spi_loopback.c | преди 3 седмици | |
test_e_module.c | преди 3 седмици | |
uart.c | преди 3 седмици | |
uart_loopback.c | преди 3 седмици |
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