summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-10-29 11:27:25 +0700
committerhathach <[email protected]>2013-10-29 11:27:25 +0700
commit357813f1714168746cf20b91ea6e11502003e5c5 (patch)
treef75a09417f24535efe727765e59e40153b7e37bc /demos
parentd9250260896e556c4707df5e9afccbd9dcc16d08 (diff)
implementing sw device stack
Diffstat (limited to 'demos')
-rw-r--r--demos/device/keyboard/main.c9
-rw-r--r--demos/device/keyboard/tusb_config.h2
-rw-r--r--demos/host/host_os_none/.cproject8
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>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&#13;
&lt;TargetConfig&gt;&#13;
&lt;Properties property_0="" property_2="LPC18x7_43x7_2x512_BootA.cfx" property_3="NXP" property_4="LPC4357" property_count="5" version="60000"/&gt;&#13;
-&lt;infoList vendor="NXP"&gt;&#13;
-&lt;info chip="LPC4357" flash_driver="LPC18x7_43x7_2x512_BootA.cfx" match_id="0x0" name="LPC4357" resetscript="LPC18LPC43InternalFLASHBootResetscript.scp" stub="crt_emu_lpc18_43_nxp"&gt;&#13;
-&lt;chip&gt;&#13;
-&lt;name&gt;LPC4357&lt;/name&gt;&#13;
+&lt;infoList vendor="NXP"&gt;&lt;info chip="LPC4357" flash_driver="LPC18x7_43x7_2x512_BootA.cfx" match_id="0x0" name="LPC4357" resetscript="LPC18LPC43InternalFLASHBootResetscript.scp" stub="crt_emu_lpc18_43_nxp"&gt;&lt;chip&gt;&lt;name&gt;LPC4357&lt;/name&gt;&#13;
&lt;family&gt;LPC43xx&lt;/family&gt;&#13;
&lt;vendor&gt;NXP (formerly Philips)&lt;/vendor&gt;&#13;
&lt;reset board="None" core="Real" sys="Real"/&gt;&#13;
@@ -540,8 +537,7 @@
&lt;peripheralInstance derived_from="SPI" determined="infoFile" id="SPI" location="0x40100000"/&gt;&#13;
&lt;peripheralInstance derived_from="SGPIO" determined="infoFile" id="SGPIO" location="0x40101000"/&gt;&#13;
&lt;/chip&gt;&#13;
-&lt;processor&gt;&#13;
-&lt;name gcc_name="cortex-m4"&gt;Cortex-M4&lt;/name&gt;&#13;
+&lt;processor&gt;&lt;name gcc_name="cortex-m4"&gt;Cortex-M4&lt;/name&gt;&#13;
&lt;family&gt;Cortex-M&lt;/family&gt;&#13;
&lt;/processor&gt;&#13;
&lt;link href="nxp_lpc43xx_peripheral.xme" show="embed" type="simple"/&gt;&#13;