Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: [BearlyML'24] Add DMA and quantized transformer drivers #1

Merged
merged 5 commits into from
Feb 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove volatile for structure
  • Loading branch information
Jasmine Angle authored Dec 5, 2024
commit db807f62e193d2a2a03220d37262579d383169c7
8 changes: 4 additions & 4 deletions platform/bearly24/inc/hal_dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ extern "C" {
#include "metal.h"
#include "ll_dma.h"

#define DMA0 ((volatile DMA_Type*) 0x8800000)
#define DMA1 ((volatile DMA_Type*) 0x8802000)
#define DMA2 ((volatile DMA_Type*) 0x8804000)
#define DMA3 ((volatile DMA_Type*) 0x8808000)
#define DMA0 ((DMA_Type*) 0x8800000)
#define DMA1 ((DMA_Type*) 0x8802000)
#define DMA2 ((DMA_Type*) 0x8804000)
#define DMA3 ((DMA_Type*) 0x8808000)

typedef enum {
MODE_COPY = 0x0,
Expand Down