FL-353 Cc1101 rx (#255)

* enable transparent mode
* rssi ok, transmit ok, fifo ok
* I see the signal
* successful async rx (registers from smartrf)
* refactor rfstudio register config
* rewrite config, found some issues
* handle G0 interrupts
* g0 irq enable after cc1101 init
* update cube
This commit is contained in:
coreglitch
2020-12-01 21:47:46 +03:00
committed by GitHub
parent 36937f3595
commit f58b322bb5
19 changed files with 939 additions and 1016 deletions

View File

@@ -19,4 +19,8 @@ void hal_gpio_init(
bool hal_gpio_read_sd_detect(void) {
return true;
}
}
void enable_cc1101_irq() {
}

View File

@@ -64,4 +64,6 @@ static inline bool hal_gpio_read(const GpioPin* gpio) {
}
}
bool hal_gpio_read_sd_detect(void);
bool hal_gpio_read_sd_detect(void);
void enable_cc1101_irq();

View File

@@ -30,3 +30,4 @@ const GpioPin led_gpio[3] = {
const GpioPin backlight_gpio = {DISPLAY_BACKLIGHT_GPIO_Port, DISPLAY_BACKLIGHT_Pin};
const GpioPin vibro_gpio = {VIBRO_GPIO_Port, VIBRO_Pin};
const GpioPin ibutton_gpio = {iButton_GPIO_Port, iButton_Pin};
const GpioPin cc1101_g0_gpio = {NULL, 0};

View File

@@ -11,4 +11,5 @@ extern const bool input_invert[GPIO_INPUT_PINS_COUNT];
extern const GpioPin led_gpio[3];
extern const GpioPin backlight_gpio;
extern const GpioPin vibro_gpio;
extern const GpioPin ibutton_gpio;
extern const GpioPin ibutton_gpio;
extern const GpioPin cc1101_g0_gpio;