Repository navigation
boards/arm/n32h7: Add N32H765ZIL7_STB board support - #22591
Conversation
2c3eba7 to
71a97f1
Compare
|
|
The |
|
@freakishness please fix: |
Two defects in n32h76x_rcc.c: - rcc_reset() calls n32_pwr_setcorepwrsrc() unconditionally, which fails to link when CONFIG_N32H7_PWR is not enabled. Guard the call with that configuration. - rcc_enableapb1() reads N32_RCC_APB1EN1 but writes the result back to N32_RCC_APB1EN2. The enabled bits (_M7SPI3EN, _M7DAC12EN, _M7WWDG2EN) live in EN2, so read EN2 to preserve the other bits in that register instead of clobbering them with the EN1 value. Signed-off-by: liuzhao <aroma0225@gmail.com>
Add CONFIG_ARCH_CHIP_N32H765ZI to the N32H7 chip choice. Like the N32H762II, this part has N32H76X peripherals and I-sized flash; it selects the Z pinout. Extend the chip guard in chip.h and irq.h so the memory map and interrupt definitions are selected for this part. Signed-off-by: liuzhao <aroma0225@gmail.com>
71a97f1 to
0605926
Compare
26cd097
0605926 to
26cd097
Compare
26cd097 to
65437a8
Compare
simbit18
left a comment
There was a problem hiding this comment.
Hi @freakishness Please add Documentation to the N32H765ZIL7 chip and the Nation Tech N32H765ZIL7_STB development kit board.
https://nuttx.apache.org/docs/latest/platforms/arm/index.html
Use the template https://github.com/apache/nuttx/blob/master/Documentation/contributing/doc_templates/board.rst all boards needs to have tags, pictures, etc.
a43adff to
d9c1b11
Compare
Add board support for the Nation Tech N32H765ZIL7_STB development kit. Signed-off-by: liuzhao <aroma0225@gmail.com>
d9c1b11 to
9bdaf56
Compare
Summary
(N32H765ZIL7, Cortex-M7).
arch/arm/src/n32h7: add theARCH_CHIP_N32H765ZIchip choiceboards/arm/n32h7/n32h765zil7_stb: new board directory with the NSHprofile (on-chip UART console, LEDs, buttons, user GPIO, PWM, SD/MMC,
USB device, CORDIC and PROGMEM).
Impact
config is added; existing configurations are unchanged. The
rccchange only affects builds that compile
n32h76x_rcc.c.YES: adds an N32H7 arch board and the
N32H765ZIchip variant.provided in this PR.
rcc_enableapb1()fix alsoaffects the existing N32H762II build path (same source file).
Testing
I confirm that changes are verified on local setup and works as intended:
16.2.0, CMake + Ninja.
n32h765zil7_stb:nsh.Testing logs before change:

PR verification Self-Check
commit title and message, coding standard, etc).