<commit_before>//#include <stdio.h>
//#include <math.h>
//#include <sdcc-lib.h>

#include "stm8s.h"
#include "stm8s_it.h"
#include "stm8s_gpio.h"
#include "stm8s_beep.h"

static void delay(uint32_t t)
{
    while(t--);
}

int main( void )
{
    GPIO_Init(GPIOD, GPIO_PIN_7, GPIO_MODE_OUT_PP_LOW_FAST);
    //GPIOD->DDR |= GPIO_PIN_7;
    //GPIOD->CR1 |= GPIO_PIN_7;
    GPIOD->ODR |= GPIO_PIN_7;

    BEEP_Init(BEEP_FREQUENCY_1KHZ);
    
    while(1)
    {
        delay(30000);
        GPIOD->ODR ^= GPIO_PIN_7;<commit_msg>test math.h, provided by SDCC<commit_after>//#include <stdio.h>
//#include <math.h>
//#include <sdcc-lib.h>

#include "stm8s.h"
#include "stm8s_it.h"
#include "stm8s_gpio.h"
#include "stm8s_beep.h"

static void delay(uint32_t t)
{
    while(t--);
}

int main( void )
{
    GPIO_Init(GPIOD, GPIO_PIN_7, GPIO_MODE_OUT_PP_LOW_FAST);
    //GPIOD->DDR |= GPIO_PIN_7;
    //GPIOD->CR1 |= GPIO_PIN_7;
    GPIOD->ODR |= GPIO_PIN_7;

    BEEP_Init(BEEP_FREQUENCY_1KHZ);
    
    while(1)
    {
        //float _sqrt;
        //_sqrt = sqrtf(4.0);
        delay(30000);
        GPIOD->ODR ^= GPIO_PIN_7;
{'fraction_non_alphanumeric': 0.1683079677708147, 'fraction_numerical': 0.03581020590868397, 'mean_word_length': 2.9645390070921986, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, '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': '6458293', 'n_tokens_mistral': 550, 'n_tokens_neox': 529, 'n_words': 79}