Rename the toplevel include directory to shared. Add it to the project workspace. Include led_driver.h from main.c
This commit is contained in:
@@ -223,7 +223,7 @@
|
||||
<listOptionValue builtIn="false" value="../../../../lib/KSDK_2.0_FRDM-K22F/CMSIS/Include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../lib/KSDK_2.0_FRDM-K22F/devices/MK22F51212/drivers"/>
|
||||
<listOptionValue builtIn="false" value="../../../../lib/KSDK_2.0_FRDM-K22F/devices/MK22F51212"/>
|
||||
<listOptionValue builtIn="false" value="../../../../include"/>
|
||||
<listOptionValue builtIn="false" value="../../../../shared"/>
|
||||
</option>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.997197032" name="Language standard" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std" useByScannerDiscovery="true" value="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.std.gnu99" valueType="enumerated"/>
|
||||
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs.9752018572" name="Defined symbols (-D)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.defs" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||
|
||||
@@ -40,6 +40,11 @@
|
||||
<type>2</type>
|
||||
<locationURI>virtual:/virtual</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>shared</name>
|
||||
<type>2</type>
|
||||
<locationURI>PARENT-3-PROJECT_LOC/shared</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>src</name>
|
||||
<type>2</type>
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
#include "include/board/board.h"
|
||||
#include "include/board/pin_mux.h"
|
||||
#include "usb_composite_device.h"
|
||||
#include "i2c.h"
|
||||
#include "fsl_common.h"
|
||||
#include "fsl_port.h"
|
||||
#include "i2c.h"
|
||||
#include "led_driver.h"
|
||||
|
||||
void main() {
|
||||
BOARD_InitPins();
|
||||
|
||||
Reference in New Issue
Block a user