CC33XX API Documentation  2.30.00.15
Files | Macros | Functions
osi_filesystem

This porting file provides the adaptation layer for the file system. These functions are needed for file management of the upper mac. Currently only supported file is the WiFi part firmware bin file. On the Sitara AM243x Launchpad, the firmware binary is saved in a specific flash offset. More...

Files

file  osi_filesystem.c
 osi_filesystem porting file
 

Macros

#define ATTRIBUTE   __attribute__ ((used))
 
#define FW_OFFSET_IN_FLASH   (0x800000)
 

Functions

int __attribute__ ((used))
 Open file. More...
 
size_t myfwrite (const void *_ptr, size_t _size, size_t _count, register FILE *_fp)
 

Detailed Description

This porting file provides the adaptation layer for the file system. These functions are needed for file management of the upper mac. Currently only supported file is the WiFi part firmware bin file. On the Sitara AM243x Launchpad, the firmware binary is saved in a specific flash offset.

Those functions are redirected from fxxx to myfxxx in the linker command (–symbol_map=fread=myfread). If host already has a system that use fopen fclose fread etc., this file should not be compiled in.

Function Documentation

§ __attribute__()

size_t __attribute__ ( (used)  )

Open file.

Parameters
constvoid *_fname - file name
constchar *_mode - mode
Returns
file
Note
Warning