Add config.h and move LED_DRIVER_STRESS_TEST and FIXED_BUSPAL_BOOTLOADER to it.

This commit is contained in:
László Monda
2017-08-06 17:28:32 +02:00
parent 48cd8f374a
commit 68e2dab576
4 changed files with 12 additions and 3 deletions

View File

@@ -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
View 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

View File

@@ -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"

View File

@@ -1,3 +1,4 @@
#include "config.h"
#include "slave_drivers/is31fl3731_driver.h"
#include "slave_scheduler.h"
#include "led_display.h"