wswan:guide:wfconfig
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wswan:guide:wfconfig [2024/02/17 11:10] – asie | wswan:guide:wfconfig [2025/08/31 19:28] (current) – asie | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== wfconfig.toml | + | ====== Project configuration ====== |
+ | |||
+ | ===== wfconfig.toml ===== | ||
wfconfig.toml serves as a project-wide configuration file. | wfconfig.toml serves as a project-wide configuration file. | ||
- | ===== cartridge ===== | + | ==== [cartridge] ==== |
+ | |||
+ | This section describes the [[https:// | ||
+ | |||
+ | The following fields can affect cartridge loaders and/or the boot ROM, and thus should be configured correctly: | ||
- | * **rom_banks** - The number of 64KB ROM banks used by your project; normally, this value is calculated automatically as your project grows in scope. | ||
* **save_type** - The save type of your cartridge. The following values are supported: | * **save_type** - The save type of your cartridge. The following values are supported: | ||
* ''" | * ''" | ||
Line 17: | Line 22: | ||
* ''" | * ''" | ||
* **vertical** - Set to '' | * **vertical** - Set to '' | ||
- | + | * **mapper** - The mapper used by your cartridge. The following values are supported: | |
- | ==== Metadata only ==== | + | * ''" |
+ | * ''" | ||
+ | * **rom_banks** - The number of 64KB ROM banks used by your project. By default, this value is calculated automatically as your project grows in scope. | ||
The following fields have no effect on execution and exist solely as metadata: | The following fields have no effect on execution and exist solely as metadata: | ||
Line 24: | Line 31: | ||
* **publisher_id**, | * **publisher_id**, | ||
* **color** - Set to '' | * **color** - Set to '' | ||
- | * **rtc** - Set to '' | ||
- | ==== Advanced ==== | + | The following fields are meant for advanced users only. Don't touch these unless you're building custom hardware. |
- | + | ||
- | Don't touch these unless you're building custom hardware. | + | |
* **rom_bus_width** - Can be set to '' | * **rom_bus_width** - Can be set to '' | ||
Line 34: | Line 38: | ||
* **unlock_internal_eeprom** - Set to '' | * **unlock_internal_eeprom** - Set to '' | ||
* **disable_custom_boot_splash** - Set to '' | * **disable_custom_boot_splash** - Set to '' | ||
+ | * **rom_reserve_bootrom_area** - Set to '' | ||
+ | |||
+ | ===== Defines ===== | ||
+ | |||
+ | ==== libws ==== | ||
+ | |||
+ | libws comes with some configuration options of its own, using defines: | ||
+ | |||
+ | * '' |
wswan/guide/wfconfig.1708168259.txt.gz · Last modified: by asie