Repository navigation
Add Altera Agilex 5 SoC FPGA port for SDMMC and USB MSC - #88
Open
AmnaxEhtsham wants to merge 6 commits into
Open
AmnaxEhtsham wants to merge 6 commits into
AmnaxEhtsham wants to merge 6 commits into
Conversation
Signed-off-by: souravr <sourav.raj@ignitarium.com>
Signed-off-by: souravr <sourav.raj@ignitarium.com>
Signed-off-by: souravr <sourav.raj@ignitarium.com>
Minor updates to the file headers Signed-off-by: Abdul Jaleel <abdul.jaleel@ignitarium.com>
Signed-off-by: souravr <sourav.raj@ignitarium.com>
htibosch
reviewed
Oct 6, 2026
htibosch
left a comment
Contributor
There was a problem hiding this comment.
Congratulations! And thank you for your big contribution.
I have reviewed it roughly. All part specific code and header files go into directory:
/portable/SOCFPGA
I have also looked at a USB interface. You let it depend on the block address, good idea.
Earlier, I have worked on this project:
\FreeRTOS-Plus-FAT\portable\Cyclone_V_Soc\alt_sdmmc.c
\FreeRTOS-Plus-FAT\portable\Cyclone_V_Soc\alt_sdmmc.h
\FreeRTOS-Plus-FAT\portable\Cyclone_V_Soc\ff_sddisk.c
\FreeRTOS-Plus-FAT\portable\Cyclone_V_Soc\main_fstest.c
but it never got on the rails.
| { | ||
| /* _HT_ : FF_CountFreeClusters was a little too busy, have it call the WDT and sleep */ | ||
| clearWDT(); | ||
|
|
Contributor
There was a problem hiding this comment.
Haha, my initials: HT
I used to enable a WDT.
| ( FF_getLong( pxBuffer->pucBuffer, 484 ) == 0x61417272 ) ) | ||
| if( ( FF_getLong( pxBuffer->pucBuffer, 0 ) == FS_INFO_SIGNATURE1_0x41615252 ) && | ||
| ( FF_getLong( pxBuffer->pucBuffer, 484 ) == FS_INFO_SIGNATURE2_0x61417272 ) ) | ||
| { |
Contributor
There was a problem hiding this comment.
Turning a number into a macro, very good!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds FreeRTOS+FAT support for Altera Agilex 5 SoC FPGA platforms.
Changes
portable/SOCFPGAport.Device selection
-1selects SDMMC.0and above select USB MSC.Original commits
41d64e2Add support for Altera Agilex5 SoC FPGAd0a9230Add portable layer for Agilex 5e7af08dUpdate SOCFPGA directory name4910613Fix SOCFPGA file headers38f6478Includemsc_app.cin the FATFS CMake targetTesting