<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPCXpresso IDEのトピックUser defined hot keys in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/User-defined-hot-keys-in-LPCXpresso-IDE/m-p/571759#M20752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SashaBe on Tue Mar 22 12:58:02 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is some trouble with LPCXpresso IDE in Kubuntu linux.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to use shell script to upload my firmware.bin to target controller (LPC1343) via USB. So, I want to start that script by hotkey, for example, Ctrl+U, from IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to customize hot keys in IDE?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I add custom hotkey, which will execute shell script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Version: LPCXPresso 3.8.1 [Build 117] [05/01/2011]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: Sorry for my English :rolleyes:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:30:21 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:30:21Z</dc:date>
    <item>
      <title>User defined hot keys in LPCXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/User-defined-hot-keys-in-LPCXpresso-IDE/m-p/571759#M20752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SashaBe on Tue Mar 22 12:58:02 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is some trouble with LPCXpresso IDE in Kubuntu linux.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to use shell script to upload my firmware.bin to target controller (LPC1343) via USB. So, I want to start that script by hotkey, for example, Ctrl+U, from IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to customize hot keys in IDE?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I add custom hotkey, which will execute shell script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Version: LPCXPresso 3.8.1 [Build 117] [05/01/2011]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: Sorry for my English :rolleyes:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/User-defined-hot-keys-in-LPCXpresso-IDE/m-p/571759#M20752</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: User defined hot keys in LPCXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/User-defined-hot-keys-in-LPCXpresso-IDE/m-p/571760#M20753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Mar 23 00:52:51 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There are really two questions here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. How do I add/change hotkeys?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Windows-&amp;gt;Preferences&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Open General and then Keys&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This give you complete control (within the limitation of the OS) over the key mappings&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. How do I run an external command from within LPCXpresso?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Run-&amp;gt;External Tools-&amp;gt;External Tools Configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- click on Program and then the Add button (top left hand corner)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Give it a name, enter the details and OK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- To run, Run-&amp;gt;External Tools-&amp;gt;(your name)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can then apply a key mapping&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:30:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/User-defined-hot-keys-in-LPCXpresso-IDE/m-p/571760#M20753</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: User defined hot keys in LPCXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/User-defined-hot-keys-in-LPCXpresso-IDE/m-p/571761#M20754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SashaBe on Thu Mar 24 10:51:09 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Point 2 is almost successfully. There are additional question about first one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I've set hot keys(Ctrl-U) for "External Tools..." So question is how can I add hot keys for each item in External Tools. There is only "External Tools..." in the list of "Commands".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But some other commands in the list have sub entries. For example,&amp;nbsp; "C/C++ Content Assist" has 6 cases with different "(type: ..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Other question is not about LPCXpresso itself, but about Linux sudo management. Could you please explain how to allow LPCXpresso to execute shell script with super user privileges.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have script file "binupload"&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;sudo mdel -i /dev/sdb ::/firmware.bin&lt;BR /&gt;sudo mcopy -i /dev/sdb ./firmware.bin ::/&lt;BR /&gt;sudo umount /dev/sdb&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've chose it Location with "Browse workspace" in Run-&amp;gt;External Tools-&amp;gt;External Tools Configuration. But when I try to run it, terminal view printed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;sudo: no tty present and no askpass program specified&lt;BR /&gt;sudo: no tty present and no askpass program specified&lt;BR /&gt;sudo: no tty present and no askpass program specified&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sasha.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:30:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/User-defined-hot-keys-in-LPCXpresso-IDE/m-p/571761#M20754</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:30:23Z</dc:date>
    </item>
  </channel>
</rss>

