elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
romprg
/
common
/
commands.h
File editor
#pragma once #include <stdint.h> typedef struct { uint8_t packet_length; uint8_t command_id; uint8_t data[0]; } __attribute__((packed)) CommandHeader; typedef struct { uint32_t read_addr; uint8_t read_len; } __attribute__((packed)) CommandRead; typedef struct { uint32_t start_addr; uint32_t end_addr; } __attribute__((packed)) CommandCRC; typedef struct { uint32_t write_addr; uint8_t data[0]; } __attribute__((packed)) CommandWrite; typedef struct { uint32_t start_addr; uint32_t end_addr; } __attribute__((packed)) CommandEraseSector; #define COMMAND_LIST \ ENTRY(ping) \ ENTRY(identify) \ ENTRY(read) \ ENTRY(crc) \ ENTRY(write) \ ENTRY(erase_sector) \ ENTRY(erase_chip) #define ENTRY(x) CMD_ ## x, typedef enum { COMMAND_LIST CMD_COUNT } Command; #undef ENTRY
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history