Frank Kjul Larsen

Frank Kjul Larsen
11 ポイント. 0 回答 3 質問 0 フォロワー 0 フォロー
Male GNU tools user for H8SX1648 and RX111, RX71M under Windows and Linux 64 bit for several small targets with no OS (bare metal, super loop systems). Using makefile for build.

統計

  • 0 answers, 0 selected
  • 3 questions, 0 solved
  • 4 年, 6 日 のメンバー
  • 7261 プロフィール閲覧
  • Last seen 8月 3, 2020

ポイント

Total 11
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+1
12月 13, 2019 Commented Hello GNU tools I have now had the opportunity to test your new toolchain on one of my RX111 targets, and I want to share my impressions with other users. My tests have been using the Windows version and not the one refreshed today. My first impressions is that the binary it produces is denser, faster and contains less errors. My code compiled and executed first time with no modification from the earlier RX 1902_sp1 version. I only changed the path to the new toolchain 6 warnings was issued during compile. I use the following compiler options: # Common options OPTIONS := -DRX111 OPTIONS += -mcpu=rx100 OPTIONS += -nofpu OPTIONS += -mlittle-endian-data # Select little endian operation OPTIONS += -D__RX_LITTLE_ENDIAN__=1 OPTIONS += -std=c11 OPTIONS += -nostartfiles OPTIONS += -Wall OPTIONS += -Wextra OPTIONS += -Wl,--warn-common OPTIONS += -ffunction-sections OPTIONS += -fdata-sections OPTIONS += -Wl,--gc-sections OPTIONS += -DROMSTART OPTIONS += -loptc OPTIONS += -loptm # Optimisation OPTIONS += -O3 # Debug info in file (not with list files) OPTIONS += -g2 The parser found more errors in my code - shown as warnings: - a logical AND that should have been a bitwise AND - an if statement that lacked the {} block. - an snprintf that truncated number to be converted to a string by accident. - a intentionally fall through in a switch. That was not an error. and more. Who needs tools for static code analysis any more? These errors was not found by a very expensive SW analysis tool. The code is even more compact as it was before:-) The code is faster. I used to have a loop time of 500 us and that is now 394 us:-) This new toolchain is certainly worth trying. I think you have done a great job. Thank you so much GNU tools. Best regards Frank Kjul Larsen
+2

投票数

0 投票獲得 0/100 0up 0down
1 票獲得 100/100 1up 0down

Top 回答

回答がまだありません
サポート