Skip to content

Commit

Permalink
sn32: boards: config.h: prefer EARLY_INIT_PERFORM_BOOTLOADER_JUMP
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter93 committed Sep 11, 2024
1 parent 42f324d commit ef57811
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 14 deletions.
10 changes: 7 additions & 3 deletions platforms/chibios/boards/SN_SN32F240/configs/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
*/
#pragma once

# ifndef WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT
# define WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT 1
# endif
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#endif

#ifndef WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT
# define WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT 1
#endif
10 changes: 7 additions & 3 deletions platforms/chibios/boards/SN_SN32F240B/configs/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
*/
#pragma once

# ifndef WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT
# define WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT 1
# endif
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#endif

#ifndef WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT
# define WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT 1
#endif
10 changes: 7 additions & 3 deletions platforms/chibios/boards/SN_SN32F240B_PWM/configs/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
*/
#pragma once

# ifndef WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT
# define WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT 1
# endif
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#endif

#ifndef WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT
# define WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT 1
#endif
14 changes: 9 additions & 5 deletions platforms/chibios/boards/SN_SN32F260/configs/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@

#pragma once

#define RAW_IN_CAPACITY 1
#define RAW_OUT_CAPACITY 1
#define RAW_IN_CAPACITY 1
#define RAW_OUT_CAPACITY 1

# ifndef WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT
# define WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT 1
# endif
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#endif

#ifndef WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT
# define WEAR_LEVELING_EFL_OMIT_LAST_SECTOR_COUNT 1
#endif

0 comments on commit ef57811

Please sign in to comment.