mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 03:33:08 +00:00
5439e232cc
* API HAL SPI: refactoring, split into layers, prepare ST HAL separation. API HAL SubGhz: initialize on start. Drivers: add basic cc1101 driver. Update API usage. Debug: increase max debugger port speed. Remove subghz apps. * CC1101: chip status handling. ApiHalSpi: increase SubGhz bus speed to 8mhz. F4: backport subghz initialization. * Api Hal SubGhz: rx path and frequency. CC1101: frequency control. * SubGhz Application: basic tests * SubGhz app: tone and packet test. API HAL SUBGHZ: update configs, add missing bits and pieces.
12 lines
246 B
C
12 lines
246 B
C
#include <api-hal.h>
|
|
|
|
void api_hal_init() {
|
|
api_hal_os_init();
|
|
api_hal_vcp_init();
|
|
api_hal_spi_init();
|
|
api_hal_i2c_init();
|
|
api_hal_power_init();
|
|
api_hal_light_init();
|
|
api_hal_vibro_init();
|
|
api_hal_subghz_init();
|
|
}
|