Skip to content

Commit 7462438

Browse files
authored
Merge pull request hathach#2112 from hathach/minor-naming-opt-mcu-imxrt
Minor naming opt mcu imxrt
2 parents 433ffe2 + 1419091 commit 7462438

File tree

69 files changed

+667
-1487
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+667
-1487
lines changed

.github/workflows/build_iar.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# Alphabetical order
3333
# Note: bundle multiple families into a matrix since there is only one self-hosted instance can
3434
# run IAR build. Too many matrix can hurt due to setup/teardown overhead.
35-
- 'stm32f0 stm32f1 stm32f4 stm32f7 stm32g4 stm32h7 stm32l4'
35+
- 'stm32f0 stm32f1 stm32f7 stm32l4'
3636
steps:
3737
- name: Clean workspace
3838
run: |
@@ -58,7 +58,7 @@ jobs:
5858
# Alphabetical order
5959
# Note: bundle multiple families into a matrix since there is only one self-hosted instance can
6060
# run IAR build. Too many matrix can hurt due to setup/teardown overhead.
61-
- 'stm32g0 stm32g4'
61+
- 'stm32g0 stm32g4 stm32h7'
6262
steps:
6363
- name: Clean workspace
6464
run: |

examples/device/audio_test_multi_rate/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ bool tud_audio_set_req_entity_cb(uint8_t rhport, tusb_control_request_t const *
268268

269269
sampFreq = (uint32_t)((audio_control_cur_4_t *)pBuff)->bCur;
270270

271-
TU_LOG2("Clock set current freq: %d\r\n", sampFreq);
271+
TU_LOG2("Clock set current freq: %lu\r\n", sampFreq);
272272

273273
return true;
274274
break;

examples/device/net_lwip_webserver/skip.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mcu:MSP430x5xx
44
mcu:NUC121
55
mcu:SAMD11
66
mcu:STM32L0
7-
mcu:MKL25ZXX
7+
mcu:KINETIS_KL
88
family:broadcom_64bit
99
family:broadcom_32bit
1010
board:curiosity_nano

examples/host/bare_api/only.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ mcu:LPC177X_8X
33
mcu:LPC18XX
44
mcu:LPC40XX
55
mcu:LPC43XX
6-
mcu:MIMXRT
6+
mcu:MIMXRT1XXX
77
mcu:MIMXRT10XX
88
mcu:MIMXRT11XX
99
mcu:RP2040

examples/host/cdc_msc_hid/only.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ mcu:LPC177X_8X
33
mcu:LPC18XX
44
mcu:LPC40XX
55
mcu:LPC43XX
6-
mcu:MIMXRT
6+
mcu:MIMXRT1XXX
77
mcu:MIMXRT10XX
88
mcu:MIMXRT11XX
99
mcu:RP2040

examples/host/hid_controller/only.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ mcu:LPC177X_8X
33
mcu:LPC18XX
44
mcu:LPC40XX
55
mcu:LPC43XX
6-
mcu:MIMXRT
6+
mcu:MIMXRT1XXX
77
mcu:MIMXRT10XX
88
mcu:MIMXRT11XX
99
mcu:RP2040

examples/host/msc_file_explorer/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ target_sources(${PROJECT} PUBLIC
2121
${TOP}/lib/fatfs/source/ffunicode.c
2222
)
2323

24+
# Suppress warnings on fatfs
25+
set_source_files_properties(
26+
${TOP}/lib/fatfs/source/ff.c
27+
PROPERTIES
28+
COMPILE_FLAGS "-Wno-conversion -Wno-cast-qual"
29+
)
30+
2431
# Example include
2532
target_include_directories(${PROJECT} PUBLIC
2633
${CMAKE_CURRENT_SOURCE_DIR}/src

examples/host/msc_file_explorer/only.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ mcu:LPC177X_8X
33
mcu:LPC18XX
44
mcu:LPC40XX
55
mcu:LPC43XX
6-
mcu:MIMXRT
6+
mcu:MIMXRT1XXX
77
mcu:MIMXRT10XX
88
mcu:MIMXRT11XX
99
mcu:RP2040

examples/rules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ SRC_C += \
2828
src/common/tusb_fifo.c \
2929
src/device/usbd.c \
3030
src/device/usbd_control.c \
31+
src/typec/usbc.c \
3132
src/class/audio/audio_device.c \
3233
src/class/cdc/cdc_device.c \
3334
src/class/dfu/dfu_device.c \

examples/typec/power_delivery/src/main.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ int main(void)
6363

6464
tuc_init(0, TUSB_TYPEC_PORT_SNK);
6565

66-
uint32_t start_ms = 0;
67-
bool led_state = false;
68-
6966
while (1) {
7067
led_blinking_task();
7168

@@ -155,6 +152,7 @@ bool tuc_pd_data_received_cb(uint8_t rhport, pd_header_t const* header, uint8_t
155152
}
156153

157154
bool tuc_pd_control_received_cb(uint8_t rhport, pd_header_t const* header) {
155+
(void) rhport;
158156
switch (header->msg_type) {
159157
case PD_CTRL_ACCEPT:
160158
printf("PD Request Accepted\r\n");

0 commit comments

Comments
 (0)