Difference: MicroSdBlocks (44 vs. 45)

Revision 452020-08-29 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 177 to 177
 
Changed:
<
<
>
>
 

FAT Filesystem

FAT is the de-facto standard for embedded systems and mobile devices.

Line: 221 to 221
  Print current directory:

Changed:
<
<
create path 256 allot
>
>
256 buffer: path
 path 256 f_getcwd drop strlen type
Line: 469 to 469
 
  • vi

Added:
>
>

C-String Helpers

Middleware like FatFs and RTOS expect C strings (0 terminated strings).
str0term     ( cadr len -- cadr len )     null-terminated string
strlen       ( c-addr -- c-addr len )     calculate the length of a C string
.str"        ( c-addr "text" -- len )     copy string into buffer

.(           ( "text) --  )

 
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback