)]}'
{"src/flash/nor/stm32lx.c":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"d74d8947d34b4b9773116f55a07897decbebb363","unresolved":false,"context_lines":[{"line_number":718,"context_line":"{"},{"line_number":719,"context_line":"\tstruct armv7m_common *armv7m \u003d target_to_armv7m(target);"},{"line_number":720,"context_line":"\tint retval;"},{"line_number":721,"context_line":"\tif (armv7m-\u003earm.arch \u003d\u003d 6)"},{"line_number":722,"context_line":"\t\tretval \u003d target_read_u32(target, DBGMCU_IDCODE_L0, id);"},{"line_number":723,"context_line":"\telse"},{"line_number":724,"context_line":"\t/* read stm32 device id register */"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"aedf27f1_a3a5b245","line":721,"updated":"2021-05-10 08:50:29.000000000","message":"Why a magic number here?","commit_id":"fa26dff61d850bf2e69035d91d2d75f9b51aa359"},{"author":{"_account_id":1000863,"name":"Tarek BOCHKATI","email":"tarek.bouchkati@gmail.com","username":"BouchkatiTarek"},"change_message_id":"ab78aabcbdac34bea4110a4d90299e55fbc6999c","unresolved":false,"context_lines":[{"line_number":718,"context_line":"{"},{"line_number":719,"context_line":"\tstruct armv7m_common *armv7m \u003d target_to_armv7m(target);"},{"line_number":720,"context_line":"\tint retval;"},{"line_number":721,"context_line":"\tif (armv7m-\u003earm.arch \u003d\u003d 6)"},{"line_number":722,"context_line":"\t\tretval \u003d target_read_u32(target, DBGMCU_IDCODE_L0, id);"},{"line_number":723,"context_line":"\telse"},{"line_number":724,"context_line":"\t/* read stm32 device id register */"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"aedf27f1_03783ebe","line":721,"in_reply_to":"aedf27f1_a3a5b245","updated":"2021-05-10 09:12:40.000000000","message":"before changing to enum I was using int as arch type\nI have missed to change this, sorry.","commit_id":"fa26dff61d850bf2e69035d91d2d75f9b51aa359"}],"src/target/arm.h":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"d74d8947d34b4b9773116f55a07897decbebb363","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"/** ARM Architecture specifying the version and the profile */"},{"line_number":64,"context_line":"enum arm_arch {"},{"line_number":65,"context_line":"\tARM_ARCH_V4,"},{"line_number":66,"context_line":"\tARM_ARCH_V6M,"},{"line_number":67,"context_line":"\tARM_ARCH_V7M,"},{"line_number":68,"context_line":"\tARM_ARCH_V8M,"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"aedf27f1_03a91e21","line":65,"updated":"2021-05-10 08:50:29.000000000","message":"also aarch64, cortex_a and mem_ap use the \"struct arm\". They don\u0027t initialize the \"enum arm_arch\" so they will incorrectly appear as ARM_ARCH_V4.\nEither start from a non-null value using here \"ARM_ARCH_V4 \u003d 1,\" or, probably better, define a dummy \"ARM_ARCH_UNKNOWN\" as first enum value.","commit_id":"fa26dff61d850bf2e69035d91d2d75f9b51aa359"},{"author":{"_account_id":1000863,"name":"Tarek BOCHKATI","email":"tarek.bouchkati@gmail.com","username":"BouchkatiTarek"},"change_message_id":"ab78aabcbdac34bea4110a4d90299e55fbc6999c","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"/** ARM Architecture specifying the version and the profile */"},{"line_number":64,"context_line":"enum arm_arch {"},{"line_number":65,"context_line":"\tARM_ARCH_V4,"},{"line_number":66,"context_line":"\tARM_ARCH_V6M,"},{"line_number":67,"context_line":"\tARM_ARCH_V7M,"},{"line_number":68,"context_line":"\tARM_ARCH_V8M,"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"aedf27f1_437646d7","line":65,"in_reply_to":"aedf27f1_03a91e21","updated":"2021-05-10 09:12:40.000000000","message":"OK for UNKNOWN, seems cleaner, and making this change effort lighter","commit_id":"fa26dff61d850bf2e69035d91d2d75f9b51aa359"}],"src/target/cortex_m.c":[{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"change_message_id":"1af38a4ba6d166a497e94faa74b98fd00dc6601e","unresolved":false,"context_lines":[{"line_number":2005,"context_line":"\t\tunsigned int core \u003d (cpuid \u003e\u003e 4) \u0026 0xf;"},{"line_number":2006,"context_line":""},{"line_number":2007,"context_line":"\t\t/* Check if it is an ARMv8-M core */"},{"line_number":2008,"context_line":"\t\tarmv7m-\u003earm.arch \u003d ARM_ARCH_V8M;"},{"line_number":2009,"context_line":""},{"line_number":2010,"context_line":"\t\tswitch (cpuid \u0026 ARM_CPUID_PARTNO_MASK) {"},{"line_number":2011,"context_line":"\t\t\tcase CORTEX_M23_PARTNO:"}],"source_content_type":"text/x-csrc","patch_set":3,"id":"aedf27f1_e30f3a3a","line":2008,"range":{"start_line":2008,"start_character":2,"end_line":2008,"end_character":34},"updated":"2021-05-10 16:53:15.000000000","message":"This not true at the moment (both V6M and V7M go this way)\nIt works but the readability is horrible. On Cortex-M we assign arch V8M, then V7M and then V6M?!!!\n\nEither move this line to all but default cases of the following switch and move V6M detection to the default case or  use if else if else after the switch.","commit_id":"272a6b30a64fb403d9ff6ae32db6246bb0fab496"},{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"change_message_id":"1af38a4ba6d166a497e94faa74b98fd00dc6601e","unresolved":false,"context_lines":[{"line_number":2061,"context_line":"\t\t\t\tLOG_DEBUG(\"Cortex-M%d floating point feature FPv5_DP found\", core);"},{"line_number":2062,"context_line":"\t\t\t\tarmv7m-\u003efp_feature \u003d FPV5_DP;"},{"line_number":2063,"context_line":"\t\t\t}"},{"line_number":2064,"context_line":"\t\t} else if (core \u003d\u003d 0) {"},{"line_number":2065,"context_line":"\t\t\t/* Cortex-M0 does not support unaligned memory access */"},{"line_number":2066,"context_line":"\t\t\tarmv7m-\u003earm.arch \u003d ARM_ARCH_V6M;"},{"line_number":2067,"context_line":"\t\t}"},{"line_number":2068,"context_line":""},{"line_number":2069,"context_line":"\t\t/* VECTRESET is supported only on ARMv7-M cores */"},{"line_number":2070,"context_line":"\t\tcortex_m-\u003evectreset_supported \u003d armv7m-\u003earm.arch \u003d\u003d ARM_ARCH_V7M;"},{"line_number":2071,"context_line":""},{"line_number":2072,"context_line":"\t\t/* Check for FPU, otherwise mark FPU register as non-existent */"},{"line_number":2073,"context_line":"\t\tif (armv7m-\u003efp_feature \u003d\u003d FP_NONE)"}],"source_content_type":"text/x-csrc","patch_set":3,"id":"aedf27f1_2316a25b","line":2070,"range":{"start_line":2064,"start_character":9,"end_line":2070,"end_character":67},"updated":"2021-05-10 16:53:15.000000000","message":"Please move all arch related logic together to one place. Here is M0 test hidden after floating point detection and I\u0027m sure this was one reason of the error in vectreset_supported. And poor testing was the second.","commit_id":"272a6b30a64fb403d9ff6ae32db6246bb0fab496"}]}
