Skip to content

Commit

Permalink
Update examples for gap_sdk v4.22.0
Browse files Browse the repository at this point in the history
Docker has been updated
  • Loading branch information
gemenerik committed Apr 11, 2024
1 parent c2f4997 commit 6406ef6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/ai-examples/classification-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ For more information on good deep learning practices, we recommend reviewing [De

#### GAP8
There are two approaches for this:
* Install gap_sdk natively on your machine (>= 4.8.0)
* Build inside Docker container with gap_sdk >= 4.8.0
* Install gap_sdk natively on your machine (>= 4.22.0)
* Build inside Docker container with gap_sdk >= 4.22.0

This document uses the Docker container to compile the example.

Expand Down
2 changes: 1 addition & 1 deletion docs/img-proc-examples/face-detection.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ page_id: face-detection

This is the face detection application based on the example as developed by Greenwaves technologies. It is a bit more tailor made towards the AI-deck and uses the wifi streamer to stream the output to your computer.

This was tested on **GAP_SDK version 4.8.0.2**, which at the moment of writing was the newest we had a docker container for.
This was tested on **GAP_SDK version 4.22.0**, which at the moment of writing was the newest we had a docker container for.

## Building with Docker GAP-SDK

Expand Down
2 changes: 1 addition & 1 deletion examples/ai/classification/classification.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ int classification()
{
pi_freq_set(PI_FREQ_DOMAIN_FC, FREQ_FC*1000*1000);
//pi_freq_set(PI_FREQ_DOMAIN_CL, FREQ_CL*1000*1000);
pi_pmu_voltage_set(PI_PMU_DOMAIN_FC, 1200);
__pi_pmu_voltage_set(PI_PMU_DOMAIN_FC, 1200);

// For debugging
struct pi_uart_conf uart_conf;
Expand Down
2 changes: 1 addition & 1 deletion examples/image_processing/FaceDetection/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,6 @@ int main(void)

// Increase the FC freq to 250 MHz
pi_freq_set(PI_FREQ_DOMAIN_FC, 250000000);
pi_pmu_voltage_set(PI_PMU_DOMAIN_FC, 1200);
__pi_pmu_voltage_set(PI_PMU_DOMAIN_FC, 1200);
return pmsis_kickoff((void *)start_example);
}
2 changes: 1 addition & 1 deletion examples/other/com-test/com-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ int main(void)

// Increase the FC freq to 250 MHz
pi_freq_set(PI_FREQ_DOMAIN_FC, 250000000);
pi_pmu_voltage_set(PI_PMU_DOMAIN_FC, 1200);
__pi_pmu_voltage_set(PI_PMU_DOMAIN_FC, 1200);

return pmsis_kickoff((void *)start_test_application);
}
2 changes: 1 addition & 1 deletion examples/other/wifi-img-streamer/wifi-img-streamer.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ int main(void)

// Increase the FC freq to 250 MHz
pi_freq_set(PI_FREQ_DOMAIN_FC, 250000000);
pi_pmu_voltage_set(PI_PMU_DOMAIN_FC, 1200);
__pi_pmu_voltage_set(PI_PMU_DOMAIN_FC, 1200);

return pmsis_kickoff((void *)start_example);
}

0 comments on commit 6406ef6

Please sign in to comment.