Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/racerxdl/go-switch-examples
Examples using TinyGo for Nintendo Switch
https://github.com/racerxdl/go-switch-examples
golang homebrew nintendo nintendo-switch switch tinygo
Last synced: 8 days ago
JSON representation
Examples using TinyGo for Nintendo Switch
- Host: GitHub
- URL: https://github.com/racerxdl/go-switch-examples
- Owner: racerxdl
- License: apache-2.0
- Created: 2020-05-12T23:40:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-03T08:35:44.000Z (almost 4 years ago)
- Last Synced: 2024-05-23T05:11:41.400Z (6 months ago)
- Topics: golang, homebrew, nintendo, nintendo-switch, switch, tinygo
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 24
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Golang Nintendo Switch Examples
Examples using TinyGo for Nintendo Switch
# Requirements
* DevKitPro for Switch (see [Setting up Development Environment](https://switchbrew.org/wiki/Setting_up_Development_Environment))
* TinyGo with Nintendo Switch Support (https://github.com/racerxdl/tinygo on nintendoswitch branch)
* Linkle (see [https://github.com/MegatonHammer/linkle](https://github.com/MegatonHammer/linkle))# Building a example
Go to the example folder and then run:
```bash
tinygo build -target nintendo-switch -o hello-world.elf
linkle nro hello-world.elf hello-world.nro
```That should generate a `nro` file that runs on [Yuzu](https://yuzu-emu.org/) or [Atmosphere](https://github.com/Atmosphere-NX/Atmosphere/)
If you have linkle and tinygo in path, you can run `make`