List of commits:
Subject Hash Author Date (UTC)
maintaince dfb8c5ba4abf416287a09ded0c2ad93d15d4e2ee zhanzr 2018-08-19 11:37:39
A2DP Sink, ESP32 BT Speaker, two same example. 277772b1bcda3e10b1546a7d114e7ab30755a30f zhanzr 2018-08-16 16:09:02
add sd_card demo 3d8cac0ad026a435cd03daa783978d94b6f98c1c zhanzr 2018-08-14 17:53:37
simple wifi demo 3b49d1710d647028a95144d22eaf92ead994cd4f zhanzr 2018-08-04 18:33:49
maintaince eab2557c1c0fbfb1df5b8b38af229b810be691fc zhanzr 2018-08-04 18:08:39
maintaince 9735c9025f877485b7fba7d68cee37342eb2bc41 zhanzr 2018-08-04 18:07:52
maintaince 1045165526407dec48797d66751a06dbe94257fb zhanzr 2018-08-04 18:06:59
hellow word, printf from serial port. 6818f08e563aefc70c9bc9ef18852149e080d237 zhanzr 2018-08-04 18:03:27
blink demo. bc35d066c34d62eb527f29af81a9907a960e23bd zhanzr 2018-08-04 17:34:03
Commit dfb8c5ba4abf416287a09ded0c2ad93d15d4e2ee - maintaince
Author: zhanzr
Author date (UTC): 2018-08-19 11:37
Committer name: zhanzr
Committer date (UTC): 2018-08-19 11:37
Parent(s): 277772b1bcda3e10b1546a7d114e7ab30755a30f
Signing key:
Tree: 0f7ac8957e717a43fd28a36e9200aa4d636385cb
File Lines added Lines deleted
a2dp_sink/main/main.c 38 0
File a2dp_sink/main/main.c changed (mode: 100644) (index 6e700e2..9cdef49)
22 22 #include "nvs_flash.h" #include "nvs_flash.h"
23 23 #include "esp_system.h" #include "esp_system.h"
24 24 #include "esp_log.h" #include "esp_log.h"
25 #include "esp_timer.h"
26 #include "soc/rtc.h"
25 27
26 28 #include "esp_bt.h" #include "esp_bt.h"
27 29 #include "bt_app_core.h" #include "bt_app_core.h"
 
... ... enum {
44 46 /* handler for bluetooth stack enabled events */ /* handler for bluetooth stack enabled events */
45 47 static void bt_av_hdl_stack_evt(uint16_t event, void *p_param); static void bt_av_hdl_stack_evt(uint16_t event, void *p_param);
46 48
49 #if 0
50 rtc_xtal_freq_t rtc_clk_xtal_freq_get();
51 uint32_t rtc_clk_slow_freq_get_hz();
52 rtc_fast_freq_t rtc_clk_fast_freq_get();
53 rtc_cpu_freq_t rtc_clk_cpu_freq_get();
54 uint32_t rtc_clk_cpu_freq_value(rtc_cpu_freq_t cpu_freq);
55 uint32_t rtc_clk_apb_freq_get();
56 uint64_t rtc_time_get();
57 #endif
58
59 static void periodic_timer_callback(void* arg)
60 {
61 static uint32_t testTick = 0;
62 ++testTick;
63 ESP_LOGI(BT_AV_TAG, "This is a timer callback,"\
64 "xtal:%u, slow:%u, cpu:%u, apb:%u, rtctime:%llu, time:%llu %u",
65 rtc_clk_xtal_freq_get(),
66 rtc_clk_slow_freq_get_hz(),
67 rtc_clk_cpu_freq_value(rtc_clk_cpu_freq_get()),
68 rtc_clk_apb_freq_get(),
69 rtc_time_get(),
70 esp_timer_get_time(),
71 testTick);
72 }
47 73
48 74 void app_main() void app_main()
49 75 { {
76 const esp_timer_create_args_t periodic_timer_args = {
77 .callback = &periodic_timer_callback,
78 /* name is optional, but may help identify the timer when debugging */
79 .name = "periodic"
80 };
81
82 esp_timer_handle_t periodic_timer;
83 ESP_ERROR_CHECK(esp_timer_create(&periodic_timer_args, &periodic_timer));
84 /* The timer has been created but is not running yet */
85
86 ESP_ERROR_CHECK(esp_timer_start_periodic(periodic_timer, 500000));
87
50 88 fifo_init(); fifo_init();
51 89
52 90 /* Initialize NVS — it is used to store PHY calibration data */ /* Initialize NVS — it is used to store PHY calibration data */
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/zhanzr/esp32_radio_demo

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/zhanzr/esp32_radio_demo

Clone this repository using git:
git clone git://git.rocketgit.com/user/zhanzr/esp32_radio_demo

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main