linux関連/nbc_nxc/環境構築
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
#navi(linux関連);
*user@ubuntu-vm:~/nxc$ ./nbc -help [#ae113cf6]
Next Byte Codes Compiler version 1.0.1.b35 (1.0.1.35, bu...
Copyright (c) 2006, John Hansen
Syntax: nbc [options] filename [options]
-S=<portname>: specify port name (COMn or usb), resour...
-BT: use bluetooth (ブルートゥースを使用してください。)
-d: download program (ダウンロードプログラム)
-b: treat input file as a binary file (don't compile i...
-q: quiet
-n: prevent the system file from being included
-D=<sym>[=<value>]: define macro <sym>
-x: decompile program
-Z[1|2]: turn on compiler optimizations
-O=<outfile> : specify output file(出力ファイルを指定)
-E=<filename> : write compiler errors to <filename>
-I=<path>: search <path> for include files
-nbc=<filename> : save NXC intermediate NBC code to <f...
-L=<filename> : generate code listing to <filename>
-Y=<filename> : generate symbol table to <filename>
-w[-|+] : warnings off or on [default is off]
-EF : enhanced firmware
-safecall: NXC will wrap all function calls in Acquire...
-api: dump the API to stdout
-help : display command line options
** http://bricxcc.sourceforge.net/ [#q8ceec6f]
*** 45-legonxt.rules [#dbf76556]
SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=...
SYSFS{idProduct}=="0002", SYMLINK+="legonxt-%k", GROUP="...
** legonxt.sh [#r30090df]
#!/bin/bash
# file name : legonxt.sh
#
GROUP=legonxt
if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
chmod o-rwx "${DEVICE}"
chgrp "${GROUP}" "${DEVICE}"
chmod g+rw "${DEVICE}"
fi
** ./nxc.sh [#yb267417]
sudo addgroup legonxt
sudo adduser user legonxt
sudo cp 45-legonxt.rules /etc/udev/rules.d
sudo cp legonxt.sh /etc/udev
sudo chmod a+x /etc/udev/legonxt.sh
sudo ls /dev/ | grep legonxt
nbc -d -S=usb program.nxc
終了行:
#navi(linux関連);
*user@ubuntu-vm:~/nxc$ ./nbc -help [#ae113cf6]
Next Byte Codes Compiler version 1.0.1.b35 (1.0.1.35, bu...
Copyright (c) 2006, John Hansen
Syntax: nbc [options] filename [options]
-S=<portname>: specify port name (COMn or usb), resour...
-BT: use bluetooth (ブルートゥースを使用してください。)
-d: download program (ダウンロードプログラム)
-b: treat input file as a binary file (don't compile i...
-q: quiet
-n: prevent the system file from being included
-D=<sym>[=<value>]: define macro <sym>
-x: decompile program
-Z[1|2]: turn on compiler optimizations
-O=<outfile> : specify output file(出力ファイルを指定)
-E=<filename> : write compiler errors to <filename>
-I=<path>: search <path> for include files
-nbc=<filename> : save NXC intermediate NBC code to <f...
-L=<filename> : generate code listing to <filename>
-Y=<filename> : generate symbol table to <filename>
-w[-|+] : warnings off or on [default is off]
-EF : enhanced firmware
-safecall: NXC will wrap all function calls in Acquire...
-api: dump the API to stdout
-help : display command line options
** http://bricxcc.sourceforge.net/ [#q8ceec6f]
*** 45-legonxt.rules [#dbf76556]
SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=...
SYSFS{idProduct}=="0002", SYMLINK+="legonxt-%k", GROUP="...
** legonxt.sh [#r30090df]
#!/bin/bash
# file name : legonxt.sh
#
GROUP=legonxt
if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
chmod o-rwx "${DEVICE}"
chgrp "${GROUP}" "${DEVICE}"
chmod g+rw "${DEVICE}"
fi
** ./nxc.sh [#yb267417]
sudo addgroup legonxt
sudo adduser user legonxt
sudo cp 45-legonxt.rules /etc/udev/rules.d
sudo cp legonxt.sh /etc/udev
sudo chmod a+x /etc/udev/legonxt.sh
sudo ls /dev/ | grep legonxt
nbc -d -S=usb program.nxc
ページ名: