diff options
| author | hathach <[email protected]> | 2013-10-29 11:27:25 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-10-29 11:27:25 +0700 |
| commit | 357813f1714168746cf20b91ea6e11502003e5c5 (patch) | |
| tree | f75a09417f24535efe727765e59e40153b7e37bc /demos | |
| parent | d9250260896e556c4707df5e9afccbd9dcc16d08 (diff) | |
implementing sw device stack
Diffstat (limited to 'demos')
| -rw-r--r-- | demos/device/keyboard/main.c | 9 | ||||
| -rw-r--r-- | demos/device/keyboard/tusb_config.h | 2 | ||||
| -rw-r--r-- | demos/host/host_os_none/.cproject | 8 |
3 files changed, 3 insertions, 16 deletions
diff --git a/demos/device/keyboard/main.c b/demos/device/keyboard/main.c index 6fa31e294..f15b80255 100644 --- a/demos/device/keyboard/main.c +++ b/demos/device/keyboard/main.c @@ -5,15 +5,6 @@ #include "boards/board.h" #include "tusb.h" -#if defined(__CODE_RED) - #include <cr_section_macros.h> - #include <NXP/crp.h> - // Variable to store CRP value in. Will be placed automatically - // by the linker when "Enable Code Read Protect" selected. - // See crp.h header for more information - __CRP const unsigned int CRP_WORD = CRP_NO_CRP ; -#endif - void print_greeting(void); void led_blinking_task(void * p_para); diff --git a/demos/device/keyboard/tusb_config.h b/demos/device/keyboard/tusb_config.h index 64f95585f..7569680d8 100644 --- a/demos/device/keyboard/tusb_config.h +++ b/demos/device/keyboard/tusb_config.h @@ -81,7 +81,7 @@ //--------------------------------------------------------------------+
// DEVICE CONFIGURATION
//--------------------------------------------------------------------+
-#define TUSB_CFG_DEVICE_USE_ROM_DRIVER 1
+#define TUSB_CFG_DEVICE_USE_ROM_DRIVER 0
//------------- descriptors -------------//
#define TUSB_CFG_DEVICE_STRING_MANUFACTURER "tinyusb.org"
diff --git a/demos/host/host_os_none/.cproject b/demos/host/host_os_none/.cproject index fc97d29c1..487101415 100644 --- a/demos/host/host_os_none/.cproject +++ b/demos/host/host_os_none/.cproject @@ -462,10 +462,7 @@ <projectStorage><?xml version="1.0" encoding="UTF-8"?>
<TargetConfig>
<Properties property_0="" property_2="LPC18x7_43x7_2x512_BootA.cfx" property_3="NXP" property_4="LPC4357" property_count="5" version="60000"/>
-<infoList vendor="NXP">
-<info chip="LPC4357" flash_driver="LPC18x7_43x7_2x512_BootA.cfx" match_id="0x0" name="LPC4357" resetscript="LPC18LPC43InternalFLASHBootResetscript.scp" stub="crt_emu_lpc18_43_nxp">
-<chip>
-<name>LPC4357</name>
+<infoList vendor="NXP"><info chip="LPC4357" flash_driver="LPC18x7_43x7_2x512_BootA.cfx" match_id="0x0" name="LPC4357" resetscript="LPC18LPC43InternalFLASHBootResetscript.scp" stub="crt_emu_lpc18_43_nxp"><chip><name>LPC4357</name>
<family>LPC43xx</family>
<vendor>NXP (formerly Philips)</vendor>
<reset board="None" core="Real" sys="Real"/>
@@ -540,8 +537,7 @@ <peripheralInstance derived_from="SPI" determined="infoFile" id="SPI" location="0x40100000"/>
<peripheralInstance derived_from="SGPIO" determined="infoFile" id="SGPIO" location="0x40101000"/>
</chip>
-<processor>
-<name gcc_name="cortex-m4">Cortex-M4</name>
+<processor><name gcc_name="cortex-m4">Cortex-M4</name>
<family>Cortex-M</family>
</processor>
<link href="nxp_lpc43xx_peripheral.xme" show="embed" type="simple"/>
|
