{"action":"closed","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/8983","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/8983/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/8983/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/8983/events","html_url":"https://github.com/ARMmbed/mbed-os/issues/8983","id":387990370,"node_id":"MDU6SXNzdWUzODc5OTAzNzA=","number":8983,"title":"master branch fails to build for NUCLEO_F030R8","user":{"login":"deece","id":1862055,"node_id":"MDQ6VXNlcjE4NjIwNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1862055?v=4","gravatar_id":"","url":"https://api.github.com/users/deece","html_url":"https://github.com/deece","followers_url":"https://api.github.com/users/deece/followers","following_url":"https://api.github.com/users/deece/following{/other_user}","gists_url":"https://api.github.com/users/deece/gists{/gist_id}","starred_url":"https://api.github.com/users/deece/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deece/subscriptions","organizations_url":"https://api.github.com/users/deece/orgs","repos_url":"https://api.github.com/users/deece/repos","events_url":"https://api.github.com/users/deece/events{/privacy}","received_events_url":"https://api.github.com/users/deece/received_events","type":"User","site_admin":false},"labels":[{"id":1075658157,"node_id":"MDU6TGFiZWwxMDc1NjU4MTU3","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/Jira%20status:%20OPEN","name":"Jira status: OPEN","color":"f9d0c4","default":false},{"id":427713129,"node_id":"MDU6TGFiZWw0Mjc3MTMxMjk=","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/mirrored","name":"mirrored","color":"ededed","default":false},{"id":28847979,"node_id":"MDU6TGFiZWwyODg0Nzk3OQ==","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/type:%20bug","name":"type: bug","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-12-05T23:25:35Z","updated_at":"2018-12-06T23:09:41Z","closed_at":"2018-12-06T23:09:40Z","author_association":"NONE","body":"\r\n### Description\r\n\r\nAttempting to build commit 1c201b4628e346c62e1fbfa7cbcf6aa4e164f0c5 (current master branch) fails due to a missing device.h.\r\n\r\n```\r\n$ MBED_GCC_ARM_PATH=/usr/local/gcc-arm-none-eabi-7-2018-q2-update/bin python build.py -c -v -m NUCLEO_F030R8 -t GCC_ARM --profile release \r\nCopy: mbed.h\r\nScan: drivers\r\nCopy: AnalogIn.h\r\nCopy: AnalogOut.h\r\nCopy: BusIn.h\r\nCopy: BusInOut.h\r\nCopy: BusOut.h\r\nCopy: CAN.h\r\nCopy: DigitalIn.h\r\nCopy: DigitalInOut.h\r\nCopy: DigitalOut.h\r\nCopy: Ethernet.h\r\n<snip>\r\nScan: hal\r\nBuilding library MBED (NUCLEO_F030R8, GCC_ARM)\r\nMacros: -D__CORTEX_M0 -DCMSIS_VECTAB_VIRTUAL -D__MBED__=1 -DDEVICE_I2CSLAVE=1 -DTARGET_LIKE_MBED -DDEVICE_PORTOUT=1 -DDEVICE_PORTINOUT=1 -D__MBED_CMSIS_RTOS_CM -DTARGET_STM32F0 -DDEVICE_RTC=1 -DCOMPONENT_PSA_SRV_EMUL=1 -DTARGET_NUCLEO_F030R8 -DMBED_BUILD_TIMESTAMP=1544052255.85 -D__CMSIS_RTOS -DTOOLCHAIN_GCC -DDEVICE_CRC=1 -DTARGET_CORTEX_M -DDEVICE_I2C_ASYNCH=1 -DARM_MATH_CM0 -DTARGET_M0 -DCOMPONENT_PSA_SRV_IMPL=1 -DDEVICE_SPI_ASYNCH=1 -DDEVICE_SERIAL=1 -DDEVICE_INTERRUPTIN=1 -DTARGET_CORTEX -DDEVICE_I2C=1 -DTRANSACTION_QUEUE_SIZE_SPI=2 -DDEVICE_STDIO_MESSAGES=1 -DTARGET_FF_MORPHO -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO -DTARGET_RELEASE -DTARGET_STM -DDEVICE_SERIAL_FC=1 -DDEVICE_USTICKER=1 -DDEVICE_PORTIN=1 -DDEVICE_SLEEP=1 -DTOOLCHAIN_GCC_ARM -DDEVICE_SPI=1 -DCOMPONENT_NSPE=1 -DCMSIS_VECTAB_VIRTUAL_HEADER_FILE=\"cmsis_nvic.h\" -DDEVICE_SPISLAVE=1 -DDEVICE_ANALOGIN=1 -DDEVICE_PWMOUT=1 -DTARGET_STM32F030R8 -DTARGET_LIKE_CORTEX_M0\r\nCompile [  3.1%]: BusIn.cpp\r\nCompile: /usr/local/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-g++ -std=gnu++98 -fno-rtti -Wvla -c -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fmessage-length=0 -fno-exceptions -fno-builtin -ffunction-sections -fdata-sections -funsigned-char -MMD -fno-delete-null-pointer-checks -fomit-frame-pointer -Os -DNDEBUG -g1 -DMBED_RTOS_SINGLE_THREAD -mcpu=cortex-m0 -mthumb -DMBED_ROM_START=0x8000000 -DMBED_ROM_SIZE=0x10000 -DMBED_RAM_START=0x20000000 -DMBED_RAM_SIZE=0x2000 -DMBED_ROM_START=0x8000000 -DMBED_ROM_SIZE=0x10000 -DMBED_RAM_START=0x20000000 -DMBED_RAM_SIZE=0x2000 -DMBED_ROM_START=0x8000000 -DMBED_ROM_SIZE=0x10000 -DMBED_RAM_START=0x20000000 -DMBED_RAM_SIZE=0x2000 -DMBED_ROM_START=0x8000000 -DMBED_ROM_SIZE=0x10000 -DMBED_RAM_START=0x20000000 -DMBED_RAM_SIZE=0x2000 -DMBED_ROM_START=0x8000000 -DMBED_ROM_SIZE=0x10000 -DMBED_RAM_START=0x20000000 -DMBED_RAM_SIZE=0x2000 -DMBED_ROM_START=0x8000000 -DMBED_ROM_SIZE=0x10000 -DMBED_RAM_START=0x20000000 -DMBED_RAM_SIZE=0x2000 -DMBED_ROM_START=0x8000000 -DMBED_ROM_SIZE=0x10000 -DMBED_RAM_START=0x20000000 -DMBED_RAM_SIZE=0x2000 -D__CORTEX_M0 -DCMSIS_VECTAB_VIRTUAL -D__MBED__=1 -DDEVICE_I2CSLAVE=1 -DTARGET_LIKE_MBED -DDEVICE_PORTOUT=1 -DDEVICE_PORTINOUT=1 -D__MBED_CMSIS_RTOS_CM -DTARGET_STM32F0 -DDEVICE_RTC=1 -DCOMPONENT_PSA_SRV_EMUL=1 -DTARGET_NUCLEO_F030R8 -DMBED_BUILD_TIMESTAMP=1544052255.85 -D__CMSIS_RTOS -DTOOLCHAIN_GCC -DDEVICE_CRC=1 -DTARGET_CORTEX_M -DDEVICE_I2C_ASYNCH=1 -DARM_MATH_CM0 -DTARGET_M0 -DCOMPONENT_PSA_SRV_IMPL=1 -DDEVICE_SPI_ASYNCH=1 -DDEVICE_SERIAL=1 -DDEVICE_INTERRUPTIN=1 -DTARGET_CORTEX -DDEVICE_I2C=1 -DTRANSACTION_QUEUE_SIZE_SPI=2 -DDEVICE_STDIO_MESSAGES=1 -DTARGET_FF_MORPHO -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO -DTARGET_RELEASE -DTARGET_STM -DDEVICE_SERIAL_FC=1 -DDEVICE_USTICKER=1 -DDEVICE_PORTIN=1 -DDEVICE_SLEEP=1 -DTOOLCHAIN_GCC_ARM -DDEVICE_SPI=1 -DCOMPONENT_NSPE=1 -DCMSIS_VECTAB_VIRTUAL_HEADER_FILE=\"cmsis_nvic.h\" -DDEVICE_SPISLAVE=1 -DDEVICE_ANALOGIN=1 -DDEVICE_PWMOUT=1 -DTARGET_STM32F030R8 -DTARGET_LIKE_CORTEX_M0 @/home/adsilva/src/mbed-os/BUILD/mbed/.temp/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/.includes_042fcf182ccb280dadf40a5f6e1ecba5.txt -include /home/adsilva/src/mbed-os/BUILD/mbed/.temp/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/mbed_config.h -MD -MF ../BUILD/mbed/.temp/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/drivers/BusIn.d -o ../BUILD/mbed/.temp/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/drivers/BusIn.o /home/adsilva/src/mbed-os/drivers/BusIn.cpp\r\n[Fatal Error] platform.h@30,10: device.h: No such file or directory\r\n[DEBUG] Return: 1\r\n[DEBUG] Output: In file included from /home/adsilva/src/mbed-os/BUILD/mbed/drivers/BusIn.h:20:0,\r\n[DEBUG] Output:                  from /home/adsilva/src/mbed-os/drivers/BusIn.cpp:17:\r\n[DEBUG] Output: /home/adsilva/src/mbed-os/BUILD/mbed/platform/platform.h:30:10: fatal error: device.h: No such file or directory\r\n[DEBUG] Output:  #include \"device.h\"\r\n[DEBUG] Output:           ^~~~~~~~~~\r\n[DEBUG] Output: compilation terminated.\r\nTraceback (most recent call last):\r\n  File \"build.py\", line 223, in <module>\r\n    notify=notifier,\r\n  File \"/home/adsilva/src/mbed-os/tools/build_api.py\", line 1025, in build_mbed_libs\r\n    objects = toolchain.compile_sources(mbed_resources, incdirs)\r\n  File \"/home/adsilva/src/mbed-os/tools/toolchains/__init__.py\", line 414, in compile_sources\r\n    return self.compile_queue(queue, objects)\r\n  File \"/home/adsilva/src/mbed-os/tools/toolchains/__init__.py\", line 477, in compile_queue\r\n    raise ToolException(err)\r\nToolException: In file included from /home/adsilva/src/mbed-os/BUILD/mbed/drivers/BusIn.h:20:0,\r\n                 from /home/adsilva/src/mbed-os/drivers/BusIn.cpp:17:\r\n/home/adsilva/src/mbed-os/BUILD/mbed/platform/platform.h:30:10: fatal error: device.h: No such file or directory\r\n #include \"device.h\"\r\n          ^~~~~~~~~~\r\ncompilation terminated.\r\n```\r\n\r\n\r\n\r\n### Issue request type\r\n\r\n    [ ] Question\r\n    [ ] Enhancement\r\n    [X] Bug\r\n\r\n"}}
{"actor":{"display_login":"deece"}}