This commit is contained in:
rusefi 2017-03-19 19:29:54 -04:00
parent fed5cfe254
commit 921bd9b79d
3 changed files with 9 additions and 3 deletions

View File

@ -5,6 +5,7 @@ current binaries are always available at http://rusefi.com/build_server/
| Release date | Revision | Details |
| ------------ | --------- | ------- |
| 03/09/2017 | r13223 | bugfix #374: persistent configuration starts to touch firmware - settings would need to be reloaded |
| 03/09/2017 | r13146 | bugfix #370: duty cycle vs error code 6050 |
| 03/06/2017 | r13123 | bugfix #363: 2/1 skipped wheel is a corner-case |
| 03/05/2017 | r13108 | bugfix #363: trigger front only processing |

View File

@ -33,7 +33,7 @@ __process_stack_size__ = 0x0600;
MEMORY
{
flash : org = 0x08000000, len = 1M
flash : org = 0x08000000, len = 896k
ram : org = 0x20000000, len = 112k
ethram : org = 0x2001C000, len = 16k
ccmram : org = 0x10000000, len = 64k

View File

@ -36,14 +36,19 @@ extern persistent_config_container_s persistentState;
extern engine_configuration_s *engineConfiguration;
#define FLASH_ADDR 0x08060000
/**
* this address needs to be above 'flash' region available for firmware
* todo: an ideal solution would be to define this address in the .ld / .icf mapping file
*/
#define FLASH_ADDR 0x080E0000
#define PERSISTENT_SIZE sizeof(persistent_config_container_s)
/**
* https://sourceforge.net/p/rusefi/tickets/335/
*
* Address of second cofig copy, rounded to 4K. 4K is the page size is it?
* Address of second config copy, rounded to 4K. 4K is the page size is it?
*
*/
#define FLASH_ADDR_SECOND_COPY (FLASH_ADDR + ((PERSISTENT_SIZE + 4095) & 0xFFFFF000))