mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-12-26 13:01:55 +01:00
421d0438f3
This PR completely removes `task.c / task.h` from `sw/controller` STM32 code. Additionally, these changes were implemented: - Updated IPL3 - Added new diagnostic data (voltage and temperature) readout commands for USB and N64 - Fixed some issues with FlashRAM save type - Joybus timings were relaxed to accommodate communication with unsynchronized master controller (like _Datel Game Killer_, thanks @RWeick) - N64 embedded test program now waits for release of button press to proceed - Fixed issue where, in rare circumstances, I2C peripheral in STM32 would get locked-up on power-up - LED blinking behavior on SD card access was changed - LED blink duration on save writeback has been extended - Minor fixes through the entire of hardware abstraction layer for STM32 code - Primer now correctly detects issues with I2C bus during first time programming - `primer.py` script gives more meaningful error messages - Fixed bug where RTC time was always written on N64FlashcartMenu boot - sc64deployer now displays "Diagnostic data" instead of "MCU stack usage"
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
MEMORY {
|
|
loader (rx) : org = 0x08000000, len = 4k
|
|
code (rx) : org = 0x08001000, len = 28k
|
|
ram (rwx) : org = 0x20000000, len = 8k
|
|
}
|
|
|
|
ENTRY(Reset_Handler)
|
|
|
|
__bin_align = 8;
|
|
|
|
SECTIONS {
|
|
.loader : {
|
|
. = ALIGN(4);
|
|
KEEP(*(.loader))
|
|
. = ALIGN(4);
|
|
} > loader
|
|
|
|
.isr_vector : {
|
|
. = ALIGN(4);
|
|
KEEP(*(.isr_vector))
|
|
. = ALIGN(4);
|
|
} > code
|
|
|
|
.text : {
|
|
. = ALIGN(4);
|
|
*(.text)
|
|
*(.text*)
|
|
*(.glue_7)
|
|
*(.glue_7t)
|
|
. = ALIGN(4);
|
|
_etext = .;
|
|
} > code
|
|
|
|
.bss : {
|
|
. = ALIGN(4);
|
|
_sbss = .;
|
|
*(.bss)
|
|
*(.bss*)
|
|
*(COMMON)
|
|
. = ALIGN(4);
|
|
_ebss = .;
|
|
} > ram
|
|
|
|
.data : {
|
|
_sidata = LOADADDR(.data);
|
|
. = ALIGN(4);
|
|
_sdata = .;
|
|
*(.data)
|
|
*(.data*)
|
|
. = ALIGN(4);
|
|
_edata = .;
|
|
} > ram AT > code
|
|
|
|
.rodata : {
|
|
. = ALIGN(4);
|
|
*(.rodata)
|
|
*(.rodata*)
|
|
FILL(0xFF);
|
|
. = ALIGN(__bin_align);
|
|
} > code
|
|
|
|
_estack = ORIGIN(ram) + LENGTH(ram);
|
|
}
|