Skip to content

Commit 3933c03

Browse files
committed
1.0.1
1 parent 8156948 commit 3933c03

15 files changed

Lines changed: 55 additions & 42 deletions

fnirsi-gc-01/emulation.repl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ st7789: Video.ST7789 @ spi1
8888
keyUp -> gpioPortC@0
8989
keyDown -> gpioPortC@2
9090
keySpace -> gpioPortC@10
91-
keySpaceInvert:false
9291

9392
sysbus:
9493
init:

fnirsi-gc-01/emulation.resc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ include @../src/ST7789.cs
1111
mach create
1212
machine LoadPlatformDescription @emulation.repl
1313

14-
$bootloader_bin?=@firmware/bootloader.bin
14+
$bootloader_bin?=@firmware/fnirsi-gc01_apm32f103rbt6-bootloader.bin
1515
sysbus LoadBinary $bootloader_bin 0x08000000
16-
$bin_raw?=@firmware/GC-01_V1.6.bin
16+
17+
$bin_raw?=@firmware/fnirsi-gc01_apm32f103rbt6-v1.6.bin
1718
sysbus LoadBinary $bin_raw 0x08004000
18-
cpu VectorTableOffset 0x08004000
19+
20+
cpu VectorTableOffset 0x08000000
1921

2022
adc1 FeedSample 2482 0 1000000
2123
adc1 FeedSample 2000 4 1000000

fnirsi-gc-01/firmware/bootloader.bin

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
File renamed without changes.
16 KB
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.

fnirsi-gc-03/emulation.repl

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// size: 0x10000000
33

44
sram: Memory.MappedMemory @ sysbus 0x20000000
5-
size: 0x10000
5+
size: 0x8000
66

77
flash: Memory.MappedMemory @ sysbus 0x08000000
88
size: 0x40000
@@ -37,6 +37,11 @@ cpu: CPU.CortexM @ sysbus
3737

3838
rcc: Miscellaneous.STM32F1_RCC @ sysbus 0x40021000
3939

40+
iwdg: Timers.STM32_IndependentWatchdog @ sysbus 0x40003000
41+
frequency: 32000
42+
windowOption: false
43+
defaultPrescaler: 0
44+
4045
rtc: Timers.STM32F1_RTC @ sysbus 0x40002800
4146
-> nvic@3
4247

@@ -85,6 +90,9 @@ adc1: Analog.STM32F1_ADC @ sysbus 0x40012400
8590
// IRQ -> nvic@3
8691
DMARequest -> dma1@1
8792

93+
crc: CRC.STM32_CRC @ sysbus 0x40023000
94+
series: STM32Series.F0
95+
8896
dma1: DMA.STM32G0DMA @ sysbus 0x40020000
8997
numberOfChannels: 7
9098
[0-6] -> nvic@[11-17]
@@ -120,7 +128,6 @@ st7789: Video.ST7789 @ spi1
120128
knobB -> gpioPortB@7
121129
keyDown -> gpioPortB@6
122130
keySpace -> gpioPortA@3
123-
keySpaceInvert:false
124131

125132
sysbus:
126133
init:

0 commit comments

Comments
 (0)