<commit_before>#include <string.h>
#include "stm32f4xx_hal.h"

#define C029_OTP_START_ADDRESS           (0x1FFF7800U)
#define C029_OTP_END_ADDRESS             (C029_OTP_START_ADDRESS + (16*32))
#define C029_MAC_ETHERNET_ID             (3)

typedef struct C029_OTP_Header {
    uint8_t id;
    uint8_t len;
    uint8_t data[];
} __attribute__((__packed__)) C029_OTP_Header;

static int _macRetrieved = 0;
static char _macAddr[6] = { 0x02, 0x02, 0xF7, 0xF0, 0x00, 0x00 };

static C029_OTP_Header *increment(C029_OTP_Header *pTemp)
{<commit_msg>Replaced GCC specific __packed__ with generic MBED_PACKED<commit_after>#include <string.h>
#include "stm32f4xx_hal.h"
#include "toolchain.h"

#define C029_OTP_START_ADDRESS           (0x1FFF7800U)
#define C029_OTP_END_ADDRESS             (C029_OTP_START_ADDRESS + (16*32))
#define C029_MAC_ETHERNET_ID             (3)

typedef MBED_PACKED(struct) C029_OTP_Header {
    uint8_t id;
    uint8_t len;
    uint8_t data[];
} C029_OTP_Header;

static int _macRetrieved = 0;
static char _macAddr[6] = { 0x02, 0x02, 0xF7, 0xF0, 0x00, 0x00 };

static C029_OTP_Header *increment(C029_OTP_Header *pTemp)
{
{'fraction_non_alphanumeric': 0.09683098591549295, 'fraction_numerical': 0.10387323943661972, 'mean_word_length': 4.388625592417061, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4829855', 'n_tokens_mistral': 548, 'n_tokens_neox': 475, 'n_words': 91}