Compare commits
15 Commits
Author | SHA1 | Date |
---|---|---|
= | d49d66f150 | |
= | 4b456ac054 | |
= | 1f8918d852 | |
= | 86013384f6 | |
abdul124 | ea0e1cf3ca | |
abdul124 | f6e82db00b | |
abdul124 | f4b7eb13e7 | |
abdul124 | 65dae32acc | |
abdul124 | 4f48238624 | |
abdul124 | 7da03ee6e1 | |
abdul124 | 6b4e6a68bf | |
abdul124 | 3e23b6720b | |
abdul124 | 4c5c4a0e8b | |
abdul124 | 4200b7caa1 | |
abdul124 | 41fef76da2 |
|
@ -3,6 +3,7 @@ rustflags = [
|
|||
"-C", "link-arg=-Tlink.x",
|
||||
"-C", "target-feature=a9,armv7-a,neon",
|
||||
"-C", "target-cpu=cortex-a9",
|
||||
"-Zcrate-attr=feature(const_fn)"
|
||||
]
|
||||
|
||||
[build]
|
||||
|
|
|
@ -39,8 +39,7 @@ checksum = "3748f82c7d366a0b4950257d19db685d4958d2fa27c6d164a3f069fec42b748b"
|
|||
[[package]]
|
||||
name = "core_io"
|
||||
version = "0.1.20210325"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "97f8932064288cc79feb4d343a399d353a6f6f001e586ece47fe518a9e8507df"
|
||||
source = "git+https://git.m-labs.hk/abdul124/core_io?rev=998b1e9#998b1e99907faf8de0381ea9fa54fe649ce6bfdd"
|
||||
dependencies = [
|
||||
"rustc_version",
|
||||
]
|
||||
|
@ -71,8 +70,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "fatfs"
|
||||
version = "0.3.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e18f80a87439240dac45d927fd8f8081b6f1e34c03e97271189fa8a8c2e96c8f"
|
||||
source = "git+https://git.m-labs.hk/abdul124/fatfs?rev=05e9feb#05e9feb52c1c4415b27847ac2ed2303682850f97"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"byteorder",
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1720386169,
|
||||
"narHash": "sha256-NGKVY4PjzwAa4upkGtAMz1npHGoRzWotlSnVlqI40mo=",
|
||||
"lastModified": 1721226092,
|
||||
"narHash": "sha256-UBvzVpo5sXSi2S/Av+t+Q+C2mhMIw/LBEZR+d6NMjws=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "194846768975b7ad2c4988bdb82572c00222c0d7",
|
||||
"rev": "c716603a63aca44f39bef1986c13402167450e0a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -114,7 +114,13 @@
|
|||
src = builtins.filterSource (path: type:
|
||||
baseNameOf path != "target"
|
||||
) ./.;
|
||||
cargoLock = { lockFile = ./Cargo.lock; };
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"core_io-0.1.20210325" = "sha256-XM7Y7EeItmNQSVaVLZqpRPSyLj6ZMskUvdYxvmuo1ww=";
|
||||
"fatfs-0.3.5" = "sha256-jCRCZ+QNkRPSPtWrod+6UuX2ULPYTWo77aLegco8Rxg=";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cargo-xbuild llvmPackages_11.clang-unwrapped ];
|
||||
buildPhase = ''
|
||||
|
|
|
@ -6,8 +6,8 @@ edition = "2018"
|
|||
|
||||
[dependencies]
|
||||
libboard_zynq = { path = "../libboard_zynq" }
|
||||
core_io = { version = "0.1", features = ["collections"] }
|
||||
fatfs = { version = "0.3", features = ["core_io"], default-features = false }
|
||||
core_io = { git = "https://git.m-labs.hk/abdul124/core_io.git", rev = "998b1e9", features = ["collections"] }
|
||||
fatfs = { git = "https://git.m-labs.hk/abdul124/fatfs.git", rev = "05e9feb", features = ["core_io"], default-features = false }
|
||||
log = "0.4"
|
||||
|
||||
[features]
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#![no_std]
|
||||
#![feature(llvm_asm, global_asm)]
|
||||
#![feature(never_type)]
|
||||
#![feature(const_fn)]
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ default = ["target_zc706"]
|
|||
[dependencies]
|
||||
log = "0.4"
|
||||
byteorder = { version = "1.3", default-features = false }
|
||||
core_io = { version = "0.1", features = ["collections"] }
|
||||
core_io = { git = "https://git.m-labs.hk/abdul124/core_io.git", rev = "998b1e9", features = ["collections"] }
|
||||
|
||||
libboard_zynq = { path = "../libboard_zynq" }
|
||||
libsupport_zynq = { path = "../libsupport_zynq" }
|
||||
|
|
Loading…
Reference in New Issue