{"action":"closed","issue":{"url":"https://api.github.com/repos/dmitrystu/libusb_stm32/issues/5","repository_url":"https://api.github.com/repos/dmitrystu/libusb_stm32","labels_url":"https://api.github.com/repos/dmitrystu/libusb_stm32/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/dmitrystu/libusb_stm32/issues/5/comments","events_url":"https://api.github.com/repos/dmitrystu/libusb_stm32/issues/5/events","html_url":"https://github.com/dmitrystu/libusb_stm32/issues/5","id":270392038,"number":5,"title":"Missing stm32.h","user":{"login":"AlbanBedel","id":2648902,"avatar_url":"https://avatars3.githubusercontent.com/u/2648902?v=4","gravatar_id":"","url":"https://api.github.com/users/AlbanBedel","html_url":"https://github.com/AlbanBedel","followers_url":"https://api.github.com/users/AlbanBedel/followers","following_url":"https://api.github.com/users/AlbanBedel/following{/other_user}","gists_url":"https://api.github.com/users/AlbanBedel/gists{/gist_id}","starred_url":"https://api.github.com/users/AlbanBedel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlbanBedel/subscriptions","organizations_url":"https://api.github.com/users/AlbanBedel/orgs","repos_url":"https://api.github.com/users/AlbanBedel/repos","events_url":"https://api.github.com/users/AlbanBedel/events{/privacy}","received_events_url":"https://api.github.com/users/AlbanBedel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-01T17:46:02Z","updated_at":"2017-11-02T19:48:48Z","closed_at":"2017-11-02T19:48:48Z","author_association":"NONE","body":"I'm trying to compile this library on Ubuntu for an STM32F048xx. I downloaded STM32CubeF0 v1.9.0 and added the following to the Makefile:\r\n```\r\nSTARTUP.stm32f048xx  = $(CMSISDEV)/STM32L0xx/Source/Templates/gcc/startup_stm32f048xx.s\r\nCFLAGS.stm32f048xx   = -mcpu=cortex-m0\r\nDEFINES.stm32f048xx  = STM32F0 STM32F048xx\r\n```\r\n\r\nAnd try to build the module, but it fails:\r\n```\r\n$ make module CMSIS=../STM32Cube_FW_F0_V1.9.0/Drivers/CMSIS MCU=stm32f048xx\r\ncompiling src/usb_32v1.o\r\nsrc/usb_32v1.c:18:19: fatal error: stm32.h: No such file or directory\r\n #include \"stm32.h\"\r\n```\r\n\r\nI'm new to the STM32 controllers so perhaps that should be obvious, but I wasn't able to find which library I'm missing here."}}
{"actor":{"display_login":"dmitrystu"}}