<commit_before>#include "mbed.h"

#ifdef TARGET_KL25Z
DigitalOut out(PTD4);

#elif defined(TARGET_KL05Z)
DigitalOut out(PTB1);

#elif defined(TARGET_KL46Z)
DigitalOut out(PTA1);

#elif defined(TARGET_K64F)
DigitalOut out(PTA1);

#elif defined(TARGET_LPC812)
DigitalOut out(D10);

#else
DigitalOut out(p5);
#endif

DigitalOut led(LED1);

#define MS_INTERVALS 1000

void print_char(char c = '*')
{
    printf("%c", c);
    fflush(stdout);
}

int main() {
    while (true) {
        for (int i = 0; i < MS_INTERVALS; i++)
        {
            wait_us(1000);
            out = !out;
        }
        led = !led;
        print_char();
    }
}
<commit_msg>Added TARGET_NUCLEO_L152RE define to Timer us test<commit_after>#include "mbed.h"

#ifdef TARGET_KL25Z
DigitalOut out(PTD4);

#elif defined(TARGET_KL05Z)
DigitalOut out(PTB1);

#elif defined(TARGET_KL46Z)
DigitalOut out(PTA1);

#elif defined(TARGET_K64F)
DigitalOut out(PTA1);

#elif defined(TARGET_LPC812)
DigitalOut out(D10);

#elif defined(TARGET_NUCLEO_L152RE)
DigitalOut out(LED1);

#else
DigitalOut out(p5);
#endif

DigitalOut led(LED1);

#define MS_INTERVALS 1000

void print_char(char c = '*')
{
    printf("%c", c);
    fflush(stdout);
}

int main() {
    while (true) {
        for (int i = 0; i < MS_INTERVALS; i++)
        {
            wait_us(1000);
            out = !out;
        }
        led = !led;
        print_char();
    }
}

{'fraction_non_alphanumeric': 0.1357142857142857, 'fraction_numerical': 0.045, 'mean_word_length': 3.2454545454545456, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '3295965', 'n_tokens_mistral': 608, 'n_tokens_neox': 551, 'n_words': 118}