summaryrefslogtreecommitdiff
path: root/hw/bsp/imxrt
AgeCommit message (Collapse)Author
2026-07-24address #3787 Codex round 2: board-gate PHY resets, session robustnesshathach
The board-specific PHY-reset nets move behind a board.h opt-in (TRACE_ETM_QUIET_ENET_PHY on same70_xplained and mimxrt1170_evkb) so other boards of those families cannot inherit a foreign GPIO write; the chip-level trace pin muxes stay family-wide by design (same pattern as stm32h7). same70 reference: width 1 is the validated default until the J403.16 rework, and the hooks now wait (bounded) for PCKRDY3 before Ozone arms trace. ra8m1 reference caches the boot ROM in AfterTargetConnect so --attach sessions decode ROM execution too. etm_capture rejects an unexpanded CMake JLINK_DEVICE with a clear error; PIO-USB + TRACE_ETM on RP2350 is now a compile error (48 MHz trace clock is too slow for PIO-USB and a runtime switch would desync the stream); etm_profile keeps same-named statics from different modules as distinct rows. Build-verified: same70_xplained, mimxrt1170_evkb, raspberry_pi_pico2.
2026-07-24address #3787 reviews: bsp fixes, script hardening, board-note accuracyhathach
Bot findings (Copilot/Codex): no-op board_trace_pinmux stubs for lpcxpresso18s37/43s67 (TRACE_ETM otherwise broke their build), SAME70 ID_PIOD clock enable, capture-script duplicate BeforeTargetConnect on the RA references, profile-script support for --no-timestamps itraces. Deep review (whole branch): same70_xplained board row + caveat restored, stale pico2 72 MHz claim corrected to the shipped 48, explicit SetTracePortWidth(4) in the three references that relied on Ozone's default, coverage-cell guard, median-based SysTick calibration, dead session flag removed, stale RA8M1 divider comment fixed (0x02 = /4 is the validated chip max) and the debugger guard indented. EVKB bench findings: only R1884/D3 remains open (D1/D2 meter-verified); RT1176 trace width is 1 or 4 only - J-Link arms the CSSYS TPIU and its own sampler at 4-bit for any width>=2 request; a powered MCU-Link USB breaks the external probe even with JP4 shorted.
2026-07-24imxrt: hold EVKB Ethernet PHY in reset while tracing, 50 MHz trace pinhathach
Fresh bring-up pass on mimxrt1170_evkb: holding the 100M RTL8201 in reset (ENET_RST_B = GPIO_LPSR_04) stops its RMII lines driving against the shared trace pads and doubles the clean trace-pin rate to 50 MHz (100 MHz CSTRACE root; 133 MHz root is marginal, stock 132 corrupts). Validated 3x 8 s TinyUSB captures at 11.46M fetches. D1-D3 remain silent in every configuration - the welded R1882-R1884 are electrically open; reflow is the remaining step to width 4. Board notes gain JP4 (must be shorted for an external probe on J58).
2026-07-24imxrt: TRACE_ETM for RT1011 and RT1176, validate both boardshathach
metro_m7_1011 (custom ETM-header rework): 500 MHz core, 66 MHz TRACECLK width 4, +50 ps; trace_etm_init ungates the 132 MHz trace root that BOARD_BootClockRUN leaves gated. mimxrt1170_evkb: 996 MHz CM7 at width 1, CSTRACE pinned to 50 MHz (stock 132 corrupts - the Ethernet PHY loads the CLK net) and the CM7 platform trace-funnel port enabled in firmware: J-Link does not program that funnel and everything reads register-perfect yet silent without it. FlexSPI boot needs the committed SP/PC hooks; D1-D3 stay dead pending the R1882-R1884 continuity check (width-4 TODO).
2026-05-08reduce NTM sizeHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-04-06remove IAR toolchain support from make build systemhathach
IAR is only supported with CMake. Remove all IAR-specific references from the Make build system including toolchain files, SRC_S_IAR, LD_FILE_IAR variables, and IAR toolchain detection. Also fix GET_SECTOR_COUNT truncation in msc_file_explorer and broken formatting in stm32f7 board_uart_write. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-04-05Merge pull request #3587 from hathach/teensy_configHa Thach
bsp/imxrt: refresh teensy config
2026-04-05Merge pull request #3584 from hathach/fix-hilHa Thach
Fix CDC echo test issue for IMXRT and fast MCUs
2026-04-03bsp/imxrt: refresh teensy configHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-04-03fix hil host cdc echo test with imxrt and other fast mcuhathach
2026-04-02fixed uart pin init for teensyfelhub
2026-03-11migrate imxrt to use new mcux-devices-rthathach
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2025-12-20SCB_EnableDCache() is required for rt1011hathach
2025-11-25bsp: Disable SysTick ISR if FreeRTOS is enabledZixun LI
2025-11-07fix more alerts found by pvs-studiohathach
2025-10-28fix warning with strict prototypes warningshathach
2025-10-28disable warning for startup filehathach
2025-10-23refactor family.cmake: rename add_board_target() to family_add_board() and ↵hathach
move it to family_configure_common() also move startup and linker from board target to actual exe
2025-10-15fix build warning with clanghathach
2025-10-14fix lots of warnings for missing-prototypes for irqhandlerhathach
2025-09-15fix imxrt buildhathach
2025-09-12Move BOARD_ConfigMPU into board specific initHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-12Fix IAR buildHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-07-02remove legacy DEPS_SUBMODULES in makehathach
2025-03-26hcd/ehci: hcd_edpt_open() return false if ep is already opened. implement ↵hathach
hcd_edpt_close()
2025-03-26added mimxrt1064_evk to hil test poolhathach
2025-03-26imxrt: disable BOARD_ConfigMPU() since it cause issue with imxrt1060/64. ↵hathach
Update imxrt configtool forr some board to get uart pin init.
2025-01-25cmake remove EXAMPLE-tinyusb target as libraryhathach
2025-01-24add cmake RTOS=zephyr (default noos) for zephyr buildhathach
2025-01-22- change to use CMAKE_SYSTEM_CPU to prevent CMAKE_SYSTEM_PROCESSOR conflict ↵hathach
with zephyr - change tinyusb CMakeLists.txt to function tinyusb_target_add() instead of defining tinyusb lib target
2024-12-27embed metadata to family.c and board.h to generate supported boards dochathach
2024-12-17enable CFG_TUD/THU_MEM_DCACHE_ENABLE for imxrt with M7 by defaulthathach
2024-11-30Fix cmake options.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-11-30Add bin & hex output to cmake targets.HiFiPhile
2024-11-30Fix CI.HiFiPhile
2024-11-02mimxrt1170_evkb: add M4 build support.HiFiPhile
2024-11-02Replace cache clean/invalidate by MPU config.HiFiPhile
2024-10-10add new tusb_int_handler(rhport, in_isr) as common irq handlerhathach
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-07-18fix make buildhathach
2024-07-18add unique id for imxrthathach
2024-04-24fix make build due to clang changeshathach
2024-04-23clang work with lpc54hathach
2024-04-22clang work with imxrt tested with metro rt1011 and rt1060 evk. Don't use ↵hathach
startfiles for imxrt
2023-12-18update FreeRTOSConfig.hhathach
- remove configAssert() - configCHECK_HANDLER_INSTALLATION=0 (to prevent unused-parameter error with configAssert(x)=nil
2023-11-23move tools/cmake to examples/build_systemhathach
2023-11-23make nanolib linking explicitly by each family/boardhathach
2023-11-22correctly use xtal for initialize usbphy, rt1170 usb is workinghathach
2023-11-22minor update board.hhathach
2023-11-16switch freertos to static allocation only (dynamic = 0), since it is ↵hathach
possible now with latest freertos cmake