Skip to content
Snippets Groups Projects
Commit 07d0f0b7 authored by James Talbert's avatar James Talbert
Browse files

Update SDK project to new IP core version

parent fe35cc9c
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,7 @@
int main() {
init_platform();
volatile uint32_t* buttonsGPIO =
(volatile uint32_t*) (XPAR_AXI_GPIO_2_BASEADDR);
volatile uint32_t* pwmRecord =
......@@ -86,7 +87,7 @@ int main() {
pwmGenerate[1] = ((duty_iteration + 1) * pwmGenerate[0])
/ (num_duty_iterations + 1);
usleep(period / 25);
usleep(period / 20);
int error = pwmRecord[0] - pwmGenerate[1];
int abserror = (error < 0) ? -error : error;
......
......@@ -6,6 +6,7 @@ BEGIN OS
PARAMETER OS_NAME = standalone
PARAMETER OS_VER = 6.7
PARAMETER PROC_INSTANCE = ps7_cortexa9_0
PARAMETER sleep_timer = ps7_globaltimer_0
PARAMETER stdin = ps7_uart_1
PARAMETER stdout = ps7_uart_1
END
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment