Skip to content

krabbstek/srex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Srex

Srex is a library for parsing SRec files.

Example

use std::{fs, str::FromStr};
use srex::srecord::SRecordFile;

let srecord_str = fs::read_to_string("path/to/file.s37").unwrap();
let srecord_file = SRecordFile::from_str(&srecord_str).unwrap();

// Get data at address 0x123
let x: u8 = srecord_file[0x123];
println!("Data at address 0x123: {x}");

⚠️ This tool is currently being built and may see large changes in future commits.

About

Motorola SRecord library.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages