mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-10-01 21:36:53 -05:00
Using -Os by default in ISR
This commit is contained in:
@@ -314,8 +314,8 @@ You can update these values at any time without creating a new instance:
|
||||
- Depending on how much IWRAM you have available, you might want to tweak these knobs:
|
||||
* `LINK_WIRELESS_PUT_ISR_IN_IWRAM_SERIAL`: (default: `1`) Put the SERIAL ISR in IWRAM (recommended, since this handler runs ~20 times per frame)
|
||||
* `LINK_WIRELESS_PUT_ISR_IN_IWRAM_TIMER`: (default: `1`) Put the TIMER ISR in IWRAM (not that necessary)
|
||||
* `LINK_WIRELESS_PUT_ISR_IN_IWRAM_SERIAL_LEVEL`: (default: `"-Ofast"`) Optimization level for the SERIAL ISR
|
||||
* `LINK_WIRELESS_PUT_ISR_IN_IWRAM_TIMER_LEVEL`: (default: `"-Ofast"`) Optimization level for the TIMER ISR
|
||||
* `LINK_WIRELESS_PUT_ISR_IN_IWRAM_SERIAL_LEVEL`: (default: `"-Os"`) Optimization level for the SERIAL ISR
|
||||
* `LINK_WIRELESS_PUT_ISR_IN_IWRAM_TIMER_LEVEL`: (default: `"-Os"`) Optimization level for the TIMER ISR
|
||||
- `LINK_WIRELESS_ENABLE_NESTED_IRQ`: to allow `LINK_WIRELESS_ISR_*` functions to be interrupted. This can be useful, for example, if your audio engine requires calling a VBlank handler with precise timing.
|
||||
|
||||
# 💻 LinkWirelessMultiboot
|
||||
|
||||
@@ -122,10 +122,10 @@
|
||||
#define LINK_WIRELESS_PUT_ISR_IN_IWRAM_TIMER 1
|
||||
#endif
|
||||
#ifndef LINK_WIRELESS_PUT_ISR_IN_IWRAM_SERIAL_LEVEL
|
||||
#define LINK_WIRELESS_PUT_ISR_IN_IWRAM_SERIAL_LEVEL "-Ofast"
|
||||
#define LINK_WIRELESS_PUT_ISR_IN_IWRAM_SERIAL_LEVEL "-Os"
|
||||
#endif
|
||||
#ifndef LINK_WIRELESS_PUT_ISR_IN_IWRAM_TIMER_LEVEL
|
||||
#define LINK_WIRELESS_PUT_ISR_IN_IWRAM_TIMER_LEVEL "-Ofast"
|
||||
#define LINK_WIRELESS_PUT_ISR_IN_IWRAM_TIMER_LEVEL "-Os"
|
||||
#endif
|
||||
//---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user