mirror of
https://github.com/pine64/blisp.git
synced 2026-09-18 12:31:31 +00:00
Added initial BL61X and BL808 support, some chip changes
This commit is contained in:
+11
-2
@@ -5,17 +5,26 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
enum blisp_chip_type { BLISP_CHIP_BL60X, BLISP_CHIP_BL70X };
|
||||
enum blisp_chip_type {
|
||||
BLISP_CHIP_BL60X,
|
||||
BLISP_CHIP_BL70X,
|
||||
BLISP_CHIP_BL606P,
|
||||
BLISP_CHIP_BL808,
|
||||
BLISP_CHIP_BL61X,
|
||||
};
|
||||
|
||||
struct blisp_chip { // TODO: Move elsewhere?
|
||||
enum blisp_chip_type type;
|
||||
const char* type_str;
|
||||
bool usb_isp_available;
|
||||
float handshake_byte_multiplier;
|
||||
const char* default_eflash_loader_xtal; // TODO: Make this selectable
|
||||
const char* default_xtal; // TODO: Make this selectable
|
||||
bool needs_eflash_loader;
|
||||
};
|
||||
|
||||
extern struct blisp_chip blisp_chip_bl60x;
|
||||
extern struct blisp_chip blisp_chip_bl70x;
|
||||
extern struct blisp_chip blisp_chip_bl808;
|
||||
extern struct blisp_chip blisp_chip_bl61x;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user