Skip to content

Commit

Permalink
feat: gen HPM6300
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jun 11, 2024
1 parent d8787e3 commit b1aa52b
Show file tree
Hide file tree
Showing 33 changed files with 1,436 additions and 203 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
[badge-docs-rs]: https://img.shields.io/docsrs/hpm-metapac?style=for-the-badge
[docs-rs]: https://docs.rs/hpm-metapac


The structured MCU DB of HPM MCUs. The home of [hpm-metapac][docs-rs].

## MCU Family
Expand Down
2 changes: 1 addition & 1 deletion d
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ case "$CMD" in
;;
gen)
rm -rf build/data
cargo run -p hpm-data-gen && cargo run -p hpm-metapac-gen -- "HPM53*" "HPM67*" "HPM64*"
cargo run -p hpm-data-gen && cargo run -p hpm-metapac-gen -- "HPM53*" "HPM67*" "HPM64*" "HPM63*"
;;
ci)
echo TODO $CMD
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6220.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ cores:
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
include_interrupts: "../interrupts/HPM6280.yaml"
include_dmamux: "../dmamux/HPM6280.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6240.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ cores:
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
include_interrupts: "../interrupts/HPM6280.yaml"
include_dmamux: "../dmamux/HPM6280.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6260.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ cores:
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
include_interrupts: "../interrupts/HPM6280.yaml"
include_dmamux: "../dmamux/HPM6280.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6264.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ cores:
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
include_interrupts: "../interrupts/HPM6280.yaml"
include_dmamux: "../dmamux/HPM6280.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6280.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ cores:
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
include_interrupts: "../interrupts/HPM6280.yaml"
include_dmamux: "../dmamux/HPM6280.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6284.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ cores:
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
include_interrupts: "../interrupts/HPM6280.yaml"
include_dmamux: "../dmamux/HPM6280.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
25 changes: 22 additions & 3 deletions data/chips/HPM6320.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,35 @@ packages:
package: LQFP144
pins: 144
memory:
- address: 0
- address: 0x00000000
kind: ram
name: SRAM
size: 800
name: ILM
size: 128K
- address: 0x00080000
kind: ram
name: DLM
size: 128K
- address: 0x01080000
kind: ram
name: AXI_SRAM
size: 524288 # 512K
- address: 0xF0300000
kind: ram
name: AHB_SRAM
size: 32768 # 32K
- address: 0x80000000
kind: flash
name: XPI0
size: 1048576 # 1M
cores:
- name: RV32-IMAFDCP
ip-core: Andes D45
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6300.yaml"
include_interrupts: "../interrupts/HPM6360.yaml"
include_dmamux: "../dmamux/HPM6360.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
25 changes: 22 additions & 3 deletions data/chips/HPM6330.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,35 @@ packages:
package: LQFP80
pins: 80
memory:
- address: 0
- address: 0x00000000
kind: ram
name: SRAM
size: 800
name: ILM
size: 128K
- address: 0x00080000
kind: ram
name: DLM
size: 128K
- address: 0x01080000
kind: ram
name: AXI_SRAM
size: 524288 # 512K
- address: 0xF0300000
kind: ram
name: AHB_SRAM
size: 32768 # 32K
- address: 0x80000000
kind: flash
name: XPI0
size: 1048576 # 1M
cores:
- name: RV32-IMAFDCP
ip-core: Andes D45
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6300.yaml"
include_interrupts: "../interrupts/HPM6360.yaml"
include_dmamux: "../dmamux/HPM6360.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
25 changes: 22 additions & 3 deletions data/chips/HPM6340.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,35 @@ packages:
package: LQFP144
pins: 144
memory:
- address: 0
- address: 0x00000000
kind: ram
name: SRAM
size: 800
name: ILM
size: 128K
- address: 0x00080000
kind: ram
name: DLM
size: 128K
- address: 0x01080000
kind: ram
name: AXI_SRAM
size: 524288 # 512K
- address: 0xF0300000
kind: ram
name: AHB_SRAM
size: 32768 # 32K
- address: 0x80000000
kind: flash
name: XPI0
size: 1048576 # 1M
cores:
- name: RV32-IMAFDCP
ip-core: Andes D45
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6300.yaml"
include_interrupts: "../interrupts/HPM6360.yaml"
include_dmamux: "../dmamux/HPM6360.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
25 changes: 22 additions & 3 deletions data/chips/HPM6350.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,35 @@ packages:
package: LQFP144
pins: 144
memory:
- address: 0
- address: 0x00000000
kind: ram
name: SRAM
size: 800
name: ILM
size: 128K
- address: 0x00080000
kind: ram
name: DLM
size: 128K
- address: 0x01080000
kind: ram
name: AXI_SRAM
size: 524288 # 512K
- address: 0xF0300000
kind: ram
name: AHB_SRAM
size: 32768 # 32K
- address: 0x80000000
kind: flash
name: XPI0
size: 1048576 # 1M
cores:
- name: RV32-IMAFDCP
ip-core: Andes D45
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6300.yaml"
include_interrupts: "../interrupts/HPM6360.yaml"
include_dmamux: "../dmamux/HPM6360.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
25 changes: 22 additions & 3 deletions data/chips/HPM6360.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,35 @@ packages:
package: LQFP144
pins: 144
memory:
- address: 0
- address: 0x00000000
kind: ram
name: SRAM
size: 800
name: ILM
size: 128K
- address: 0x00080000
kind: ram
name: DLM
size: 128K
- address: 0x01080000
kind: ram
name: AXI_SRAM
size: 524288 # 512K
- address: 0xF0300000
kind: ram
name: AHB_SRAM
size: 32768 # 32K
- address: 0x80000000
kind: flash
name: XPI0
size: 1048576 # 1M
cores:
- name: RV32-IMAFDCP
ip-core: Andes D45
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6300.yaml"
include_interrupts: "../interrupts/HPM6360.yaml"
include_dmamux: "../dmamux/HPM6360.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
25 changes: 22 additions & 3 deletions data/chips/HPM6364.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,35 @@ packages:
package: LQFP144
pins: 144
memory:
- address: 0
- address: 0x00000000
kind: ram
name: SRAM
size: 800
name: ILM
size: 128K
- address: 0x00080000
kind: ram
name: DLM
size: 128K
- address: 0x01080000
kind: ram
name: AXI_SRAM
size: 524288 # 512K
- address: 0xF0300000
kind: ram
name: AHB_SRAM
size: 32768 # 32K
- address: 0x80000000
kind: flash
name: XPI0
size: 1048576 # 1M
cores:
- name: RV32-IMAFDCP
ip-core: Andes D45
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6300.yaml"
include_interrupts: "../interrupts/HPM6360.yaml"
include_dmamux: "../dmamux/HPM6360.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6420.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ cores:
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6700_6400.yaml"
include_interrupts: "../interrupts/HPM6750.yaml"
include_dmamux: "../dmamux/HPM6750.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
2 changes: 2 additions & 0 deletions data/chips/HPM6430.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ cores:
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6700_6400.yaml"
include_interrupts: "../interrupts/HPM6750.yaml"
include_dmamux: "../dmamux/HPM6750.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6450.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ cores:
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6700_6400.yaml"
include_interrupts: "../interrupts/HPM6750.yaml"
include_dmamux: "../dmamux/HPM6750.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6454.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ cores:
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6700_6400.yaml"
include_interrupts: "../interrupts/HPM6750.yaml"
include_dmamux: "../dmamux/HPM6750.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
2 changes: 2 additions & 0 deletions data/chips/HPM6730.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ cores:
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6700_6400.yaml"
include_interrupts: "../interrupts/HPM6750.yaml"
include_dmamux: "../dmamux/HPM6750.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6750.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ cores:
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6700_6400.yaml"
include_interrupts: "../interrupts/HPM6750.yaml"
include_dmamux: "../dmamux/HPM6750.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
Expand Down
3 changes: 3 additions & 0 deletions data/chips/HPM6754.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ cores:
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6700_6400.yaml"
include_interrupts: "../interrupts/HPM6750.yaml"
include_dmamux: "../dmamux/HPM6750.yaml"
gen_dma_channels:
HDMA: 8
XDMA: 8
2 changes: 2 additions & 0 deletions data/chips/HPM6830.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ cores:
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
include_interrupts: "../interrupts/HPM6830.yaml"
include_dmamux: "../dmamux/HPM6880.yaml"
_raw:
"| HPM6830 | Single-core 32-bit | 1064 | | Gigabit | CAN FD | USB HS w/ PHY\
\ \xD71 | AES128/256, SHA-1/256 | 1\xD716 bit | 17\xD717 417BGA P0.8 | \u221240\
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6850.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ cores:
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
include_interrupts: "../interrupts/HPM6850.yaml"
include_dmamux: "../dmamux/HPM6880.yaml"
_raw:
"| HPM6850 | Single-core 32-bit | 1064 | 4 | Gigabit | CAN FD | USB HS w/ PHY\
\ \xD71 | AES128/256, SHA-1/256 | 1\xD716 bit | 17\xD717 417BGA P0.8 | \u221240\
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6880.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ cores:
peripherals: []
include_peripherals:
- "../family/COMMON.yaml"
include_interrupts: "../interrupts/HPM6880.yaml"
include_dmamux: "../dmamux/HPM6880.yaml"
_raw:
"| HPM6880 | Single-core 32-bit | 1064 | 4 | Gigabit | CAN FD | USB HS w/ PHY\
\ \xD71 | AES128/256, SHA-1/256 | 1\xD716 bit | 17\xD717 417BGA P0.8 | \u221240\
Expand Down
Loading

0 comments on commit b1aa52b

Please sign in to comment.