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...
|
|
#define | ATTRIBUTE __attribute__ ((used)) |
| |
|
#define | FW_OFFSET_IN_FLASH (0x800000) |
| |
|
| int | __attribute__ ((used)) |
| | Open file. More...
|
| |
|
size_t | myfwrite (const void *_ptr, size_t _size, size_t _count, register FILE *_fp) |
| |
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.
§ __attribute__()
| size_t __attribute__ |
( |
(used) |
| ) |
|
Open file.
- Parameters
-
| const | void *_fname - file name |
| const | char *_mode - mode |
- Returns
- file
- Note
- Warning