Skip to content

Funny Monkey Coding (FMC) Time#131

Merged
DannyCato merged 59 commits into
mainfrom
feature/ChongOscar/fmc-support
May 29, 2026
Merged

Funny Monkey Coding (FMC) Time#131
DannyCato merged 59 commits into
mainfrom
feature/ChongOscar/fmc-support

Conversation

@ChongOscar

Copy link
Copy Markdown
Contributor

FMC support

Added support for configuring and reading SDRAM through a Flexible Memory Controller (FMC)

Change list:

  • FMC: is an abstract class containing only the base address for future chip support
  • FMCf4xx: defines a FMC implementation for F4 boards

@ActuallyTaylor ActuallyTaylor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have quite a few comments, my main note is that the PR needs to use more EVT-Core abstractions. There is a re-implementation of GPIO handling, which is already covered by our GPIO class. If it is not completely covered, the GPIO class should be subclassed and adapted.

Comment thread include/core/io/platform/f4xx/FMCf4xx.hpp Outdated
Comment thread include/core/io/platform/f4xx/FMCf4xx.hpp Outdated
Comment thread include/core/io/platform/f4xx/FMCf4xx.hpp Outdated
Comment thread src/core/io/platform/f4xx/FMCf4xx.cpp Outdated
Comment thread src/core/io/platform/f4xx/FMCf4xx.cpp Outdated
Comment thread src/core/io/FMC.cpp Outdated
Comment thread include/core/io/platform/f4xx/FMCf4xx.hpp Outdated
Comment thread src/core/io/FMC.cpp Outdated
Comment thread include/core/io/platform/f4xx/FMCf4xx.hpp Outdated
Comment thread include/core/io/platform/f4xx/FMCf4xx.hpp Outdated
Comment thread include/core/io/platform/f4xx/FMCf4xx.hpp Outdated
Comment thread include/core/io/platform/f4xx/FMCf4xx.hpp Outdated
Comment thread include/core/io/platform/f4xx/FMCf4xx.hpp Outdated
Comment thread include/core/io/platform/f4xx/FMCf4xx.hpp Outdated
Comment thread include/core/io/FMC.hpp Outdated
Comment thread include/core/io/FMC.hpp Outdated
Comment thread include/core/io/FMC.hpp Outdated
oc6723 and others added 11 commits March 5, 2026 00:11
… the base class and finally figured out how GPIO works
…into feature/ChongOscar/fmc-support

# Conflicts:
#	include/core/io/FMC.hpp
#	include/core/io/platform/f4xx/FMCf4xx.hpp
#	src/core/io/platform/f4xx/FMCf4xx.cpp
…into feature/ChongOscar/fmc-support

# Conflicts:
#	include/core/io/FMC.hpp
#	include/core/io/platform/f4xx/FMCf4xx.hpp
#	src/core/io/FMC.cpp
#	src/core/io/platform/f4xx/FMCf4xx.cpp
@DannyCato

Copy link
Copy Markdown
Contributor

I'm merging this into the HUDL project's evt-core now to do debugging and revamp it with the rest of the system

Comment thread src/core/io/platform/f4xx/SDRAMf4xx.cpp

@aclowmclaughlin aclowmclaughlin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some really minor commenting things. Once they are resolved, this looks good to go.

Comment thread include/core/io/platform/f4xx/SDRAMf4xx.hpp
Comment thread include/core/io/SDRAM.hpp
Comment thread include/core/io/SDRAM.hpp Outdated
Comment thread include/core/io/SDRAM.hpp
Comment thread include/core/io/SDRAM.hpp
Comment thread include/core/io/SDRAM.hpp Outdated
Comment thread include/core/manager.hpp Outdated
Comment thread src/core/io/SDRAM.cpp Outdated

@aclowmclaughlin aclowmclaughlin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome. Approved.

@DannyCato DannyCato merged commit 0a72368 into main May 29, 2026
2 checks passed
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.

5 participants