TOPPERS/ASP3 の Raspberry Pi pico 簡易パッケージ版 configurator.rb の使い方
1. configurator.rbの場所
1 |
asp3/configurator.rb |
2. configurator.rbのオプション
2.1. ターゲット名
1 |
-T <target> |
- dummy_gcc
- raspberrypi_pico_gcc
TOPPERS/ASP3 の Raspberry Pi pico 簡易パッケージ版 configurator.rb の使い方
1 |
asp3/configurator.rb |
1 |
-T <target> |
数量として意味のないカテゴリを数値に直したデータ
数量として意味のあるデータ
Ubuntu 17.10 以降 (18.04 LTS以降)
/etc/netplan/50-cloud-init.yaml
: 自動生成ファイル。ユーザによる編集は非推奨。/etc/netplan/99_config.yaml
: Ubuntu公式ドキュメント例示ファイル名
1 |
$ python3 -m http.server <port no> |
1 |
$ python3 -m http.server 8080 |
1 |
http://192.168.0.128:<port no> |
1 |
http://192.168.0.128:8080 |
Windows Control Panel Item (コントロールパネル項目)
コントロールパネルの項目に紐づいたファイル
『コマンドプロンプト』や『ファイル名を指定して実行』から実行するとコントロールパネル階層下のウインドウが開く
*.cplファイルの配置位置 : C:\Windows\system32
キーボードからコロン : を押下しても "E20: Mark not set" が表示されてコマンドが入力できない。:q
で終了させることもできない 。
キーボードの言語設定の不一致。(JISキーボード配列とUSキーボード配列の違い)
Shift + ; (セミコロン) で : (コロン)を入力する。
0x55, 0x46, 0x32, 0x0A
)
1 2 3 4 5 6 |
> cd E:\USO_800 > git status fatal: unsafe repository ('E:/USO_800' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory E:/USO_800 |
1 |
'git status' がコード 128 で終了しました: fatal unsafe repository ('//wsl$/Ubuntu/home/...') |
1 2 3 4 5 |
$ git status fatal: unsafe repository ('/var/www' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /var/www |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
ruby ../asp3/tecsgen/tecsgen.rb ../asp3/sample/sample1.cdl -R -I. -I../asp3/include -I../asp3/target/raspberrypi_pico_gcc -I../asp3/arch/arm_m_gcc/rp2040 -I../asp3/arch/arm_m_gcc/common -I../asp3/arch/gcc -I../asp3 -I../asp3/sample -I./gen -I../asp3/tecs_kernel --cpp "arm-none-eabi-gcc -DUSE_TIM_AS_HRT -DTOPPERS_CORTEX_M0PLUS -D__TARGET_ARCH_THUMB=3 -I. -I../asp3/include -I../asp3/target/raspberrypi_pico_gcc -I../asp3/arch/arm_m_gcc/rp2040 -I../asp3/arch/arm_m_gcc/common -I../asp3/arch/gcc -I../asp3 -I../asp3/sample -I./gen -I../asp3/tecs_kernel -D TECSGEN -E" -g ./gen tecsgen version 1.7.0 Copyright(c) 2008-2019, TOPPERS project. All rights reserved. make[1]: Entering directory '/home/JaneDoe/toppers/build' ruby ../asp3/cfg/cfg.rb --pass 1 --kernel asp -I. -I../asp3/include -I../asp3/target/raspberrypi_pico_gcc -I../asp3/arch/arm_m_gcc/rp2040 -I../asp3/arch/arm_m_gcc/common -I../asp3/arch/gcc -I../asp3 -I../asp3/sample -I./gen -I../asp3/tecs_kernel --api-table ../asp3/kernel/kernel_api.def --symval-table ../asp3/kernel/kernel_sym.def --symval-table ../asp3/arch/arm_m_gcc/common/core_sym_v6m.def \ -M objs/cfg1_out_c.d ../asp3/target/raspberrypi_pico_gcc/target_kernel.cfg ../asp3/sample/sample1.cfg /home/JaneDoe/.rbenv/versions/3.1.2/lib/ruby/3.1.0/csv.rb:1433:in `initialize': no implicit conversion of Hash into String (TypeError) from /home/JaneDoe/.rbenv/versions/3.1.2/lib/ruby/3.1.0/csv.rb:1433:in `open' from /home/JaneDoe/.rbenv/versions/3.1.2/lib/ruby/3.1.0/csv.rb:1433:in `open' from /home/JaneDoe/toppers/asp3/cfg/pass1.rb:180:in `block in ReadSymvalTable' from /home/JaneDoe/toppers/asp3/cfg/pass1.rb:174:in `each' from /home/JaneDoe/toppers/asp3/cfg/pass1.rb:174:in `ReadSymvalTable' from /home/JaneDoe/toppers/asp3/cfg/pass1.rb:909:in `Pass1' from ../asp3/cfg/cfg.rb:712:in `<main>' make[1]: *** [Makefile:358: cfg1_out.timestamp] Error 1 make[1]: Leaving directory '/home/JaneDoe/toppers/build' make: *** [Makefile:224: all] Error 2 |
コンフィギュレータ(ITRONのタスクやメールボックスなどの静的生成)が失敗する。
⇒ make が失敗する。