Commit Graph

1232 Commits

Author SHA1 Message Date
hathach 8aa28e63fb
minor clean up with include_guard() 2023-06-26 17:54:31 +07:00
hathach 3cfb838ba7
fix warnings when enable rtt with rp2040 2023-06-26 17:03:45 +07:00
hathach 200e58d11e
auto detect FAMILY based on BOARD 2023-06-26 13:38:24 +07:00
hathach 2ecd7c148d
fix ci with lpc55 and kl, move hw test l4 to cmake iar 2023-06-25 09:55:05 +07:00
hathach 15376397b1
run ci with -DCMAKE_BUILD_TYPE=MinSizeRel 2023-06-25 00:05:23 +07:00
hathach a64d5607a7
fix l4 freertos build 2023-06-24 23:17:28 +07:00
hathach b9cefb1440
fix build with L4 2023-06-24 23:10:01 +07:00
hathach c81d8b43a1
fix ci build 2023-06-24 22:58:15 +07:00
hathach 430f16bf76
move all IAR to cmake 2023-06-24 22:36:53 +07:00
hathach 2a96ef2519
add cmake for f0, f1 2023-06-24 21:47:55 +07:00
hathach eb4380fa14
more make update 2023-06-24 20:17:48 +07:00
hathach 2216704db8
rename GCC_CFLAGS to CFLAGS_GCC, GCC_SRC_S to SRC_S_GCC etc .. 2023-06-24 19:31:33 +07:00
hathach 086c1d4090
more CPU_CORE 2023-06-24 18:54:14 +07:00
hathach eb7fcf1b74
add CPU_CORE for all family 2023-06-24 18:38:41 +07:00
hathach b59b65d2ed
rename to kinetis_k32l2, rename OPT_MCU_KINETIS_K32 to OPT_MCU_KINETIS_K32L 2023-06-24 18:26:51 +07:00
hathach dbf7534cd4
update all stm32 to use new enhance make 2023-06-24 18:09:05 +07:00
hathach edbf06aaab
separate iar and gcc build for clean make, also add cpu specific make 2023-06-24 17:35:37 +07:00
hathach c789cfe518
use system_nrf5x.c built-in support for ETM with ENABLE_ETM 2023-06-20 16:13:10 +07:00
hathach 19c99d3b42
etm trace for nrf52840 2023-06-20 13:19:08 +07:00
hathach 1b658ae109
add etm trace for mcb1800
clean up other ide setting
2023-06-20 13:12:12 +07:00
hathach 7dc6829519
enable etm trace support for h743 eval 2023-06-19 16:33:47 +07:00
hathach 1419091923
update h7 to cmake, and move iar build to cmake 2023-06-16 16:47:32 +07:00
hathach e754795d3a
fix build warnings 2023-06-16 15:29:34 +07:00
hathach a7f330fa94
fix build, update freertos config for cmake 2023-06-16 14:17:25 +07:00
hathach 65d6acdbfa
fix build warnings 2023-06-16 12:02:42 +07:00
hathach 8af8869d3b
renam OPT_MCU_MIMXRT to OPT_MCU_MIMXRT1XXX
fix build util with makefile
2023-06-16 11:26:38 +07:00
hathach d70403f1f4
refactor khci to chipidea fs driver for device (host is not yet) 2023-06-15 13:06:27 +07:00
hathach bce282186e
update kinetis kl to use mcx-sdk, also add cmake support
note: cdc_msc_freertos built but does not seems to work with kl
2023-06-14 22:36:44 +07:00
hathach 31a66eb5bc
mcx neeed helps to locate rtt control block 2023-06-14 15:33:57 +07:00
hathach 8b8b9690ad
update segger rtt to fix cast align 2023-06-14 12:01:21 +07:00
Ha Thach bbc76e7777
Merge pull request #2104 from hathach/g4-pd
Initial support for USB PD stack
2023-06-12 23:14:48 +07:00
hathach 912802456b
move protocol message to stack, disable battery in PWR's CR3
there is still issue with CC1/CC2 pull down resistor and vstate is not
correct.
2023-06-09 18:15:28 +07:00
hathach 9c2a8490af
dma rx works well 2023-06-08 13:37:37 +07:00
graham sanderson 0493983a8f movement of TOP in c0ecf8b5 broke RP2040 SDK build 2023-06-07 14:46:14 -05:00
hathach b893f1d541
inital support for usb typec and pd example 2023-06-07 15:10:40 +07:00
hathach 914e82b25d
able to receive first PD message 2023-06-07 09:36:37 +07:00
hathach e02eee7477
revert board flash latency to 8 2023-06-07 00:14:22 +07:00
hathach b3fda4a354
able to get usbpd irq handler
- handle cc1, cc2 voltage changes
- get order set, rx message end interrupt
- add  segger rtt support for cmake
2023-06-06 23:55:33 +07:00
hathach a70978e057
clean up 2023-06-05 19:53:40 +07:00
hathach f6a45a7aab
clean up 2023-06-05 15:41:45 +07:00
Martino Facchin cdbd3a0b4e Merge remote-tracking branch 'mainline/master' into HEAD
Update fsp to 4.0.0
2023-06-05 09:12:50 +02:00
hathach c2bc363f06
build g0 g4 iar cmake 2023-06-02 16:11:00 +07:00
hathach bb795e6a5e
update cmake to build with IAR for g0 and g4 2023-06-02 15:26:16 +07:00
hathach fcf7791454
add IAR support for G0 with cmake 2023-06-02 13:27:18 +07:00
hathach e7090c7514
cmake refactor 2023-06-02 11:42:17 +07:00
hathach ba3d71b615
fix usb clock for dpow1 2023-06-02 10:19:46 +07:00
hathach c3bde520cc
add new b_g474e_dpow1 board 2023-06-01 22:16:30 +07:00
hathach dc3afdbf3b
add note for B0 clock variant 2023-06-01 20:52:48 +07:00
hathach c750030f7a
add freertosconfig for g0, add cmake stlink, add g0 to cmake ci 2023-06-01 17:09:00 +07:00
hathach 6280cba6e8
tested with g0b1 nucleo 2023-06-01 16:52:58 +07:00
hathach 6b44d8fb55
add cmake support for g0, exlicitly call HAL_Init() and also HAL_IncTick() in systick irq, fix button active state. 2023-06-01 15:58:02 +07:00
hathach af59864ab5
Merge branch 'master' into feature/STM32G0 2023-06-01 13:28:28 +07:00
hathach 62b2d05d34
skip set CMAKE_EXECUTABLE_SUFFIX for espressif port 2023-06-01 12:50:32 +07:00
hathach 19a597bcae
add lto for cmake 2023-06-01 12:36:08 +07:00
hathach 7ac85d08c7
move lpc18 and rp2040 to cmake workflow since rp2040 often failed randomly with make 2023-05-26 16:37:47 +07:00
hathach 05cc342dfa
update deps, rename kinetis_k32 to k32l 2023-05-26 15:45:55 +07:00
hathach c0ecf8b50f
move set TOP to family_support.cmake 2023-05-26 14:56:22 +07:00
hathach 4c9605910f
update cmake with freertos 2023-05-25 21:27:26 +07:00
hathach 5fea010406
add family_support_configure_common() 2023-05-25 17:27:05 +07:00
Ha Thach 1ef820ecfe
Enhance chipidea (#2075)
* update chipidea dcd, remove manual ep_count and use DCCPARAMS to get number of endpoint instead
* add dcd dcache for chipidea
* add cmake for lpc18
* add makefile build for mcx
* use fork of mcu sdk
* fix ci build with nrf
* flash rp2040 with openocd
2023-05-23 21:45:00 +07:00
hathach 9f0bae4c3f
fix freertos build with nrf 2023-05-19 18:04:08 +07:00
hathach 49d8d27770
improve flash target 2023-05-19 16:27:07 +07:00
hathach 270136e84a
adding cpu core .mk for makefile
fix cortex m33 for nrf5340 dk
2023-05-19 16:02:26 +07:00
hathach e8dd200fed
move cmake folder to tools/ 2023-05-19 14:46:39 +07:00
hathach 5dae5e1292
ehci fix dcache clean when control endpoint failed 2023-05-19 13:32:49 +07:00
hathach eb89df4115
adding hcd_dcache_clean/hcd_dcache_invalidate 2023-05-17 16:14:35 +07:00
hathach 1c4f22a54c
EHCI: fix xfer failed with disconnected device as stalled
- change CFG_TUH_ENDPOINT_MAX to 16 (max endpoint pair per device) if
not defined
- change QHD_MAX for EHCI, should be user configurable and more
optimized in the future
2023-05-16 11:09:22 +07:00
hathach 116a258858
fix nrf build 2023-05-16 10:14:00 +07:00
hathach d7175ad834
update nrf cmake and make to support nrf5340 (pca10095) 2023-05-15 23:34:24 +07:00
hathach 9fd0fee458
adding nrf 2023-05-15 14:25:42 +07:00
Ha Thach a57ba87859
revert family.mk 2023-05-13 13:24:00 +07:00
hathach dbcef41f95
add support for other lpc55 boards 2023-05-13 13:24:00 +07:00
hathach 2c745d1b1e
able to build lpc55 2023-05-13 13:23:59 +07:00
hathach 8e3bdd2391 add python script to help building cmake, build all imxrt boards with ci 2023-05-10 13:09:15 +07:00
hathach c0e4c02b9d allow imxrt build with dual exmaples 2023-05-10 11:15:11 +07:00
hathach bc579c045e skip link option --print-memory-usage for renesas rx since it does not support this option 2023-05-09 21:39:10 +07:00
hathach 77f0726361 fix ehci issue with portsc when enable port power and port reset
fix attached device not regconized if attached before power on
2023-05-09 17:32:14 +07:00
hathach 04c759028a simplify cmake target, remove -bsp 2023-05-09 10:02:44 +07:00
hathach fd50be2e62 change imxrt board_uart_read() to non-blocking
simple host seems to work
2023-05-08 19:43:48 +07:00
hathach 4fc4f35a8a fix linking missing ivt symbol for imxrt with cmake
changed device port = 0, host port =1 for imxrt 1060 and 1064
2023-05-08 17:25:47 +07:00
hathach 654f182176 build host examples with imx 2023-05-08 00:24:48 +07:00
hathach 6945c594d5 update all device cmake example for imx 2023-05-07 22:09:08 +07:00
hathach f15f79df5d cmake work well with imxrt 2023-05-06 15:14:54 +07:00
hathach cda5ab8b25 more temp work 2023-05-05 19:15:19 +07:00
hathach 8a9d2b4b75 wip 2023-05-04 23:29:37 +07:00
hathach 629717cd13 fix cmake build 2023-05-04 16:38:06 +07:00
Martino Facchin a349869906 renesas_ra: fix existing boards support 2023-05-03 10:06:58 +02:00
Martino Facchin be54870c3b renesas_ra: add support for HS port 2023-05-03 10:02:24 +02:00
hathach 1a229f3ce2 fix pio vbus typo 2023-04-26 22:36:17 +07:00
hathach ad39833ea4 fix build with nxp since mcux-sdk from 2.13.0 remove CMSIS folder 2023-04-26 22:10:13 +07:00
hathach 5254202b20 minor update 2023-04-24 11:54:58 +07:00
hathach 11e1aff389 update freeRTOS kernel to latest for library cmake
add per family freeRTOSConfig.h also make changes to build with
freertos_kernel cmake
- hard coded configPRIO_BITS based on family
- change configSUPPORT_STATIC_ALLOCATION to 0,
configSUPPORT_DYNAMIC_ALLOCATION to 1
- enable configRECORD_STACK_HIGH_ADDRESS for tracing
- enable INCLUDE_xTaskGetCurrentTaskHandle which is required to compile
stream_buffer (although we don't use it).
2023-04-21 20:55:44 +07:00
hathach 0afe1b3684 example run well with cmake for imxrt 2023-04-21 18:10:28 +07:00
hathach 2ac289685a clean up 2023-04-20 16:55:48 +07:00
hathach b42d3e431c board test running with cmake 2023-04-20 16:43:00 +07:00
hathach fab48e5bcc adding cmake build for imxrt1010 2023-04-20 14:09:38 +07:00
HiFiPhile 2f2c8ce9ec Fix GCC build. 2023-04-14 21:00:55 +02:00
HiFiPhile 71d2ccd78f Fix CI 2023-04-14 17:29:32 +02:00
HiFiPhile 413b0a7da5 Use PLL clock. 2023-04-14 17:12:47 +02:00
HiFiPhile 0ea23904c4 Add stm32g0b1nucleo BSP. 2023-04-14 16:07:04 +02:00