Add config.h and move LED_DRIVER_STRESS_TEST and FIXED_BUSPAL_BOOTLOADER to it.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
#define FIXED_BUSPAL_BOOTLOADER (1)
|
||||
/*!< Used to mark the fixed BUSPL bootloader. Macro usage can be removed in the future */
|
||||
|
||||
#include "config.h"
|
||||
#include "command.h"
|
||||
#include "crc16.h"
|
||||
#include "bus_pal_hardware.h"
|
||||
|
||||
9
right/src/config.h
Normal file
9
right/src/config.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef __CONFIG_H__
|
||||
#define __CONFIG_H__
|
||||
|
||||
// Macros:
|
||||
|
||||
// #define LED_DRIVER_STRESS_TEST
|
||||
#define FIXED_BUSPAL_BOOTLOADER 1 // Used to mark the fixed BusPal bootloader. Macro usage can be removed in the future.
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "fsl_common.h"
|
||||
#include "fsl_port.h"
|
||||
#include "config.h"
|
||||
#include "peripherals/test_led.h"
|
||||
#include "peripherals/reset_button.h"
|
||||
#include "i2c.h"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "config.h"
|
||||
#include "slave_drivers/is31fl3731_driver.h"
|
||||
#include "slave_scheduler.h"
|
||||
#include "led_display.h"
|
||||
|
||||
Reference in New Issue
Block a user