Commit Graph

151 Commits

Author SHA1 Message Date
Matthias Schär bd67fdf011
Renesas RX controllers: Recover the previous state of the system write protect register in functions that are called within init-code 2024-04-09 12:15:32 +07:00
Matthias Schär 385611c5a9
Revert "Fixed behavior of the PRCR register. Previous write protection will be recovered."
This reverts commit 4d7296109e31690972d8cf09e6138131938cb0ed.
2024-04-09 12:14:27 +07:00
Matthias Schär 5c7876d444
Fixed behavior of the PRCR register. Previous write protection will be recovered. 2024-04-09 12:13:38 +07:00
hathach 13d26d2166
slightly change cdc_msc_freertos example 2024-02-22 19:20:28 +07:00
hathach 1a3f5f7a09
update FreeRTOSConfig.h
- remove configAssert()
- configCHECK_HANDLER_INSTALLATION=0 (to prevent unused-parameter error with configAssert(x)=nil
2023-12-18 20:33:43 +07:00
hathach 83840041a8
update esp32 to also be supported by hil test
test run locally well
2023-11-29 17:09:52 +07:00
hathach 26ca48e7a7
move make.mk and rules.mk to build_system/make 2023-11-23 20:20:01 +07:00
hathach 6b8933cfe8
fix build with new freertos host example 2023-09-28 12:55:59 +07:00
hathach a7c136c03f
adding host/cdc_msc_hid_freertos example 2023-09-25 16:53:11 +07:00
Ha Thach 92457ec99f
Merge pull request #2202 from Rocky04/patch-4
Invoke unmounted state on configuration reset
2023-08-09 20:48:26 +07:00
Rocky04 45af3d6a83 Update examples 2023-08-07 12:04:22 +00:00
hathach 9697c4df4e
update all examples to use unique ID as serial if avaialble 2023-08-04 10:28:24 +07:00
hathach ef5bd9ee6c
Merge branch 'master' into enhance-bsp 2023-08-04 00:31:12 +07:00
Ha Thach 6d03bb9ffc
Merge pull request #2052 from arduino/renesas_ra_hs_rebased
Renesas_RA: add support for board with HS USB port
2023-08-03 20:41:13 +07:00
hathach cf91660cee
rename hw/bsp/board.h to board_api.h 2023-08-03 15:44:05 +07:00
hathach 473f37df95
add osal queue name if needed
also mass change configQUEUE_REGISTRY_SIZE = 4
2023-08-03 12:05:21 +07:00
hathach 3f788a4e5a
enable USBMC for uno r4, add board_init_after_tusb() API
add BOARD_UPPERCASE for board detection
2023-07-31 19:09:40 +07:00
hathach fbaa148fe0
updating hcd rusb2
- make osal_task_delay() as weak function in usbh
- implement osal_task_delay() in hcd rusb2 (may moved to other places)
2023-07-26 18:55:41 +07:00
hathach e43387abac
rework cmake with rtos support add RTOS to family_configure_device/host/dual_example() 2023-06-27 15:45:38 +07:00
hathach 946d3fdd4f
fix iar with make 2023-06-24 21:17:40 +07:00
hathach 38a582634e
fix missing replace 2023-06-24 20:32:18 +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 9858d45815 build all freertos, not able to build net lwip due to lack of sio_open() 2023-04-21 22:07: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 6daa135201 update most examples cmake to build with imxrt 2023-04-21 18:23:40 +07:00
hathach cf7aad790c more esp32 cmake clean up 2023-03-30 11:37:36 +07:00
hathach 641613c428 update all cmake for esp32 build 2023-03-30 10:41:11 +07:00
hathach 96718b7ca0 merge s2 and s3, update cmake for espressif, add tinyusb_src as component 2023-03-30 00:31:26 +07:00
hathach 3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach ffdffc7e06
rename FREERTOS_PORT to FREERTOS_PORTABLE_SRC
also fix trailing spaces
2023-03-16 23:11:11 +07:00
hathach 2cf092464b
fix freertos build with iar, format/indent link_type 2023-03-08 22:34:54 +07:00
hathach 05e0205ad0
Merge branch 'master' into renesas-ra 2023-03-08 21:05:06 +07:00
hathach e62d1a03ac
integrate top.mk into make.mk 2023-03-06 13:25:56 +07:00
hathach cc18784479 hardcoded configPRIO_BITS for IAR build to pass CI 2023-01-30 16:42:56 +07:00
hathach 8df2fd1916 update freertos example to build with iar 2023-01-17 23:38:10 +07:00
Ha Thach 949950e592
Merge branch 'master' into ch32v307 2023-01-07 23:46:46 +07:00
Ha Thach 71a5906865
Merge pull request #1767 from pete-pjb/master
Allow the use of non-static allocation for FreeRTOS mutexes & queues
2022-12-05 12:45:48 +07:00
hathach de5a67bf3b clean osal_freertos, update freertos examples to work with configSUPPORT_DYNAMIC_ALLOCATION only
note: for example to build with configSUPPORT_STATIC_ALLOCATION = 0, one
of heap_n.c must be included in makefile/cmake
2022-12-05 12:09:41 +07:00
Bastien Nocera 6a2cf67289 Fix typos 2022-12-04 19:43:23 +07:00
hathach 7949a4ec7c skip freertos example for F1C100S 2022-06-29 14:12:58 +07:00
hathach b9dc9dbd78
fix most warnings with rp2040 -wconversion 2022-06-27 11:50:17 +07:00
hathach 1d6918ce41
suppress redundant-decls warnings for freertos examples 2022-06-24 21:53:46 +07:00
hathach f4c80dd218 clean up example to use CFG_TUD_ENABLED + CFG_TUD_MAX_SPEED instead of CFG_TUSB_RHPORT0_MODE 2022-06-06 17:35:17 +07:00
Rafael Silva 2a17a7e8f8 rework make freertos port handling
this allows ports to specify a freertos port outside the FreeRTOS-Kernel lib directory, which would otherwise not be possible

Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-06-02 09:35:30 +01:00
hathach 99c1585ed2 rename board specific macro for example
- BOARD_DEVICE/HOST_RHPORT_NUM to  BOARD_TUD/H_RHPORT
- BOARD_DEVICE/HOST_RHPORT_SPEED to  BOARD_TUD/H_MAX_SPEED
2022-06-01 23:53:40 +07:00
Ha Thach 2683deb0dd
Merge branch 'master' into ch32v307 2022-05-21 13:54:25 +07:00
hathach 87572871d5
update example for better cdc echo 2022-04-20 18:52:15 +07:00
hathach 6a022c73db
add note for tud_task() behavior in freertos example 2022-04-20 18:35:38 +07:00
hathach b034c18077
add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout and in_isr
also allow exit tud_task,tuh_task after processing all events for
running other background task for user
2022-04-20 18:29:41 +07:00