)]}'
{"configure.ac":[{"author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"change_message_id":"bb8ace219c153693c30aaa04c8c09c0d75389519","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"# The only \"serial port\" adapter at the moment is the Bus Pirate."},{"line_number":147,"context_line":"# OpenOCD does not use any USB library in order to find or use the Bus Pirate,"},{"line_number":148,"context_line":"# it just opens the configured serial port file, which can be something like \"/dev/ttyUSB0\"."},{"line_number":149,"context_line":"m4_define([SERIAL_PORT_ADAPTERS],"},{"line_number":150,"context_line":"\t[[[buspirate], [Bus Pirate], [BUS_PIRATE]]])"},{"line_number":151,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":1,"id":"0ed113e2_f29b8866","line":148,"range":{"start_line":148,"start_character":4,"end_line":148,"end_character":5},"updated":"2020-04-30 14:06:24.000000000","message":"IMHO this comment is unnecessary, only developers read configure.ac anyway.","commit_id":"44cde994df9df834233b925087a626cad7782a53"},{"author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"change_message_id":"bb8ace219c153693c30aaa04c8c09c0d75389519","unresolved":false,"context_lines":[{"line_number":251,"context_line":""},{"line_number":252,"context_line":"AC_ARG_ADAPTERS(["},{"line_number":253,"context_line":"  SERIAL_PORT_ADAPTERS"},{"line_number":254,"context_line":"  ],[no])"},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"AC_ARG_ENABLE([parport],"},{"line_number":257,"context_line":"  AS_HELP_STRING([--enable-parport], [Enable building the pc parallel port driver]),"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"0ed113e2_92a8fc75","line":254,"range":{"start_line":254,"start_character":2,"end_line":254,"end_character":5},"updated":"2020-04-30 14:06:24.000000000","message":"Why not \"auto\" to enable by default?","commit_id":"44cde994df9df834233b925087a626cad7782a53"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"299ea68e4d65dc6b7dcb8371e463a14d70ed119f","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"# The only \"serial port\" adapter at the moment is the Bus Pirate."},{"line_number":156,"context_line":"# OpenOCD does not use any USB library in order to find or use the Bus Pirate,"},{"line_number":157,"context_line":"# it just opens the configured serial port file, which can be something like \"/dev/ttyUSB0\"."},{"line_number":158,"context_line":"m4_define([SERIAL_PORT_ADAPTERS],"},{"line_number":159,"context_line":"\t[[[buspirate], [Bus Pirate], [BUS_PIRATE]]])"},{"line_number":160,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":2,"id":"aedf27f1_328b4e22","line":157,"updated":"2021-04-15 21:25:00.000000000","message":"also for me these comments are not needed here","commit_id":"1e30f40eb7c0e8b2818e2e907b8779d87aefd3f3"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"299ea68e4d65dc6b7dcb8371e463a14d70ed119f","unresolved":false,"context_lines":[{"line_number":268,"context_line":"# that may be added to OpenOCD in the future will probably face the same limitation."},{"line_number":269,"context_line":"AC_ARG_ADAPTERS(["},{"line_number":270,"context_line":"  SERIAL_PORT_ADAPTERS"},{"line_number":271,"context_line":"  ],[no])"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"AC_ARG_ENABLE([parport],"},{"line_number":274,"context_line":"  AS_HELP_STRING([--enable-parport], [Enable building the pc parallel port driver]),"}],"source_content_type":"application/octet-stream","patch_set":2,"id":"aedf27f1_7291d651","line":271,"range":{"start_line":271,"start_character":0,"end_line":271,"end_character":9},"updated":"2021-04-15 21:25:00.000000000","message":"agree with Paul. Here it should be \u0027auto\u0027, and then ...","commit_id":"1e30f40eb7c0e8b2818e2e907b8779d87aefd3f3"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"299ea68e4d65dc6b7dcb8371e463a14d70ed119f","unresolved":false,"context_lines":[{"line_number":416,"context_line":"    AS_IF([test \"x$enable_buspirate\" \u003d \"xyes\"], ["},{"line_number":417,"context_line":"      AC_MSG_ERROR([buspirate currently not supported by MinGW32 hosts])"},{"line_number":418,"context_line":"    ])"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"    AC_SUBST([HOST_CPPFLAGS], [-D__USE_MINGW_ANSI_STDIO])"},{"line_number":421,"context_line":"  ],"},{"line_number":422,"context_line":"  [*darwin*], ["}],"source_content_type":"application/octet-stream","patch_set":2,"id":"aedf27f1_12864a19","line":419,"updated":"2021-04-15 21:25:00.000000000","message":"... and then here you should add a line\nenable_buspirate\u003dno\nIn this way the default is auto; user can select yes or no.\nIn case of mingw the auto is changed to no, and if user has selected yes he will get the error","commit_id":"1e30f40eb7c0e8b2818e2e907b8779d87aefd3f3"},{"author":{"_account_id":1000438,"name":"R. Diez","email":"rdiez-2006@rd10.de","username":"rdiez"},"change_message_id":"c8ceaa194b5d359f437a723c68a1b11147144fbc","unresolved":false,"context_lines":[{"line_number":416,"context_line":"    AS_IF([test \"x$enable_buspirate\" \u003d \"xyes\"], ["},{"line_number":417,"context_line":"      AC_MSG_ERROR([buspirate currently not supported by MinGW32 hosts])"},{"line_number":418,"context_line":"    ])"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"    AC_SUBST([HOST_CPPFLAGS], [-D__USE_MINGW_ANSI_STDIO])"},{"line_number":421,"context_line":"  ],"},{"line_number":422,"context_line":"  [*darwin*], ["}],"source_content_type":"application/octet-stream","patch_set":2,"id":"aedf27f1_72c8f625","line":419,"in_reply_to":"aedf27f1_12864a19","updated":"2021-04-18 09:25:12.000000000","message":"Can you help me at this point?\n\nI cannot see how that \"enable_buspirate\u003dno\" here would work. I guess we would need a PROCESS_ADAPTERS call for SERIAL_PORT_ADAPTERS that checks for MinGW32, wouldn\u0027t we? Or maybe just for the Bus Pirate in particular.\n\nAlso look at \"OpenOCD configuration summary\" at the bottom: next to \"yes\", the code automatically adds \u0027(auto)\u0027. But on MinGW32, it should be \"no\" next to \"auto\".","commit_id":"1e30f40eb7c0e8b2818e2e907b8779d87aefd3f3"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"2c6e8fe9d9b9533531d88155452b54973d317d84","unresolved":false,"context_lines":[{"line_number":416,"context_line":"    AS_IF([test \"x$enable_buspirate\" \u003d \"xyes\"], ["},{"line_number":417,"context_line":"      AC_MSG_ERROR([buspirate currently not supported by MinGW32 hosts])"},{"line_number":418,"context_line":"    ])"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"    AC_SUBST([HOST_CPPFLAGS], [-D__USE_MINGW_ANSI_STDIO])"},{"line_number":421,"context_line":"  ],"},{"line_number":422,"context_line":"  [*darwin*], ["}],"source_content_type":"application/octet-stream","patch_set":2,"id":"aedf27f1_f2d386d5","line":419,"in_reply_to":"aedf27f1_72c8f625","updated":"2021-04-18 14:23:55.000000000","message":"So far buspirate is the only SERIAL_PORT_ADAPTER and it does not support windows. But other SERIAL_PORT_ADAPTER\u0027s added later could be written for Windows too or Windows only. I prefer we check only buspirate here instead of the whole group.\n\nThe idea here is:\non Linux/Mac/xBDS, ...\nline 270 enable_buspirate\u003dauto\nline 416+ not executed\nline 799 \"Bus Pirate yes (auto)\"\nand if user put \"--enable-buspirate\" or \"--disable-buspirate\" he will get\nline 799 \"Bus Pirate yes\" or \"Bus Pirate no\"\n\non Windows\nline 270 enable_buspirate\u003dauto\nline 416 buspirate \u003d\u003d yes is false, so no error\nline 419 added line enable_buspirate\u003dno\nline 799 \"Bus Pirate no\"\nif user put \"--enable-buspirate\" he will get error in line 416\nand if user put \"--disable-buspirate\" he will get same as he doesn\u0027t add anything.\n\nThe advantage of \u0027auto\u0027 is that the adapter is always built if possible. User has to force disable it if he doesn\u0027t want it.","commit_id":"1e30f40eb7c0e8b2818e2e907b8779d87aefd3f3"},{"author":{"_account_id":1000438,"name":"R. Diez","email":"rdiez-2006@rd10.de","username":"rdiez"},"change_message_id":"139424087d086cafe5bf0bc307d715ac2595222a","unresolved":false,"context_lines":[{"line_number":416,"context_line":"    AS_IF([test \"x$enable_buspirate\" \u003d \"xyes\"], ["},{"line_number":417,"context_line":"      AC_MSG_ERROR([buspirate currently not supported by MinGW32 hosts])"},{"line_number":418,"context_line":"    ])"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"    AC_SUBST([HOST_CPPFLAGS], [-D__USE_MINGW_ANSI_STDIO])"},{"line_number":421,"context_line":"  ],"},{"line_number":422,"context_line":"  [*darwin*], ["}],"source_content_type":"application/octet-stream","patch_set":2,"id":"aedf27f1_12164a5b","line":419,"in_reply_to":"aedf27f1_f2d386d5","updated":"2021-04-18 20:02:06.000000000","message":"Thanks for your help.","commit_id":"1e30f40eb7c0e8b2818e2e907b8779d87aefd3f3"}]}
