mirror of
https://github.com/dekuNukem/exixe.git
synced 2025-10-31 11:17:03 -07:00
1Hz begin
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -27,9 +27,9 @@ Project File Date: 05/31/2017
|
||||
<h2>Output:</h2>
|
||||
*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
|
||||
Build target 'clock_test'
|
||||
compiling my_tasks.c...
|
||||
compiling gps_config.c...
|
||||
linking...
|
||||
Program Size: Code=25912 RO-data=744 RW-data=472 ZI-data=9984
|
||||
Program Size: Code=25932 RO-data=744 RW-data=472 ZI-data=9984
|
||||
"clock_test\clock_test.axf" - 0 Error(s), 0 Warning(s).
|
||||
|
||||
<h2>Software Packages used:</h2>
|
||||
@@ -48,7 +48,7 @@ Package Vendor: ARM
|
||||
<h2>Collection of Component Files used:</h2>
|
||||
|
||||
* Component: ARM::CMSIS:CORE:4.3.0
|
||||
Build Time Elapsed: 00:00:04
|
||||
Build Time Elapsed: 00:00:03
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<title>Static Call Graph - [clock_test\clock_test.axf]</title></head>
|
||||
<body><HR>
|
||||
<H1>Static Call Graph for image clock_test\clock_test.axf</H1><HR>
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 5060061: Last Updated: Wed May 31 11:30:25 2017
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 5060061: Last Updated: Wed May 31 12:53:55 2017
|
||||
<BR><P>
|
||||
<H3>Maximum Stack Usage = 312 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
|
||||
Call chain for Maximum Stack Depth:</H3>
|
||||
@@ -575,6 +575,7 @@ Global Symbols
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[122]">>></a> setup_task
|
||||
<LI><a href="#[114]">>></a> gps_say
|
||||
<LI><a href="#[113]">>></a> gps_init
|
||||
<LI><a href="#[11f]">>></a> linear_buf_init
|
||||
</UL>
|
||||
|
||||
@@ -1780,10 +1781,11 @@ Global Symbols
|
||||
<BR>[Called By]<UL><LI><a href="#[43]">>></a> animation_task_start
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[113]"></a>gps_init</STRONG> (Thumb, 92 bytes, Stack size 8 bytes, gps_config.o(i.gps_init))
|
||||
<P><STRONG><a name="[113]"></a>gps_init</STRONG> (Thumb, 98 bytes, Stack size 8 bytes, gps_config.o(i.gps_init))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 104<LI>Call Chain = gps_init ⇒ gps_say ⇒ HAL_UART_Transmit ⇒ UART_WaitOnFlagUntilTimeout
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[114]">>></a> gps_say
|
||||
<BR>[Calls]<UL><LI><a href="#[73]">>></a> HAL_Delay
|
||||
<LI><a href="#[114]">>></a> gps_say
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[122]">>></a> setup_task
|
||||
</UL>
|
||||
@@ -1797,7 +1799,7 @@ Global Symbols
|
||||
<BR>[Called By]<UL><LI><a href="#[113]">>></a> gps_init
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[45]"></a>gps_temp_parse_task_start</STRONG> (Thumb, 134 bytes, Stack size 24 bytes, my_tasks.o(i.gps_temp_parse_task_start))
|
||||
<P><STRONG><a name="[45]"></a>gps_temp_parse_task_start</STRONG> (Thumb, 142 bytes, Stack size 24 bytes, my_tasks.o(i.gps_temp_parse_task_start))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 312<LI>Call Chain = gps_temp_parse_task_start ⇒ parse_gps ⇒ minmea_parse_gsv ⇒ minmea_scan ⇒ strtol ⇒ _strtoul
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[d7]">>></a> osDelay
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -495,7 +495,7 @@ I (../Inc/usbd_conf.h)(0x5926E960)
|
||||
-I C:\Keil_v5\ARM\PACK\ARM\CMSIS\4.5.0\CMSIS\Include
|
||||
|
||||
-I C:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\1.5.0\Device\Include
|
||||
|
||||
|
||||
-D__UVISION_VERSION="517" -D_RTE_ -DSTM32F072xB -DUSE_HAL_DRIVER -DSTM32F072xB
|
||||
|
||||
-o clock_test\helpers.o --omf_browse clock_test\helpers.crf --depend clock_test\helpers.d)
|
||||
@@ -810,7 +810,7 @@ I (../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h)(0x58411C82)
|
||||
|
||||
-I C:\Users\Allen\Desktop\nixx\firmware\clock\MDK-ARM\RTE
|
||||
|
||||
-I C:\Keil_v5\ARM\PACK\ARM\CMSIS\4.5.0\CMSIS\Include
|
||||
-I C:\Keil_v5\ARM\PACK\ARM\CMSIS\4.5.0\CMSIS\Include
|
||||
|
||||
-I C:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\1.5.0\Device\Include
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -15,6 +15,7 @@ const uint8_t disable_sbas[] = {0xB5, 0x62, 0x06, 0x16, 0x08, 0x00, 0x00, 0x03,
|
||||
const uint8_t pos_mode_stationary[] = {0xB5, 0x62, 0x06, 0x24, 0x24, 0x00, 0xFF, 0xFF, 0x02, 0x03, 0x00, 0x00, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x05, 0x00, 0xFA, 0x00, 0xFA, 0x00, 0x64, 0x00, 0x2C, 0x01, 0x00, 0x3C, 0x00, 0x00, 0x00, 0x00, 0xC8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x16, 0xA0};
|
||||
const uint8_t pwr_full_power[] = {0xB5, 0x62, 0x06, 0x86, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x94, 0x5A};
|
||||
const uint8_t tp_50hz[] = {0xB5, 0x62, 0x06, 0x31, 0x20, 0x00, 0x00, 0x01, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x6F, 0x00, 0x00, 0x00, 0x5D, 0xB6};
|
||||
const uint8_t tp_1hz[] = {0xB5, 0x62, 0x06, 0x31, 0x20, 0x00, 0x00, 0x01, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x6F, 0x00, 0x00, 0x00, 0xFB, 0x4A};
|
||||
|
||||
void gps_say(const uint8_t* buf, int32_t len)
|
||||
{
|
||||
@@ -33,6 +34,7 @@ void gps_reset(void)
|
||||
void gps_init(void)
|
||||
{
|
||||
// gps_reset();
|
||||
HAL_Delay(200);
|
||||
gps_say(disable_gll, sizeof(disable_gll));
|
||||
gps_say(disable_gsa, sizeof(disable_gsa));
|
||||
gps_say(disable_gsv, sizeof(disable_gsv));
|
||||
@@ -42,6 +44,5 @@ void gps_init(void)
|
||||
gps_say(disable_sbas, sizeof(disable_sbas));
|
||||
gps_say(pos_mode_stationary, sizeof(pos_mode_stationary));
|
||||
gps_say(pwr_full_power, sizeof(pwr_full_power));
|
||||
gps_say(tp_50hz, sizeof(tp_50hz));
|
||||
|
||||
gps_say(tp_1hz, sizeof(tp_1hz));
|
||||
}
|
||||
|
||||
@@ -154,6 +154,7 @@ void gps_temp_parse_task_start(void const * argument)
|
||||
{
|
||||
parse_gps((char*)gps_lb.buf, &gps_rmc, &gps_gga, &gps_gsa, &gps_gll, &gps_gst, &gps_gsv);
|
||||
minmea_gettime(&unix_timestamp_temp, µsec_temp, &(gps_rmc.date), &(gps_rmc.time));
|
||||
printf("%s\n", gps_lb.buf);
|
||||
printf("%ld\n", unix_timestamp_temp);
|
||||
linear_buf_reset(&gps_lb);
|
||||
}
|
||||
|
||||
@@ -13,6 +13,10 @@ full power:
|
||||
50Hz pulse:
|
||||
{0xB5, 0x62, 0x06, 0x31, 0x20, 0x00, 0x00, 0x01, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x6F, 0x00, 0x00, 0x00, 0x5D, 0xB6}
|
||||
|
||||
|
||||
1Hz pulse:
|
||||
{0xB5, 0x62, 0x06, 0x31, 0x20, 0x00, 0x00, 0x01, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x6F, 0x00, 0x00, 0x00, 0xFB, 0x4A}
|
||||
|
||||
printf("%s\n", gps_lb.buf);
|
||||
|
||||
spi_buf[0] = SPI_CMD_UPDATE | 0x0;
|
||||
|
||||
Reference in New Issue
Block a user