configuration files reorganized

sr9wxz_new_configuration_for_ZZ06
Mateusz Lubecki 2022-04-20 22:53:10 +02:00
rodzic 4896c6255e
commit dcd064ad74
22 zmienionych plików z 1059 dodań i 5 usunięć

Wyświetl plik

@ -1,6 +1,8 @@
#ifndef MAIN_H_
#define MAIN_H_
#include "station_config_target_hw.h"
#include "aprs/ax25.h"
#include "drivers/serial.h"
#include "config_data.h"

Wyświetl plik

@ -11,13 +11,19 @@
//#define PARATNC_HWREV_A
//#define PARATNC_HWREV_B
//#define PARATNC_HWREV_C
#ifndef PARAMETEO
#define PARAMETEO
#endif
#ifdef PARAMETEO
// those defines and an undef are only required for shitty Eclipse indexer to see anything from STM32L471xx target
#define STM32L471xx
#define USE_FULL_LL_DRIVER
// // those defines and an undef are only required for shitty Eclipse indexer to see anything from STM32L471xx target
#undef STM32F10X_MD_VL
#ifndef STM32L471xx
#define STM32L471xx
#endif
#ifndef USE_FULL_LL_DRIVER
#define USE_FULL_LL_DRIVER
#endif
#endif
#endif /* STATION_CONFIG_TARGET_HW_H_ */

Plik diff jest za duży Load Diff

Wyświetl plik

@ -1,4 +1,4 @@
#include "station_config_target_hw.h"
#include "main.h"
#ifdef STM32F10X_MD_VL
#include <stm32f10x_rcc.h>
@ -31,7 +31,6 @@
#include <stdlib.h>
#include <string.h>
#include "main.h"
#include "packet_tx_handler.h"
#include "station_config.h"

Wyświetl plik

@ -7,6 +7,8 @@
#include "rte_main.h"
#include "station_config_target_hw.h"
uint8_t rte_main_reboot_req = 0;
uint8_t rte_main_boot_cycles = 0, rte_main_hard_faults = 0;