Add initial support for BL60X

This commit is contained in:
Marek Kraus
2022-11-08 22:06:14 +01:00
parent d2f13de709
commit 8c3cc0b017
7 changed files with 56 additions and 17 deletions
+4
View File
@@ -5,6 +5,7 @@
#include <stdbool.h>
enum blisp_chip_type {
BLISP_CHIP_BL60X,
BLISP_CHIP_BL70X
};
@@ -12,8 +13,11 @@ 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
};
extern struct blisp_chip blisp_chip_bl60x;
extern struct blisp_chip blisp_chip_bl70x;
#endif