* 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.
Sub-block erases should be aligned with the size: e.g. 32kB erase should
only be done on 32kB boundaries, 64Kb erase should only be done on block
boundaries.
This also adds a naive memcpy implementation to work around
bounds checks. This is done because of symbols coming from
the ld script that don't have the correct length.
If anyone knows how to fix this properly, PRs are always welcome!
This is an alternate solution to #13
Squashed commit of the following:
commit 8bdab8b69ee37aeafedb8da7d13fb6c02c35cc04
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date: Sun Dec 6 15:11:47 2020 +0100
Update submodule
commit eaaf1893e4dc8c6ec66039a99de057de60b5f2b5
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date: Sun Dec 6 15:11:38 2020 +0100
Use HALF_QUAD_MODE
commit 069985bec8b78e3c54fda2ef632ce9d7e3e79eaf
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date: Sun Dec 6 15:11:27 2020 +0100
Add missing file
commit d0bb4e89f1701097f4c8e6f81ac39561157e1ea8
Author: Thomas Roth <code@stacksmashing.net>
Date: Sat Dec 5 13:59:18 2020 +0100
Fix HALF_QUAD_MODE support
commit d87def7b63b297231b4b9419998d63f878cce8d6
Author: Thomas Roth <code@stacksmashing.net>
Date: Sat Dec 5 13:42:27 2020 +0100
Add support for different flash sizes
commit 85da98252194eaeb7344b7edd3b4655996e96344
Merge: c2be063 df701cd
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date: Sat Dec 5 01:06:47 2020 +0100
Merge remote-tracking branch 'origin/main' into largeflash_snapshots
commit c2be0637a99b41dbbcdab8db96dd5a4fd9f917c1
Author: Thomas Roth <code@stacksmashing.net>
Date: Fri Dec 4 23:07:48 2020 +0100
Enable nearest-neighbor with -DBLIT_NEAREST
commit 4706648eb4a777431ab82ae9f16bec1535d97ae3
Author: Thomas Roth <code@stacksmashing.net>
Date: Fri Dec 4 22:51:40 2020 +0100
Vsync
commit 692bf35345b1eae52a2cc88510f785daf8c29ccb
Author: Thomas Roth <code@stacksmashing.net>
Date: Fri Dec 4 22:25:26 2020 +0100
Update retro-go-stm32
commit b3caa6dd3a946e8d0e799779130daaab15a0ae8b
Author: Thomas Roth <code@stacksmashing.net>
Date: Fri Dec 4 20:27:27 2020 +0100
Initial snapshot support (large flash only)