* set intflash address when programming
* Allow flashapp to work when flashing bank 2
* update readme
* Add tim bootloader SRAM magic-byte
* move boot stuff around to more appropriate locations
* Update rg_main.c
Added a menu to view and configure RTC parameters. It is activated by pressing 'TIME' button in retro-go main menu.
* Update main.c
Enable LSE oscillator and enable it as RTC clock source. Additionally enable CRS Sync LSE.
* Added time display to RTC menu
Added time display to RTC menu and also modified RTC initialization code so that it does not set the RTC date and time. Assuming that a fresh RTC has sensible values.
* Add date display to time menu
Added date display to time menu
* Fix predivs for LSE
Fixed predivs for LSE clock
* move RTC stuff to rg_rtc
Consolidate all RTC functions to rg_rtc. So far getters have been implemented only.
* Time setup UI + setters for Time
Setters for Time have been implemented and Time setup has been added into the UI to use them.
* Date setup added
Date setup with callbacks added
* Add real time datetime display
Modified the time menu to display and update in real time.
* Add a function to return Unix time
Unix time is returned as a 64-bit time_t. Casting to uint32_t will yield time in seconds since 1st Jan 1970.
* Fix setters' return type
Fixing warnings about wrong setter return type.
* Update rg_rtc.h
Missed the .h while updating return types of setters.
* Update rg_rtc.c
Add a nicer year display
* Reactivate LSI
This should fix an issue with DACs that causes Brightness control not to work.
Converting the rom files to .c files with char arrays is very heavy on
the memory usage of the compiler. By converting them directly to .o
files this step is no longer needed.
The Makefile dependencies of generating the rom files has been fixed.
Parsing the rom files will now only happen once when -j is used.
Two binaries generated:
- gw_retro_go_intflash.bin containing the internal flash, 0x08000000
- gw_retro_go_extflash.bin containing the external flash, 0x90000000
This enables us to use the openocd program command with "verify", as we force it to verify only the data at 0x08000000.
Previously, we would get warnings from openocd when programming the elf file (Warn : no flash bank found for address 0x90000000). These are now gone.
Makefile targets have been changed to be more clear:
- `make flash_intflash`: flashes the internal flash (0x08000000)
- `make flash_intflash_nc`: same as the above, but uses nc to communicate with a running openocd session
- `make flash_extflash`: flashes the external flash (0x90000000)
- `make flash`: Flashes both of the above
- `make flash_all`: Alias to flash (kept for legacy reasons, so users can keep running their old commands)