Commit Graph

90 Commits

Author SHA1 Message Date
Riku Viitanen 8fcf0a4d41 Add phony rule to just make libopencm3
Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
2023-09-11 14:25:05 +03:00
Riku Viitanen eeaf99974a Include serprog.h and BUS_SPI
Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
2023-09-11 12:58:11 +03:00
Riku Viitanen 6ae16a672a Only download flashrom if actually needed
Useful in Libreboot for example, where we already have flashrom headers
and don't want to run all the tests.

Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
2023-09-11 12:16:27 +03:00
Riku Viitanen 60c6274f7f Set iInterface==serprog
Now this and pico-serprog are both compatible an udev rule like:

DRIVERS=="cdc_acm", ATTRS{interface}=="serprog", SYMLINK+="serprog%n"

Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
2023-09-07 00:32:35 +03:00
Riku Viitanen 5ee17e4a71 Add new board: Nucleo-F042K6
Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
2023-09-07 00:05:57 +03:00
Zhang, Chi c74b4ed570
Merge pull request #60 from persmule/bluepill-invled
Add support for a bluepill clone with the status LED inversed.
2022-07-28 12:47:41 -07:00
persmule 3037140518 Add support for a bluepill clone with the status LED inversed. 2022-07-28 19:24:34 +08:00
Zhang, Chi 999d94af0a
Merge pull request #56 from Solartraveler/alternate042
Add definitions for an alternate board with a STM32F042
2021-10-16 14:03:00 -07:00
Zhang, Chi cb2084bf0f
Merge pull request #55 from Solartraveler/fix24MHz
Fix SPI baudrate for STM32F0 targets
2021-10-16 14:02:10 -07:00
Solartraveler 300db7b612 Add definitions for an alternate board with a STM32F042 2021-10-13 22:34:11 +02:00
Solartraveler 6e8da47519 Fix SPI baudrate for STM32F0 targets
rcc.h provides a define for rcc_apb2_frequency which then collided with the local variable. As a result the SPI frequency was always 24MHz, no matter of the desired frequency.
2021-10-13 22:29:14 +02:00
Zhang, Chi 18dc5eb771
Merge pull request #53 from Ntemis/master
Fixes and updates all submodules
2021-05-30 14:19:36 -07:00
Zhang, Chi 5192638602
Merge pull request #52 from Eitetsu0/patch-1
switch flashrom git url to mirror on GitHub
2021-04-18 16:18:04 -07:00
Eitetsu0 5acffc08a4
switch flashrom git url to mirror on GitHub
The origin git host has moved to `https://review.coreboot.org/flashrom.git` .
Officially mirrored on GitHub.
2021-04-18 17:01:24 +08:00
Demetris Ierokipides b661e9ea06 Fix linking issues 2021-03-22 04:55:28 +02:00
Demetris Ierokipides e9378573d7 Fix submodule link
Update flashrom to 1.3.x branch
Update libopencm3 to latest commit head
2021-03-22 03:40:56 +02:00
Zhang, Chi 9d9aa14eb9
Merge pull request #47 from swiftgeek/XTW100
Add XTW100 support
2020-10-25 14:57:08 -07:00
Sebastian 'Swift Geek' Grzywna 926e9048ab Add XTW100 support 2020-09-30 03:10:20 +02:00
Zhang, Chi aec99e7220
Merge pull request #25 from neuschaefer/travis
Add a Travis-CI script
2020-06-10 22:22:07 -07:00
Zhang, Chi f15e80d26c
Merge pull request #41 from dword1511/revert-37-master
Revert "Add support for XTW100 flash programmer"
2020-06-10 22:21:15 -07:00
Zhang, Chi 67888755b9
Revert "Add support for XTW100 flash programmer" 2020-06-10 22:20:09 -07:00
Zhang, Chi 78f83136e8
Merge pull request #37 from mytbk/master
Add support for XTW100 flash programmer
2020-06-10 22:16:57 -07:00
Zhang, Chi c4f7b23eaf
Merge pull request #38 from Ntemis/master
Update Submodules
2020-03-08 17:43:54 -07:00
Ntemis 57c0c9f98a Fix makefile see 7be50a5e75 (diff-b67911656ef5d18c4ae36cb6741b7965) 2020-02-29 02:33:53 +02:00
Ntemis 14683ee2e6 Update Submodules
- Flashrom bumped to v1.2.x stable branch
2020-02-29 02:17:42 +02:00
Iru Cai 8250cdee68 Add support for XTW100 flash programmer
It's not functioning correctly yet. The USB device can be found in the
OS, and the LED is on when running flashrom. However, it can only read
a W25Q32.V correctly on the first run after the programmer plugs in,
and cannot erase/write.
2019-10-05 10:54:40 +08:00
Zhang, Chi 5d805dd160
expected autolink... added link manually 2018-11-19 14:00:14 -08:00
Zhang, Chi 22c80379a2
Add note for newlib 2018-11-19 13:50:10 -08:00
Chi Zhang d582eb2eb3 fix oe for stm32f0 2018-11-09 11:42:21 -08:00
Zhang, Chi 882c0aa68d
Merge pull request #26 from dmsc/master
Adds command to enable/disable output buffers.
2018-10-29 00:15:00 -07:00
Daniel Serpell 18fd0c0315 Adds command to enable/disable output buffers. 2018-10-28 14:22:53 -03:00
Jonathan Neuschäfer bf01d6e9da Add a Travis-CI script
Travis-CI can automatically build-test the code on every commit or pull
request.
2018-10-22 00:52:35 +02:00
Zhang, Chi 1165266dbf
Merge pull request #24 from neuschaefer/stdio
vserprog.c: Don't include <stdio.h>
2018-10-21 15:40:53 -07:00
Jonathan Neuschäfer 5ba5512eda vserprog.c: Don't include <stdio.h>
There's no need to include it.
2018-10-22 00:31:53 +02:00
Zhang, Chi 14f4c6d7ba
Merge pull request #23 from neuschaefer/dev
Some small improvements
2018-09-28 19:25:59 -07:00
Jonathan Neuschäfer 3b31c02717 Makefile: Allow building libopencm3 with a different cross-toolchain 2018-09-28 15:36:55 +02:00
Jonathan Neuschäfer c370fced74 Fix some typos 2018-09-28 14:28:46 +02:00
Zhang, Chi 674e3192be
Merge pull request #21 from vondraussen/readme_clone_w_submodules
Add option to clone submodules automatically
2018-09-12 00:08:14 -07:00
Zhang, Chi 3d3775af39
Merge pull request #22 from vondraussen/fix_build_warnings
Fix build warnings for unused functions
2018-09-12 00:07:48 -07:00
vondraussen 7cc32cf093 Fix build warnings for unused functions 2018-09-11 22:55:59 -04:00
Andy 9cb22f187d
Add option to clone submodules automatically 2018-09-11 22:28:10 -04:00
Zhang, Chi 5b37cc1cde
Merge pull request #20 from persmule/jz01v20
Add support for a cheap (~¥20) STM32 Dev. board
2018-07-23 15:04:39 -07:00
dword1511 2d9ecbdb54 Merge branch 'master' of github.com:dword1511/stm32-vserprog
Reworked Makefile. If this breaks anything, be sure to open an issue!
2018-07-23 15:00:18 -07:00
dword1511 9a21444d27 split flash targets. In the future, board.mk will aliase flash to the correct target. 2018-07-23 14:52:50 -07:00
persmule ab61bd6474 Add support for a cheap (~¥20) STM32 Dev. board
The board is called JZ-01 V2.0, and can be bought from
https://detail.tmall.com/item.htm?id=554703784397 , from which
an RAR package containing schematic in pdf format can be downloaded,
and its header file is written according to the schematic.
This board at least has 4 pins for 3v3 (one in jtag pins), which
may ease spi flash programming.
2018-07-23 18:22:16 +08:00
dword1511 3bd66583cc update submodules and Makefile 2018-07-17 00:17:36 -07:00
Zhang, Chi 3558c978b4
Merge pull request #18 from thefallenidealist/OtherOS_build
Enable building on OSes that are not Linux.
2018-04-01 01:12:00 -07:00
Johnny Sorocil 9521a14e5b Enable building on OSes that are not Linux.
Use gmake command instead of make.
2018-04-01 10:00:33 +02:00
Zhang, Chi 702361934c
Merge pull request #16 from Ntemis/master
Update all submodules also switch flashrom remote to official repo
2018-02-25 18:39:34 -08:00
Ntemis 62e6824700 Update all submodules also switch flashrom remote to official repo
and update to v1.0 stable tag while we are at it.
2018-01-10 03:55:41 +02:00