143 Commits

Author SHA1 Message Date
4ae33547e3 update deps
Signed-off-by: Zixun LI <admin@hifiphile.com>
2026-01-14 09:59:49 +01:00
239e20ba73 support for the AT32F45X series 2025-12-30 10:44:03 +08:00
abf27bfa37 Merge remote-tracking branch 'tinyusb/master' into support-nxp-rw612
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-16 20:47:37 +01:00
22534a6019 Merge remote-tracking branch 'tinyusb/master' into support-nxp-rw612
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-12-16 11:51:42 +01:00
15e3324579 cleanup, add preset
Signed-off-by: Zixun LI <admin@hifiphile.com>
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-16 13:23:19 +08:00
ba3319d90d support hpmicro chips
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-12-16 13:08:30 +08:00
b43b99a571 bsp: nxp: add support for RW612 (FRDM-RW612)
- Added `rw61x` family support.
- Added `frdm_rw612` board support.
- Update `get_deps.py` to include mcux-sdk for RW61x.
- Add ci_hs_rw61x include to ChipIdea HS driver and enable host examples.
2025-12-14 01:30:12 +01:00
80886fb32a Merge branch 'refs/heads/master' into hcd_fsdev 2025-12-13 14:56:15 +07:00
919ee4b152 update metrics to support bloaty csv 2025-12-10 11:33:31 +07:00
16c92b50b0 update metrics to support bloaty 2025-12-09 19:00:14 +07:00
c0113f0de1 fix metrics.py compare with verbose json. add print compare summary 2025-12-06 02:28:14 +07:00
f51ca33f25 upload metrics.json and aggregate code metrics, post metrics comment
fine tune ci matrix run
2025-12-03 23:04:49 +07:00
ee3d3e3551 upload metrics.json and aggregate code metrics, fine tune ci matrix run 2025-12-03 11:00:57 +07:00
3d190475ad upload metrics.json, test ci 2025-12-03 00:44:12 +07:00
09e1113aaf adding metrics for computing average compiled size 2025-12-02 23:55:24 +07:00
7a4af1e9b8 Merge remote-tracking branch 'tinyusb/master' into hcd_fsdev 2025-12-02 12:00:59 +01:00
c859744784 adding metrics for computing average compiled size 2025-12-02 13:01:49 +07:00
a337a6d337 run linkermap as post build for size analyze 2025-12-01 18:37:16 +07:00
df6f136003 add linkermap to deps and linkermap taget 2025-12-01 14:46:47 +07:00
7ee288bc22 change armgcc setup to manual download due to issue with action (#3377)
* change armgcc setup to manual download due to issue with action
* build windows, macos with cmake as well
2025-11-29 01:41:30 +07:00
f3ac009adb fix build
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-27 23:31:43 +01:00
55227a6146 fix more warnings 2025-10-15 16:37:01 +07:00
367044e487 fix lots of warnings for missing-prototypes for irqhandler 2025-10-14 23:02:32 +07:00
ee7a7c56db get cmake build with 54h20 not tested on actual hw, probably not running 2025-10-13 12:41:55 +07:00
ec5436bd16 bsp: Add STM32U083C-DK board
Signed-off-by: Mengsk <admin@hifiphile.com>
2025-09-29 16:09:34 +02:00
9f055f113c missing cmsis5 for wba 2025-09-12 11:34:06 +07:00
040d1b43f1 Make get_deps.py WBA definition consistent with upstream and other defs 2025-09-11 09:09:16 -07:00
19f67ffc22 Initial STM32WBARI eval support
Clean up includes definitions

Remove wait that is not required

Remove redundant settings

Clean up clock configuration to look like other modules

Remove MSP_Init that is not required

Clean up driver code

dhcp: Fix DHCP_OFFER/DHCP_ACK destinaton.

In RFC 2131, the destination of DHCP OFFER/ACK is defined in Section 4.1.
Fix the destination error by following the rule of RFC 2131.
TODO: We implement all rule but the last one. ARP table is required to associate client's macaddr.
Currently, fallback to broadcast.

Signed-off-by: Elwin Huang <s09289728096@gmail.com>

Fix compile error.

Fix goto indentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Fix osal_spin_unlock for mynewt

Mynewt version for osal_spin_unlock() called
OS_ENTER_CRITICAL instead of OS_EXIT_CRITICAL.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>

Add ESP32-C5 and ESP32-C61 definitions

fix(dcd/dwc2): Fix reset procedure for versions >=4.20a

Fix STM32L4 GPIOD clock enable for variants without GPIOD

Add weact blackpill support

Add to boards.rst file

Fix file

Small cleanups.

Insert small delay for LowSpeed device

Improve retry operation at NAK response.

Remove dynamic memory allocation

use tusb_time_millis_api() instead of board_millis()
make loopdelay() always inline

update at32f405 dwc2 info and phy width selection

add at32f415 dwc2 info

add some consumer page configs

remove duplicated enum

Initial plan

Fix obsolete cnt assignment in _tu_fifo_peek() overflow check

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

Initial plan

Update STM32 CMSIS dependencies to fix HSITRIM register bug

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

Remove accidentally committed dependency directories

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

Update all STM32 HAL driver dependencies to latest versions

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

fix linker h745 issue with clang

fix linker h745 issue with clang

Update all STM32 CMSIS device dependencies to latest versions

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

update pio-usb

Create comprehensive GitHub Copilot instructions and fix pre-commit configuration for TinyUSB (#3234)

* Initial plan

* Create comprehensive GitHub Copilot instructions for TinyUSB

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Remove accidentally committed dependencies, use tools/get_deps.py instead

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Fix .gitignore: ignore vendor/ directory not ceedling script

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Revert .gitignore changes and add README_processed.rst

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Remove README_processed.rst and revert ceedling file permissions

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Changes before error encountered

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Remove redundant manual validation step, keep only pre-commit and build validation

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* fix pre-commit

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

modified the bsp files of at32 to make them work better

the family name error of at32 has been corrected

fix pre-commit

STM32N6570-DK board is added. Build with DEBUG=1 (make BOARD=stm32n6570dk DEBUG=1 all), otherwise it does not work for now. Tested with examples/device/cdc_dual_ports
2025-09-10 11:12:49 -07:00
b2cdea9813 Merge pull request #3237 from hathach/update-pio-usb
update pio-usb
2025-09-04 17:58:21 +07:00
90080d4326 update pio-usb 2025-09-04 17:24:00 +07:00
78ab527a55 Update all STM32 CMSIS device dependencies to latest versions
Co-authored-by: hathach <249515+hathach@users.noreply.github.com>
2025-09-04 08:54:51 +00:00
7625b86d4b Update all STM32 HAL driver dependencies to latest versions
Co-authored-by: hathach <249515+hathach@users.noreply.github.com>
2025-09-04 07:47:18 +00:00
fe42b3a7cc Update STM32 CMSIS dependencies to fix HSITRIM register bug
Co-authored-by: hathach <249515+hathach@users.noreply.github.com>
2025-09-04 06:29:43 +00:00
a16c7a27e4 Merge pull request #3191 from hathach/at32
support at32 mcu (2)
2025-08-01 10:39:47 +07:00
aacd73ba42 Add nanoch32v305 2025-07-24 22:36:59 +08:00
b5694fd40a add option to pass symbol defines to ci build.py
add build.args option for hil json
add MAX3421_HOST=1 for metro m4 express
2025-07-09 21:54:23 +07:00
73bf9aeaa6 support at32 mcu 2025-07-07 14:13:15 +08:00
76b7468c74 ci skip clang/iar build for stm32n6
add stm32-tcpp0203 driver as dependency for h7rs and n6
2025-06-12 15:32:36 +07:00
386f33807a Merge branch 'master' into fork/james-advatek/stm32n657nucleo 2025-06-12 11:02:54 +07:00
d3d505e8f7 Merge branch 'master' into fork/HiFiPhile/h7rs 2025-06-11 16:23:54 +07:00
b56265f381 merge all maxim (32650, 32666, 32690, 78002) family into common bsp/maxim. Only support cmake build system
rename hw/mcu/analog/max32 to hw/mcu/analog/msdk
2025-06-10 22:28:03 +07:00
56c9521abd chore: squash previous commits from other branches 2025-06-04 11:21:27 +10:00
5428b87948 Merge pull request #3103 from wavenumber-eng/mcxa156__sdk216
Added initial support for FRDM-MCXA156 and fixed up  a crash with FRDM-MCXN947
2025-05-16 22:32:04 +07:00
6346fbec16 Merge branch 'master' into h7rs 2025-05-15 21:40:36 +02:00
38e5a67461 bump up pio-usb and codeql version 2025-05-15 10:27:00 +07:00
ed087b9ed8 pump up pico-pio-usb and cmsis_device_wb 2025-05-13 16:13:50 +07:00
f392b4c91d Added initial support for FRDM-MCXA156 and fixed up a crash with MCXN947
I will be porting tinyuf2 to MCXA156 and N947 and need this work in place.

This is the 1st step before bringing in support for other MCX devices.

We had previous patched https://github.com/hathach/mcux-sdk.git'  for MCX support as it was not pulically available

I updated get_deps to point to the mcux-sdk version 2.16.10 from NXP. I repointed the entry in the get_deps script to use NXP MCU repo.  The existing current code couldn't build as the MCUXpresso SDK was old.

- For now, I put a copy of fsl_spc.c in the drivers folder for the mcx family.  None of the ports could build with the version in the mcux github sdk.  The sdk on github has version 2.4.0.   The SDK package that can be downloaded with the SDK generator uses 2.4.2.  All of the clock_config routines use versions of the datastructure from 2.4.2.  For now, keeping an updated copy in hw/bsp/mcx/drivers so we can build against the latest mcuxpresso sdk and enable MCXA156.  I'll file an issue on the nxp github.

- Cleaned up the MCX family.c a little bit.  the MCXA/N these chips don't have SCT so I removed the neopixel code.

- fixed a clock init issue w/ N947 that was causing it to crash when initializing the uart.

- I tested the cmake and make scripts on the A153,A156 and N947 using the CDC/MSC sample.  All worked OK.

- Patched get_deps so it will do a fetch/check on a new folder.  Some of the deps were failing on a fresh clone of tinyusb

- Fixed  lpc51,54 and lpc55 make/cmake files to build with mcuxpresso sdk 2.16.10  The folder structure for flexcomm/uart changed a little bit

- lpc55s59 libpower_hardabi.a no longer is included in mcuxpressosdk, (fsl_power.c is replacement). remove of libpower_hardabi.a from the linker config.  LPC55 still works as expected.

- Using tinyuf2 get deps
2025-04-27 09:42:42 -04:00
0937a2b2d3 using get-deps from tinyuf2 2025-04-27 09:38:18 -04:00
b2a4407bd5 Merge remote-tracking branch 'upstream/master' into h7rs 2025-04-12 17:08:49 +02:00
65e01fff2e add tuh_edpt_close() API, it will abort any pending transfer
implement hcd_edpt_close() for pio-usb and max3421e, also move max3421e api into its own header.
2025-03-25 16:15:58 +07:00