-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf3f8f9
commit 12cce4f
Showing
40 changed files
with
138 additions
and
5,223 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,6 @@ | ||
# `gba` | ||
# `gba-cell` | ||
|
||
# [Docs.rs Documentation](https://docs.rs/gba) | ||
|
||
This crate is intended for working with the GBA. | ||
Provides a global "cell" type for use in homebrew software for the Nintendo Gameboy Advance. | ||
|
||
To build for the GBA you'll need to use `build-std` (on Nightly) with the | ||
`thumbv4t-none-eabi` or `armv4t-none-eabi` targets. The two targets are | ||
identical except for which instruction set (thumb or arm) is used by default. It | ||
is suggested that you use the thumb target, unless you know what you're doing and | ||
have a very good reason to use the arm target. | ||
|
||
Your `.cargo/config.toml` should look something like this: | ||
|
||
```toml | ||
[build] | ||
target = "thumbv4t-none-eabi" | ||
|
||
[unstable] | ||
build-std = ["core"] | ||
``` | ||
|
||
If you don't use this crate on the GBA, you **MUST** disable default features and | ||
then not use the `on_gba` cargo feature. | ||
This allows for safely communicating between IRQ and non-IRQ code through the use of small wrapped global variables. |
Oops, something went wrong.