Skip to content

Commit

Permalink
Add MIMXRT1040 target (#3016)
Browse files Browse the repository at this point in the history
  • Loading branch information
mciantyre authored Jan 14, 2025
1 parent 902660b commit eafa540
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/added-mimxrt1040.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added support for NXP's MIMXRT1040.
68 changes: 68 additions & 0 deletions probe-rs/targets/MIMXRT1040.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: MIMXRT1040 Series
manufacturer:
id: 0x15
cc: 0x0
variants:
- name: MIMXRT1040
cores:
- name: main
type: armv7em
core_access_options: !Arm
ap: 0
memory_map:
- !Ram
name: OCRAM
range:
start: 0x20200000
end: 0x20240000
cores:
- main
- !Nvm
name: FlexSPI
range:
start: 0x60000000
end: 0x60800000
cores:
- main
- !Ram
name: ITCM
range:
start: 0x00000000
end: 0x00020000
cores:
- main
- !Ram
name: DTCM
range:
start: 0x20000000
end: 0x20020000
cores:
- main
flash_algorithms:
- mimxrt104x_qspi_4kb_sec
flash_algorithms:
- name: mimxrt104x_qspi_4kb_sec
description: MIMXRT104x 8mB QuadSPI NOR Flash
default: true
instructions: ELWCsAcgzPIAAACQAPBQ+EDyCARqRsDyAAQAIAnrBAEA8Br7ELEBIAKwEL0J6wQBACAA8On6ACgYvwEgArAQvQAgcEcAvwC/gLVA8ggAwPIAAAnrAAEAIADw8voAKBi/ASCAvQC/AL+AtUDyCAEA8SBCwPIAAQAgSURP9IBTAPD3+gAoGL8BIIC9AL8AvwC/gLVA8ggBE0bA8gABAPEgQklEACAA8Lz6ACgYvwEggL0cIEDyCCHA8iAAwPIAAQBoSfgBAHBHAL+AtUDyCCLA8gACWfgCIJJpUmiQR4C9AL+AtUDyCCHA8gABWfgBEIlpiWiIR4C9AL+AtUDyCCLA8gACWfgCIJJp0miQR4C9AL+AtUDyCCHA8gABWfgBEIlpCWmIR4C9AL+AtUDyCCLA8g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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
load_address: 0x20209000
pc_init: 0x1
pc_uninit: 0x41
pc_program_page: 0x91
pc_erase_sector: 0x69
pc_erase_all: 0x49
data_section_offset: 0xa04
flash_properties:
address_range:
start: 0x60000000
end: 0x60800000
page_size: 0x100
erased_byte_value: 0xff
program_page_timeout: 100
erase_sector_timeout: 5000
sectors:
- size: 0x1000
address: 0x0
cores:
- main
stack_size: 1024

0 comments on commit eafa540

Please sign in to comment.