Browse Source

add Edge-V board info to select Borads function

pull/68/head
frank 5 years ago
parent
commit
425b0c91d3
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      wiringPi/wiringPi.c

+ 5
- 0
wiringPi/wiringPi.c View File

@@ -313,6 +313,11 @@ exit:
libwiring.maker = MAKER_AMLOGIC; libwiring.maker = MAKER_AMLOGIC;
libwiring.mem = 2; libwiring.mem = 2;
libwiring.rev = 1; libwiring.rev = 1;
}else if(strstr(line,"Edge-V")){
libwiring.model = MODEL_KHADAS_EDGE;
libwiring.maker = MAKER_ROCKCHIP;
libwiring.mem = 2;
libwiring.rev = 1;
}else }else
printf("MODEL SETUP ERROR\n"); printf("MODEL SETUP ERROR\n");
fclose(cpuFd); fclose(cpuFd);


Loading…
Cancel
Save