Skip to content

Commit

Permalink
Release v3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
renesas-fsp-development committed Sep 7, 2021
1 parent ffa9c32 commit be0cdaa
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FSP uses an open software ecosystem and provides flexibility in using your prefe

### Current Release

[FSP v3.2.0](https://github.com/renesas/fsp/releases/tag/v3.2.0)
[FSP v3.2.1](https://github.com/renesas/fsp/releases/tag/v3.2.1)

### Supported RA MCU Kits

Expand Down Expand Up @@ -49,7 +49,7 @@ If you have already installed a previous FSP release that included e² studio th

#### For new users that are using FSP with e² studio

1. Download the FSP with e² studio Installer from the Assets section of the [current release](https://github.com/renesas/fsp/releases/tag/v3.2.0).
1. Download the FSP with e² studio Installer from the Assets section of the [current release](https://github.com/renesas/fsp/releases/tag/v3.2.1).
2. Run the installer. This will install the e² studio tool, FSP packs, GCC toolchain and other tools required to use this software. No additional installations are required.

#### If using RA Smart Configurator (RASC) with IAR Embedded Workbench or Keil MDK ####
Expand Down
6 changes: 3 additions & 3 deletions ra/fsp/inc/fsp_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@
#define FSP_VERSION_MINOR (2U)

/** FSP pack patch version. */
#define FSP_VERSION_PATCH (0U)
#define FSP_VERSION_PATCH (1U)

/** FSP pack version build number (currently unused). */
#define FSP_VERSION_BUILD (0U)

/** Public FSP version name. */
#define FSP_VERSION_STRING ("3.2.0")
#define FSP_VERSION_STRING ("3.2.1")

/** Unique FSP version ID. */
#define FSP_VERSION_BUILD_STRING ("Built with Renesas Advanced Flexible Software Package version 3.2.0")
#define FSP_VERSION_BUILD_STRING ("Built with Renesas Advanced Flexible Software Package version 3.2.1")

/**********************************************************************************************************************
* Typedef definitions
Expand Down
2 changes: 1 addition & 1 deletion ra/fsp/inc/instances/rm_wifi_onchip_silex.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include "rm_wifi_onchip_silex_cfg.h"
#else // Azure RTOS
#include "tx_api.h"
#include "rm_wifi_onchip_silex_cfg.h"
#include "rm_wifi_onchip_silex_cfg_azure.h"

/**
* @brief Max SSID length
Expand Down
16 changes: 9 additions & 7 deletions ra/fsp/src/rm_freertos_plus_fat/rm_freertos_plus_fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ fsp_err_t RM_FREERTOS_PLUS_FAT_Open (rm_freertos_plus_fat_ctrl_t * const p_
#endif

#if 2 == BSP_CFG_RTOS

/* The semaphore will be used to protect critical sections in
* the +FAT disk, and also to avoid concurrent calls to Read()/Write()
* from different tasks. */
Expand Down Expand Up @@ -265,6 +264,7 @@ fsp_err_t RM_FREERTOS_PLUS_FAT_DiskDeinit (rm_freertos_plus_fat_ctrl_t * const p
#endif

FF_DeleteIOManager(p_disk->pxIOManager);
p_disk->pxIOManager = NULL;
p_disk->xStatus.bIsInitialised = 0U;

return FSP_SUCCESS;
Expand All @@ -278,6 +278,7 @@ fsp_err_t RM_FREERTOS_PLUS_FAT_DiskDeinit (rm_freertos_plus_fat_ctrl_t * const p
* @retval FSP_SUCCESS Information stored in p_info.
* @retval FSP_ERR_ASSERTION An input parameter was invalid.
* @retval FSP_ERR_NOT_OPEN Module not open.
* @retval FSP_ERR_NOT_FOUND The value of p_iomanager is NULL.
**********************************************************************************************************************/
fsp_err_t RM_FREERTOS_PLUS_FAT_InfoGet (rm_freertos_plus_fat_ctrl_t * const p_ctrl,
FF_Disk_t * const p_disk,
Expand All @@ -295,12 +296,18 @@ fsp_err_t RM_FREERTOS_PLUS_FAT_InfoGet (rm_freertos_plus_fat_ctrl_t * const p_ct
#endif

FF_IOManager_t * p_iomanager = p_disk->pxIOManager;

p_info->type = (rm_freertos_plus_fat_type_t) p_iomanager->xPartition.ucType;

if (0U == p_disk->xStatus.bIsInitialised)
{
return FSP_ERR_NOT_FOUND;
}

FF_Error_t ff_error;
FF_GetFreeSize(p_iomanager, &ff_error);

uint64_t free_sectors = p_iomanager->xPartition.ulFreeClusterCount * p_iomanager->xPartition.ulSectorsPerCluster;
uint64_t free_sectors = (p_iomanager->xPartition.ulFreeClusterCount * p_iomanager->xPartition.ulSectorsPerCluster);
p_info->sector_size = p_iomanager->usSectorSize;
p_info->free_sectors = (uint32_t) free_sectors;
p_info->sectors_per_cluster = p_iomanager->xPartition.ulSectorsPerCluster;
Expand Down Expand Up @@ -363,7 +370,6 @@ int32_t rm_freertos_plus_fat_read (uint8_t * p_data, uint32_t sector, uint32_t n
rm_freertos_plus_fat_instance_ctrl_t * p_instance_ctrl = (rm_freertos_plus_fat_instance_ctrl_t *) p_disk->pvTag;

#if 2 == BSP_CFG_RTOS

/* Store the handle of the calling task. */
p_instance_ctrl->current_task = xTaskGetCurrentTaskHandle();
#else
Expand Down Expand Up @@ -409,7 +415,6 @@ int32_t rm_freertos_plus_fat_write (uint8_t * p_data, uint32_t sector, uint32_t
rm_freertos_plus_fat_instance_ctrl_t * p_instance_ctrl = (rm_freertos_plus_fat_instance_ctrl_t *) p_disk->pvTag;

#if 2 == BSP_CFG_RTOS

/* Store the handle of the calling task. */
p_instance_ctrl->current_task = xTaskGetCurrentTaskHandle();
#else
Expand Down Expand Up @@ -466,7 +471,6 @@ void rm_freertos_plus_fat_memory_callback (rm_block_media_callback_args_t * p_ar
p_instance_ctrl->last_event |= p_args->event;

#if 2 == BSP_CFG_RTOS

/* Notify the task that the transmission is complete. */
if (NULL != p_instance_ctrl->current_task)
{
Expand All @@ -482,7 +486,6 @@ void rm_freertos_plus_fat_memory_callback (rm_block_media_callback_args_t * p_ar
* use and may be called portEND_SWITCHING_ISR(). */
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
}

#else
p_instance_ctrl->event_ready = true;
#endif
Expand All @@ -503,7 +506,6 @@ static fsp_err_t rm_freertos_plus_fat_wait_event (rm_freertos_plus_fat_instance_
uint32_t timeout)
{
#if (BSP_CFG_RTOS == 2) // FreeRTOS

/* Wait to be notified that the transmission is complete. Note the first
* parameter is pdTRUE, which has the effect of clearing the task's notification
* value back to 0, making the notification value act like a binary (rather than
Expand Down

0 comments on commit be0cdaa

Please sign in to comment.