build: fix USB-JTAG API, PRI macros, linker symbols for ESP-IDF 5.5
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef CITS_HARDWARE_INIT_H
|
||||
#define CITS_HARDWARE_INIT_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "esp_err.h"
|
||||
#include "esp_wifi.h"
|
||||
|
||||
/* ---------- Public API aus block1_hardware_init.c ---------- */
|
||||
esp_err_t initialize_wifi(void);
|
||||
esp_err_t start_promiscuous_mode(uint32_t channel_mhz);
|
||||
void stop_promiscuous_mode(void);
|
||||
esp_err_t init_nvs_flash(void);
|
||||
void init_led(void);
|
||||
void register_cits_commands(void);
|
||||
|
||||
/* ---------- Helper ---------- */
|
||||
esp_err_t set_cits_channel(uint32_t freq_mhz);
|
||||
|
||||
/* ---------- Externe Callback für block4 ---------- */
|
||||
void sniffer_on_raw_packet(void *buf, wifi_promiscuous_pkt_type_t type);
|
||||
|
||||
/* ---------- Konstanten ---------- */
|
||||
#define CITS_CHANNEL_0_MHZ 5900
|
||||
#define CITS_CHANNEL_1_MHZ 5890
|
||||
#define CITS_CHANNEL_2_MHZ 5880
|
||||
#define CITS_CHANNEL_3_MHZ 5870
|
||||
|
||||
#endif /* CITS_HARDWARE_INIT_H */
|
||||
Reference in New Issue
Block a user