Merge pull request #25 from GrantM11235/dso138 · ahn-github/STM32duino-bootloader@36113f7 · GitHub
Skip to content

Commit 36113f7

Browse files
Merge pull request rogerclarkmelbourne#25 from GrantM11235/dso138
Add support for DSO138 Oscilloscope
2 parents 9271dcd + 9fbb67a commit 36113f7

6 files changed

Lines changed: 26 additions & 1 deletion

File tree

STM32F1/Makefile

Lines changed: 12 additions & 0 deletions

STM32F1/binaries/dso138_boot20.bin

20.7 KB
Binary file not shown.
6.99 KB
Binary file not shown.

STM32F1/config.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,17 @@
309309
#define USB_DISC_BANK GPIOA
310310
#define USB_DISC_PIN 0
311311

312+
#elif defined TARGET_DSO138
313+
314+
#define LED_BANK GPIOA
315+
#define LED_PIN 15
316+
#define LED_ON_STATE 0
317+
318+
// "OK" Button
319+
#define BUTTON_BANK GPIOB
320+
#define BUTTON_PIN 15
321+
#define BUTTON_PRESSED_STATE 0
322+
312323

313324
#else
314325
#error "No config for this target"

STM32F1/make_all.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ make generic-pb0
1616
make stbee
1717
make naze32
1818
make generic-pb12
19-
make hytiny-stm32f103t
19+
make hytiny-stm32f103t
20+
make dso138

sketch_and_bootloader_combined/merge_sketch.bat

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)