Skip to content

Commit f351743

Browse files
author
Jamie Smith
committed
Fix some bugs
1 parent 615d0dd commit f351743

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

connectivity/drivers/emac/TARGET_Freescale_EMAC/kinetis_emac.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ bool Kinetis_EMAC::link_out(emac_mem_buf_t *buf)
409409
}
410410

411411
/* Check if a descriptor is available for the transfer (wait 10ms before dropping the buffer) */
412-
if (!xTXDCountSem.try_acquire_for(10)) {
412+
if (!xTXDCountSem.try_acquire_for(10ms)) {
413413
memory_manager->free(buf);
414414
return false;
415415
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ FLASH_CONFIG_FIELD_SIZE = 0x10;
8282
/* Specify the ELF segments (program headers) */
8383
PHDRS
8484
{
85-
text PT_LOAD FLAGS(5); /* read + execute */
86-
ram_vector_table PT_LOAD FLAGS(6); /* read + write */
87-
ram_noinit PT_LOAD FLAGS(6); /* read + write */
88-
ram_init PT_LOAD FLAGS(6); /* read + write */
89-
sram_l PT_LOAD FLAGS(6); /* read + write */
85+
text PT_LOAD FLAGS(5); /* read + execute */
86+
ram_vector_table PT_LOAD FLAGS(6); /* read + write */
87+
ram_noinit PT_LOAD FLAGS(6); /* read + write */
88+
ram_init PT_LOAD FLAGS(6); /* read + write */
89+
sram_l PT_LOAD FLAGS(6); /* read + write */
9090
}
9191

9292
/* Specify the memory areas */
@@ -116,7 +116,7 @@ SECTIONS
116116

117117
/* FCF to absolute address of 0x400, but only if bootloader is not present. */
118118
#if !IS_BOOTLOADER_PRESENT
119-
.flash_config VTOR_TABLE_SIZE :
119+
.flash_config FLASH_VTOR_TABLE_SIZE :
120120
{
121121
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
122122
} > m_text AT> m_text :text

tools/cmake/UploadMethodManager.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ foreach(LEGACY_VAR_NAME JLINK_USB_SERIAL_NUMBER LINKSERVER_PROBE_SN MBED_TARGET_
7777
if(NOT "${${LEGACY_VAR_NAME}}" STREQUAL "")
7878
message(WARNING "${LEGACY_VAR_NAME} is deprecated, set the MBED_UPLOAD_SERIAL_NUMBER variable instead. MBED_UPLOAD_SERIAL_NUMBER will be set to the value of ${LEGACY_VAR_NAME}.")
7979
set(MBED_UPLOAD_SERIAL_NUMBER ${${LEGACY_VAR_NAME}} CACHE STRING "" FORCE)
80-
unset(STLINK_PROBE_SN CACHE)
80+
unset(${LEGACY_VAR_NAME} CACHE)
8181
endif()
8282
endif()
8383
endforeach()

0 commit comments

Comments
 (0)