Skip to content

Conversation

CloudySky0
Copy link

feat(octospi):

  • Integrated OCTOSPI interface with support for conditional compilation

feat(is25):

  • added support for IS25.
  • added register definitions.

fix(is25):

  • removed the SPIF_COMPAT enum definition in header file

fix():

  • corrected ifdef to if in various places

CloudySky0 added 17 commits May 1, 2025 14:30
+ Added stutus registers for IS25
+ Added Fn registers
+ Added Read Reg definitions
+ Added Extended Read Reg definitions
+ Added Autoboot Reg definitions
+ Added Bank Reg definitions
+ Added ASPR Reg definitions
+ Added PPB Lock Reg definitions
+ Changed SPIF_WriteReg1 to work for IS25
Added Conditional Compilation in SPIF_WaitForWriting to handle both WS25 and IS25
- Split the SPI and OCTOSPI interfaces into separate files
- Split the compatibility layer for IS25xx and W25xx into separate files
- added spif_util.h to hold common structs and enums.
- ported the register defintions to source files to prevent conflicts.
- changed the functions in spif_compat_is25xx and spif_compat_w25xx to use correct registers.
- Corrected spif_util.c and spif_util.h to hold common functions.
- Added the init function for SPIF.
- Added SPIF_EmulatedPhases struct to SPIF_HandleTypeDef.
- Changed the functions in compat files to use emulated phases.
- Changed the functions of OctoSPI to use phases properly.
 - Moved interface function definitions to spif_util.h
 - Moved debug from spif.h to spif_util.h
- put all the private definitions and functions into spif_internal
- put all the common definitions and functions into spif_common
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant