{"action":"created","issue":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/20748","repository_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/20748/labels{/name}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/20748/comments","events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/20748/events","html_url":"https://github.com/zephyrproject-rtos/zephyr/issues/20748","id":523855583,"node_id":"MDU6SXNzdWU1MjM4NTU1ODM=","number":20748,"title":"build warnings on lpcxpresso54114_m0/m4 board ","user":{"login":"hakehuang","id":800198,"node_id":"MDQ6VXNlcjgwMDE5OA==","avatar_url":"https://avatars2.githubusercontent.com/u/800198?v=4","gravatar_id":"","url":"https://api.github.com/users/hakehuang","html_url":"https://github.com/hakehuang","followers_url":"https://api.github.com/users/hakehuang/followers","following_url":"https://api.github.com/users/hakehuang/following{/other_user}","gists_url":"https://api.github.com/users/hakehuang/gists{/gist_id}","starred_url":"https://api.github.com/users/hakehuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hakehuang/subscriptions","organizations_url":"https://api.github.com/users/hakehuang/orgs","repos_url":"https://api.github.com/users/hakehuang/repos","events_url":"https://api.github.com/users/hakehuang/events{/privacy}","received_events_url":"https://api.github.com/users/hakehuang/received_events","type":"User","site_admin":false},"labels":[{"id":383053976,"node_id":"MDU6TGFiZWwzODMwNTM5NzY=","url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/bug","name":"bug","color":"e99695","default":true},{"id":725956409,"node_id":"MDU6TGFiZWw3MjU5NTY0MDk=","url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/platform:%20NXP","name":"platform: NXP","color":"5319e7","default":false},{"id":636351516,"node_id":"MDU6TGFiZWw2MzYzNTE1MTY=","url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/priority:%20low","name":"priority: low","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"MaureenHelm","id":6172539,"node_id":"MDQ6VXNlcjYxNzI1Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/6172539?v=4","gravatar_id":"","url":"https://api.github.com/users/MaureenHelm","html_url":"https://github.com/MaureenHelm","followers_url":"https://api.github.com/users/MaureenHelm/followers","following_url":"https://api.github.com/users/MaureenHelm/following{/other_user}","gists_url":"https://api.github.com/users/MaureenHelm/gists{/gist_id}","starred_url":"https://api.github.com/users/MaureenHelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaureenHelm/subscriptions","organizations_url":"https://api.github.com/users/MaureenHelm/orgs","repos_url":"https://api.github.com/users/MaureenHelm/repos","events_url":"https://api.github.com/users/MaureenHelm/events{/privacy}","received_events_url":"https://api.github.com/users/MaureenHelm/received_events","type":"User","site_admin":false},"assignees":[{"login":"MaureenHelm","id":6172539,"node_id":"MDQ6VXNlcjYxNzI1Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/6172539?v=4","gravatar_id":"","url":"https://api.github.com/users/MaureenHelm","html_url":"https://github.com/MaureenHelm","followers_url":"https://api.github.com/users/MaureenHelm/followers","following_url":"https://api.github.com/users/MaureenHelm/following{/other_user}","gists_url":"https://api.github.com/users/MaureenHelm/gists{/gist_id}","starred_url":"https://api.github.com/users/MaureenHelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaureenHelm/subscriptions","organizations_url":"https://api.github.com/users/MaureenHelm/orgs","repos_url":"https://api.github.com/users/MaureenHelm/repos","events_url":"https://api.github.com/users/MaureenHelm/events{/privacy}","received_events_url":"https://api.github.com/users/MaureenHelm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2019-11-16T15:04:33Z","updated_at":"2019-11-18T08:05:48Z","closed_at":null,"author_association":"COLLABORATOR","body":"**Describe the bug**\r\nthere are build warnings for board lpcxpresso54114_m0 and lpcxpresso54114_m4\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. mkdir build; cd build\r\n2. cmake -DBOARD=lpcxpresso54114_m4 ..\r\n3. make\r\n4. See error\r\n\r\n**Expected behavior**\r\nclean build log\r\n\r\n**Impact**\r\nno found yet\r\n\r\n**Screenshots or console output**\r\n\r\n'''\r\nZephyr version: 2.1.0\r\n-- Found PythonInterp: /usr/bin/python3 (found suitable version \"3.6.8\", minimum required is \"3.4\")\r\n-- Selected BOARD lpcxpresso54114_m0\r\n-- Found west: /usr/local/bin/west (found suitable version \"0.6.0\", minimum required is \"0.6.0\")\r\n-- Loading /home/shared/disk/zephyr_project/zephyr/boards/arm/lpcxpresso54114/lpcxpresso54114_m0.dts as base\r\nlpcxpresso54114_m0.dts.pre.tmp:69.17-76.5: Warning (simple_bus_reg): /soc/gpio@0: simple-bus unit address format error, expected \"4008c000\"\r\nlpcxpresso54114_m0.dts.pre.tmp:77.17-84.5: Warning (simple_bus_reg): /soc/gpio@1: simple-bus unit address format error, expected \"4008c000\"\r\nlpcxpresso54114_m0.dts.pre.tmp:58.18-61.5: Warning (unique_unit_address_if_enabled): /soc/flash@0: duplicate unit-address (also used in node /soc/gpio@0)\r\nDevicetree configuration written to /home/shared/temp/build_temp/zephyr/include/generated/generated_dts_board.conf\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@0\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@0\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@0\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@0\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@0\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@0\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@0\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@0\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@0\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@0\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@1\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@1\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@1\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@1\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@1\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@1\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@1\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@1\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@1\r\nwarning: unit-address and first reg (0x4008c000) don't match for gpio@1\r\nParsing Kconfig tree in /home/shared/disk/zephyr_project/zephyr/Kconfig\r\nLoaded configuration '/home/shared/disk/zephyr_project/zephyr/boards/arm/lpcxpresso54114/lpcxpresso54114_m0_defconfig'\r\nMerged configuration '/home/shared/disk/zephyr_project/zephyr/samples/hello_world/prj.conf'\r\nConfiguration saved to '/home/shared/temp/build_temp/zephyr/.config'\r\n-- The C compiler identification is GNU 8.3.0\r\n-- The CXX compiler identification is GNU 8.3.0\r\n-- The ASM compiler identification is GNU\r\n-- Found assembler: /opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc\r\n-- Cache files will be written to: /home/ubuntu/.cache/zephyr\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/shared/temp/build_temp\r\n\r\n'''\r\n\r\n**Environment (please complete the following information):**\r\n - OS: (e.g. Linux)\r\n - Toolchain (e.g Zephyr SDK, ...)\r\n - Commit SHA or Version used: v2.1.0-rc1\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/comments/554900076","html_url":"https://github.com/zephyrproject-rtos/zephyr/issues/20748#issuecomment-554900076","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/20748","id":554900076,"node_id":"MDEyOklzc3VlQ29tbWVudDU1NDkwMDA3Ng==","user":{"login":"agansari","id":43028145,"node_id":"MDQ6VXNlcjQzMDI4MTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/43028145?v=4","gravatar_id":"","url":"https://api.github.com/users/agansari","html_url":"https://github.com/agansari","followers_url":"https://api.github.com/users/agansari/followers","following_url":"https://api.github.com/users/agansari/following{/other_user}","gists_url":"https://api.github.com/users/agansari/gists{/gist_id}","starred_url":"https://api.github.com/users/agansari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agansari/subscriptions","organizations_url":"https://api.github.com/users/agansari/orgs","repos_url":"https://api.github.com/users/agansari/repos","events_url":"https://api.github.com/users/agansari/events{/privacy}","received_events_url":"https://api.github.com/users/agansari/received_events","type":"User","site_admin":false},"created_at":"2019-11-18T08:05:48Z","updated_at":"2019-11-18T08:05:48Z","author_association":"COLLABORATOR","body":"@hakehuang @MaureenHelm this warning is generated by the following:\r\n```\r\n\t\tgpio0:gpio@0 {\r\n\t\t\t...\r\n\t\t\treg = <0x5008c000 0x2488>;\r\n\t\t\t...\r\n\t\t}\r\n```\r\n\r\n@0 and 0x5008c000 don't match, this is because **all gpios on LPC use the same registers**.\r\nUsing gpio@5008c000 will map all the separate ports as the last defined port.\r\n\r\nIt's a devicetree issue, @galak any advice on how to split dts ports that use the same register?\r\nIn my opinion we could just suppress the warning on this particular SoC family."}}
{"actor":{"display_login":"agansari"}}