After download the IAR sdk you can find an IAR project file here:
It has been configured ready for Ameba settings on IAR. And you can find more peripheral examples under here:
For gpio example you can copy
Thank you. But I get the following errors:
Error[Lp049]: there was no reference to __iar_data_init3, but it is needed to initialize section .bdsram.data (freertos_skbuff.o(lib_wlan.a) #10)
Error[Lp048]: the init table "Table" is needed to initialize some variables, but there are no references to it
Error[Li016]: size limit exceeded. The application needs 0x8d30f (578 319) bytes, which is greater than the limit of 0x8000 (32 768) bytes. The limit is due to license "ARM.EW.LINKER" from "aes.o" (and 180 other modules).
Error while running Linker
Which is why I wanted to create a project from the "start". By doing so I will include only those library files that are needed and reduce the size of the binary file to 32KB. Thanks!