Skip to content

Commit

Permalink
stm32cube: stm32u0xx: drivers: include:Legacy: remove pagesize variable
Browse files Browse the repository at this point in the history
Need to be commented to successfully compile posix tests

Signed-off-by: Fabrice DJIATSA <[email protected]>
  • Loading branch information
djiatsaf-st committed Aug 2, 2024
1 parent 4325553 commit 906fc8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions stm32cube/stm32u0xx/README
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ Patch List:
-Added stm32cube/stm32u0xx/drivers/include/stm32_assert.h
-Removed unused stm32cube/stm32u0xx/drivers/include/stm32_assert_template.h

*Fix to remove PAGESIZE definition which conflicts with POSIX
Impacted files:
stm32cube/stm32u0xx/drivers/include/Legacy/stm32_hal_legacy.h

Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ extern "C" {
#define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE
#define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD
#define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD
#define PAGESIZE FLASH_PAGE_SIZE
/* #define PAGESIZE FLASH_PAGE_SIZE */
#define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE
#define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD
#define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD
Expand Down

0 comments on commit 906fc8e

Please sign in to comment.