Commit graph

11 commits

Author SHA1 Message Date
bunnie
b3788a54af clarify the dependency policy 2022-01-10 16:50:10 +08:00
bunnie
995915ed4e nail down a couple more dependencies, and add a policy note to Cargo.toml
Each Cargo.toml now includes a comment which remnids maintainers
of the dependency policy for Xous (that is, nail down every dependency
to the minor number).
2022-01-10 15:54:27 +08:00
bunnie
c0ce66ee51 fix permissions. windows is sort of stupid and makes everything +x 2021-08-19 23:34:29 +08:00
bunnie
2a2c75f420 add a rustfmt.toml and run rust fmt on the project
notably directories written by bunnie are excluded.
2021-08-19 23:33:23 +08:00
bunnie
63cf2d3292 fix right shift overflow in main macro 2021-08-01 15:06:09 +08:00
Sean Cross
bbda4365ae wip commit
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-01 17:57:01 +08:00
bunnie
2a46f541f2 add PID identification facility to help with debugging 2021-02-15 19:15:58 +08:00
Sean Cross
ca32e4f9c1 macros: call xous::init() at init-time
This allows for hooking things like the panic handler.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-29 19:39:34 +08:00
Sean Cross
ef33cc577f macros: use matches!() to fix build warning
This is a new feature, and Rust really wants us to use it.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-29 19:39:12 +08:00
Sean Cross
dfd11f846d hosted: fix hosted builds
We can now run `cargo xtask run` and it will do the right thing.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-18 13:52:43 +08:00
Sean Cross
3ed964507d xous: add #[xous::xous_main] proc-macro
This is used to annotate a main function that is compatible with both
hosted and baremetal environments.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-14 16:44:08 +08:00