Andes Workshop

It is currently Mon Sep 27, 2021 4:13 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: A Demo Code which show how to use fread For AndeSight
PostPosted: Wed Jul 03, 2013 1:00 pm 
Offline

Joined: Fri May 04, 2012 6:49 am
Posts: 17
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 582 times


Step2: Open Andesight v200 STD. Click “File” --》 “Import...”then import the project file.
Attachment:
testbitmap1.png
testbitmap1.png [ 43.79 KiB | Viewed 6045 times ]

Attachment:
testbitmap2.png
testbitmap2.png [ 40.98 KiB | Viewed 6045 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
testbitmap3.png [ 44.18 KiB | Viewed 6045 times ]


Step4: Compile the project and run it. The results of this demo code will show in Console View.
Attachment:
testbitmap4.png
testbitmap4.png [ 68.68 KiB | Viewed 6045 times ]

Attachment:
testbitmap6.png
testbitmap6.png [ 71.7 KiB | Viewed 6045 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.


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group