This is a demo code about how to use fread. We will show the steps for how to run this demo in Andesight v200 STD.
Step1: Download the attached file and put it somewhere. This is a project file which can be directly impoted in Andesight v200 STD.
Attachment:
testbitmap.zip [45.85 KiB]
Downloaded 915 times
Step2: Open Andesight v200 STD. Click “File” --》 “Import...”then import the project file.
Attachment:
testbitmap1.png [ 43.79 KiB | Viewed 8102 times ]
Attachment:
testbitmap2.png [ 40.98 KiB | Viewed 8102 times ]
step3: Check the target board (or choose your target chip and toolchain). In this demo we use "ADP-AG101P-4GB-N1337-FPU" as target chip and "nds32le-elf-mculib-v3" as toolchain.
Attachment:
testbitmap3.png [ 44.18 KiB | Viewed 8102 times ]
Step4: Compile the project and run it. The results of this demo code will show in Console View.
Attachment:
testbitmap4.png [ 68.68 KiB | Viewed 8102 times ]
Attachment:
testbitmap6.png [ 71.7 KiB | Viewed 8102 times ]
Note:
In this article, we assume that Andesight v200 STD's workspace is under $WORKPATH\Andestech\AndeSight200STD\ide_64\workspace or
$WORKPATH\Andestech\AndeSight200STD\ide\workspace, otherwise the testbitmap.c in the demo project should be modified based on your enviroment or it can't run normally.