support stm8

1. see: TencentOS-tiny\board\STM8L052R8T6\IAR\hello_world
2. compile/debug/run with IAR for STM8
This commit is contained in:
daishengdong
2020-02-15 16:39:00 +08:00
parent 59e403891a
commit 405e5d970a
169 changed files with 49472 additions and 550 deletions

View File

@@ -41,17 +41,17 @@ typedef struct vfs_inode_st {
#define VFS_INODE_SIZE(name_len) (sizeof(vfs_inode_t) + name_len)
__KERNEL__ int vfs_inode_is_busy(vfs_inode_t *inode);
__KNL__ int vfs_inode_is_busy(vfs_inode_t *inode);
__KERNEL__ void vfs_inode_refinc(vfs_inode_t *inode);
__KNL__ void vfs_inode_refinc(vfs_inode_t *inode);
__KERNEL__ vfs_inode_t *vfs_inode_find(const char *path, const char **relative_path);
__KNL__ vfs_inode_t *vfs_inode_find(const char *path, const char **relative_path);
__KERNEL__ vfs_inode_t *vfs_inode_alloc(const char *name);
__KNL__ vfs_inode_t *vfs_inode_alloc(const char *name);
__KERNEL__ void vfs_inode_free(vfs_inode_t *inode);
__KNL__ void vfs_inode_free(vfs_inode_t *inode);
__KERNEL__ void vfs_inode_release(vfs_inode_t *inode);
__KNL__ void vfs_inode_release(vfs_inode_t *inode);
#endif