Merge branch 'main' of github.com:tbarnes98/CE2812-Workspace

This commit is contained in:
2022-02-03 18:11:43 -06:00
8 changed files with 231 additions and 237 deletions

View File

@@ -1,7 +1,7 @@
/**
* @file memory.c
* @author Trevor Barnes
* @brief
* @brief Contains functionality for memory manipulation through the console
* @version 0.1
* @date 2022-01-19
*
@@ -13,13 +13,6 @@
#include <inttypes.h>
#include "memory.h"
#define F_CPU 16000000UL
void initMemConsole() {
init_usart2(57600, F_CPU);
printf("Memory Console Initialized! Type 'help' for info.\n\r");
}
void readMem(uint32_t addr) {
// Assign and casts a new int pointer the value of addr
uint32_t * memPtr = (uint32_t *)addr;