{"id":20885309,"url":"https://github.com/lab11/stm32l1xx-gcc-setup","last_synced_at":"2026-04-17T04:02:32.836Z","repository":{"id":145294092,"uuid":"66113254","full_name":"lab11/stm32l1xx-gcc-setup","owner":"lab11","description":"GCC-Makefile template for the STM32L1xx series.","archived":false,"fork":false,"pushed_at":"2016-08-21T17:41:23.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-01-19T10:43:31.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lab11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-19T21:23:09.000Z","updated_at":"2024-08-01T15:55:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e999e69-d978-48f8-9d30-65dabbec8533","html_url":"https://github.com/lab11/stm32l1xx-gcc-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fstm32l1xx-gcc-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fstm32l1xx-gcc-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fstm32l1xx-gcc-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fstm32l1xx-gcc-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab11","download_url":"https://codeload.github.com/lab11/stm32l1xx-gcc-setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243267281,"owners_count":20263799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T08:13:06.009Z","updated_at":"2025-12-29T04:04:38.228Z","avatar_url":"https://github.com/lab11.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"STM32L1XX\r\n==========\r\n\r\n* Based on the stm32l0xx-gcc-setup [repo](https://github.com/lab11/stm32l0xx-gcc-setup)\r\n\r\nThis is a template to use the STM32L1xx with GCC and Makefiles.\r\n\r\nIt currently only runs on linux, and flashes programs with the JLink Segger programmer over SWD.\r\n\r\nTo use this code:\r\n\r\n1. Download the STM [Standard Peripheral Library](http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/LN1939)\r\nfor the STML1xx. Place it in a persistent location.\r\n\r\n2. Download and install the [JLink tools](https://www.segger.com/jlink-software.html)\r\nfor your platform. Make sure that the binaries are added to your path.\r\n\r\n3. Edit the application Makefile to specify:\r\n\r\n    - your specfic STM32L1xx device\r\n    - the location of the Standard Peripheral Library\r\n    - the location of the makefile template above (if not cloned recursively)\r\n    - any source files that you use\r\n    - also ensure that the correct linker file for your device is copied into \r\n        `template/ld`\r\n\r\n4. Use the supported commands to program and debug the chip:\r\n\r\n    - `make`: Compile\r\n    - `make flash`: Program the chip\r\n    - `make debug`: Run gdb\r\n    - `make erase-all`: Full erase of the chip\r\n    - `make startdebug`\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fstm32l1xx-gcc-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab11%2Fstm32l1xx-gcc-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fstm32l1xx-gcc-setup/lists"}