Skip to content

Commit bd13bd5

Browse files
juickarerwango
authored andcommitted
stm32cube: stm32mp13x: remove the legacy macro
Remove legacy macro PAGESIZE which conflicts with POSIX. Signed-off-by: Julien Racki <[email protected]>
1 parent 2ba4623 commit bd13bd5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

stm32cube/stm32mp13xx/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,8 @@ Patch List:
4343
*Provision to enable hal & ll asserts added
4444
-Modified stm32cube/stm32mp13xx/drivers/include/stm32_assert_templates.h
4545

46+
*Fix to remove PAGESIZE definition which conflicts with POSIX
47+
Impacted files:
48+
drivers/include/Legacy/stm32_hal_legacy.h
49+
4650
See release_note.html from STM32Cube

stm32cube/stm32mp13xx/drivers/include/Legacy/stm32_hal_legacy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ extern "C" {
472472
#define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE
473473
#define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD
474474
#define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD
475-
#define PAGESIZE FLASH_PAGE_SIZE
475+
/* #define PAGESIZE FLASH_PAGE_SIZE */
476476
#define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE
477477
#define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD
478478
#define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD

0 commit comments

Comments
 (0)