Jonas Thörnblad d94387a9e7
ch552: Split functionality into separate files
- Move GPIO functions to gpio.c and gpio.h
- Move string handling functions for debug to lib.c and lib.h
- Add config.h and move config defines there
- Add debug print functionality via FPGA with framing protocol
- Add Flash Code and Flash Data functions to flash.c and flash.h
2025-04-07 11:00:11 +02:00

10 lines
186 B
C

#ifndef __FLASH_H__
#define __FLASH_H__
#include <stdint.h>
uint8_t write_code_flash(uint16_t address, uint16_t data);
uint8_t write_data_flash(uint8_t address, uint8_t data);
#endif