Skip to content

Commit

Permalink
README更新
Browse files Browse the repository at this point in the history
  • Loading branch information
kamiyaowl committed Sep 23, 2019
1 parent 23fdbc6 commit 8720fe4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,11 @@ $ docker-compose run build-wasm-webpage

### Embedded for stm32f769

Work in Progress...
![embedded](https://raw.githubusercontent.com/kamiyaowl/rust-nes-emulator/master/screenshot/embedded.jpg)

#### Build and Write
[STM32F769I-DISCO - STMicroelectronics](https://www.st.com/ja/evaluation-tools/32f769idiscovery.html)

```shell
$ cd embedded
$ cargo build --release
$ openocd -f openocd.cfg -c "flash_program target/thumbv7em-none-eabihf/release/rust-nes-emulator-embedded"
```

#### Build on Docker

```shell
$ docker-compose run build-embedded-release
```
Work in Progress...

---

Expand Down
2 changes: 1 addition & 1 deletion embedded/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int main()
for (uint32_t counter = 0 ; ; ++counter ) {
EmbeddedEmulator_update_screen(&fb);
// 描画やりまくると遅いので間引く
if (counter & 0x100) {
if (counter & 0x04) {
print_framebuffer(150, 0, 2);
}
}
Expand Down
Binary file added screenshot/embedded.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8720fe4

Please sign in to comment.