Skip to content

Commit

Permalink
Version => v7.0.2: Backported fixes planned for the next release
Browse files Browse the repository at this point in the history
  • Loading branch information
afska committed Jan 12, 2025
1 parent df66fd3 commit 63958e1
Show file tree
Hide file tree
Showing 30 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion examples/LinkCableMultiboot_demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ int main() {
selectRight();

// Menu
log("LinkCableMultiboot_demo\n (v7.0.1)\n\n"
log("LinkCableMultiboot_demo\n (v7.0.2)\n\n"
"Press A to send the ROM...\n"
"Press B to launch the ROM...\nLEFT/RIGHT: select ROM\nL: toggle "
"mode\n\nSelected ROM:\n " +
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkCable_basic/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main() {
u16 keys = ~REG_KEYS & KEY_ANY;
linkCable->send(keys + 1); // (avoid using 0)

std::string output = "LinkCable_basic (v7.0.1)\n\n";
std::string output = "LinkCable_basic (v7.0.2)\n\n";
if (linkCable->isConnected()) {
u8 playerCount = linkCable->playerCount();
u8 currentPlayerId = linkCable->currentPlayerId();
Expand Down
4 changes: 2 additions & 2 deletions examples/LinkCable_full/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ inline void setUpInterrupts() {

void printTutorial() {
#ifndef USE_LINK_UNIVERSAL
DEBULOG("LinkCable_full (v7.0.1)");
DEBULOG("LinkCable_full (v7.0.2)");
#else
DEBULOG("LinkUniversal_full (v7.0.1)");
DEBULOG("LinkUniversal_full (v7.0.2)");
#endif

DEBULOG("");
Expand Down
4 changes: 2 additions & 2 deletions examples/LinkCable_stress/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ int main() {

while (true) {
#ifndef USE_LINK_UNIVERSAL
std::string output = "LinkCable_stress (v7.0.1)\n\n";
std::string output = "LinkCable_stress (v7.0.2)\n\n";
#else
std::string output = "LinkUniversal_stress (v7.0.1)\n\n";
std::string output = "LinkUniversal_stress (v7.0.2)\n\n";
#endif

linkConnection->deactivate();
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkCube_demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ int main() {
while (true) {
// Title
std::string output =
"LinkCube_demo (v7.0.1)" + std::string(reset ? " !RESET!" : "") +
"LinkCube_demo (v7.0.2)" + std::string(reset ? " !RESET!" : "") +
"\n\nPress A to send\nPress B to clear\n (L = "
"+1024)\n\nLast sent: " +
std::to_string(counter) +
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkGPIO_demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int main() {

while (true) {
// (3) Use the pins
std::string output = "LinkGPIO_demo (v7.0.1)\n\n";
std::string output = "LinkGPIO_demo (v7.0.2)\n\n";

// Commands
u16 keys = ~REG_KEYS & KEY_ANY;
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkMobile_demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int main() {
init();

start:
log("LinkMobile_demo (v7.0.1)\n\nPress A to start");
log("LinkMobile_demo (v7.0.2)\n\nPress A to start");
waitForA();

// (1) Create a LinkMobile instance
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkPS2Keyboard_demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int main() {
init();

while (true) {
std::string output = "LinkPS2Keyboard_demo (v7.0.1)\n\n";
std::string output = "LinkPS2Keyboard_demo (v7.0.2)\n\n";
u16 keys = ~REG_KEYS & KEY_ANY;

if (!linkPS2Keyboard->isActive()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkPS2Mouse_demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int main() {
init();

while (true) {
std::string output = "LinkPS2Mouse_demo (v7.0.1)\n\n";
std::string output = "LinkPS2Mouse_demo (v7.0.2)\n\n";
u16 keys = ~REG_KEYS & KEY_ANY;

if (!linkPS2Mouse->isActive()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkRawCable_demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int main() {
u16 prevKeys = 0;

while (true) {
std::string output = "LinkRawCable_demo (v7.0.1)\n\n";
std::string output = "LinkRawCable_demo (v7.0.2)\n\n";
u16 keys = ~REG_KEYS & KEY_ANY;

if (!linkRawCable->isActive()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkRawWireless_demo/src/scenes/DebugScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void DebugScene::load() {

log("---");
log("LinkRawWireless demo");
log(" (v7.0.1)");
log(" (v7.0.2)");
log("");
log("START: reset wireless adapter");
log("A: send command");
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkSPI_demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ int main() {
u32 counter = 0;

while (true) {
std::string output = "LinkSPI_demo (v7.0.1)\n\n";
std::string output = "LinkSPI_demo (v7.0.2)\n\n";
u16 keys = ~REG_KEYS & KEY_ANY;

if (!linkSPI->isActive()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkUART_demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ int main() {
bool firstTransfer = false;

while (true) {
std::string output = "LinkUART_demo (v7.0.1)\n\n";
std::string output = "LinkUART_demo (v7.0.2)\n\n";
u16 keys = ~REG_KEYS & KEY_ANY;

if (!linkUART->isActive()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkUniversal_basic/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void init() {
int main() {
init();

log("LinkUniversal_basic (v7.0.1)\n\n\n"
log("LinkUniversal_basic (v7.0.2)\n\n\n"
"Press A to start\n\n\n"
"hold LEFT on start:\n -> force cable\n\n"
"hold RIGHT on start:\n -> force wireless\n\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void MultibootScene::load() {

log("---");
log("LinkWirelessMultiboot demo");
log(" (v7.0.1)");
log(" (v7.0.2)");
log("");
if (fs == NULL) {
log("! GBFS file not found");
Expand Down
2 changes: 1 addition & 1 deletion examples/LinkWireless_demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ int main() {

start:
// Options
log("LinkWireless_demo (v7.0.1)\n" + buildSettings +
log("LinkWireless_demo (v7.0.2)\n" + buildSettings +
"\n"
"Press A to start\n\n"
"hold LEFT on start:\n -> disable forwarding\n\n"
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkCable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#define LINK_CABLE_QUEUE_SIZE 15
#endif

static volatile char LINK_CABLE_VERSION[] = "LinkCable/v7.0.1";
static volatile char LINK_CABLE_VERSION[] = "LinkCable/v7.0.2";

#define LINK_CABLE_MAX_PLAYERS 4
#define LINK_CABLE_DEFAULT_TIMEOUT 3
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkCableMultiboot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#endif

static volatile char LINK_CABLE_MULTIBOOT_VERSION[] =
"LinkCableMultiboot/v7.0.1";
"LinkCableMultiboot/v7.0.2";

#define LINK_CABLE_MULTIBOOT_TRY(CALL) \
partialResult = CALL; \
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkCube.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#define LINK_CUBE_QUEUE_SIZE 10
#endif

static volatile char LINK_CUBE_VERSION[] = "LinkCube/v7.0.1";
static volatile char LINK_CUBE_VERSION[] = "LinkCube/v7.0.2";

#define LINK_CUBE_BARRIER asm volatile("" ::: "memory")

Expand Down
2 changes: 1 addition & 1 deletion lib/LinkMobile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
#define LINK_MOBILE_QUEUE_SIZE 10
#endif

static volatile char LINK_MOBILE_VERSION[] = "LinkMobile/v7.0.1";
static volatile char LINK_MOBILE_VERSION[] = "LinkMobile/v7.0.2";

#define LINK_MOBILE_MAX_USER_TRANSFER_LENGTH 254
#define LINK_MOBILE_MAX_COMMAND_TRANSFER_LENGTH 255
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkPS2Keyboard.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#include "_link_common.hpp"

static volatile char LINK_PS2_KEYBOARD_VERSION[] = "LinkPS2Keyboard/v7.0.1";
static volatile char LINK_PS2_KEYBOARD_VERSION[] = "LinkPS2Keyboard/v7.0.2";

/**
* @brief A PS/2 Keyboard Adapter for the GBA.
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkPS2Mouse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

#include "_link_common.hpp"

static volatile char LINK_PS2_MOUSE_VERSION[] = "LinkPS2Mouse/v7.0.1";
static volatile char LINK_PS2_MOUSE_VERSION[] = "LinkPS2Mouse/v7.0.2";

#define LINK_PS2_MOUSE_LEFT_CLICK 0b001
#define LINK_PS2_MOUSE_RIGHT_CLICK 0b010
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkRawCable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

#include "_link_common.hpp"

static volatile char LINK_RAW_CABLE_VERSION[] = "LinkRawCable/v7.0.1";
static volatile char LINK_RAW_CABLE_VERSION[] = "LinkRawCable/v7.0.2";

#define LINK_RAW_CABLE_MAX_PLAYERS 4
#define LINK_RAW_CABLE_DISCONNECTED 0xffff
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkRawWireless.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/
// #define LINK_RAW_WIRELESS_ENABLE_LOGGING

static volatile char LINK_RAW_WIRELESS_VERSION[] = "LinkRawWireless/v7.0.1";
static volatile char LINK_RAW_WIRELESS_VERSION[] = "LinkRawWireless/v7.0.2";

#define LINK_RAW_WIRELESS_MAX_PLAYERS 5
#define LINK_RAW_WIRELESS_MAX_COMMAND_RESPONSE_LENGTH 30
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkSPI.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

#include "_link_common.hpp"

static volatile char LINK_SPI_VERSION[] = "LinkSPI/v7.0.1";
static volatile char LINK_SPI_VERSION[] = "LinkSPI/v7.0.2";

#define LINK_SPI_NO_DATA_32 0xffffffff
#define LINK_SPI_NO_DATA_8 0xff
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkUART.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#define LINK_UART_QUEUE_SIZE 256
#endif

static volatile char LINK_UART_VERSION[] = "LinkUART/v7.0.1";
static volatile char LINK_UART_VERSION[] = "LinkUART/v7.0.2";

#define LINK_UART_BARRIER asm volatile("" ::: "memory")

Expand Down
2 changes: 1 addition & 1 deletion lib/LinkUniversal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
#define LINK_UNIVERSAL_GAME_ID_FILTER 0
#endif

static volatile char LINK_UNIVERSAL_VERSION[] = "LinkUniversal/v7.0.1";
static volatile char LINK_UNIVERSAL_VERSION[] = "LinkUniversal/v7.0.2";

#define LINK_UNIVERSAL_DISCONNECTED LINK_CABLE_DISCONNECTED
#define LINK_UNIVERSAL_NO_DATA LINK_CABLE_NO_DATA
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkWireless.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
// #define LINK_WIRELESS_TWO_PLAYERS_ONLY
#endif

static volatile char LINK_WIRELESS_VERSION[] = "LinkWireless/v7.0.1";
static volatile char LINK_WIRELESS_VERSION[] = "LinkWireless/v7.0.2";

#define LINK_WIRELESS_MAX_PLAYERS 5
#define LINK_WIRELESS_MIN_PLAYERS 2
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkWirelessMultiboot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#endif

static volatile char LINK_WIRELESS_MULTIBOOT_VERSION[] =
"LinkWirelessMultiboot/v7.0.1";
"LinkWirelessMultiboot/v7.0.2";

#define LINK_WIRELESS_MULTIBOOT_MIN_ROM_SIZE (0x100 + 0xc0)
#define LINK_WIRELESS_MULTIBOOT_MAX_ROM_SIZE (256 * 1024)
Expand Down
2 changes: 1 addition & 1 deletion lib/LinkWirelessOpenSDK.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "LinkRawWireless.hpp"

static volatile char VERSION[] = "LinkWirelessOpenSDK/v7.0.1";
static volatile char VERSION[] = "LinkWirelessOpenSDK/v7.0.2";

/**
* @brief An open-source implementation of the "official" Wireless Adapter
Expand Down

0 comments on commit 63958e1

Please sign in to comment.