<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Pallet Tracker - 02 - Development environment</title><link>/challenges-projects/design-challenges/low-power-iot/b/blog/posts/pallet-tracker---02---development-environment</link><description>Posts in this project Pallet Tracker - 01 - Project description Pallet Tracker - 02 - Development environment Pallet Tracker - 03 - Application skeleton Pallet Tracker - 04 - PSoC6 power modes and LPComp Pallet Tracker - 05 - Evaluating power consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Pallet Tracker - 02 - Development environment</title><link>https://community.element14.com/challenges-projects/design-challenges/low-power-iot/b/blog/posts/pallet-tracker---02---development-environment</link><pubDate>Sun, 12 Sep 2021 08:48:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:07cfcc6d-dd96-482c-b22e-abe5f34295df</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;blockquote class="jive-quote"&gt;&lt;p&gt;I am not sure what the CY_USING_HAL is for, but I will try to understand this details later on during the development&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This means that the the code checks if the project uses the Hardware Abstraction Layer.&lt;/p&gt;&lt;p&gt;If yes, the structures used in the HAL library will be initiated and used.&lt;/p&gt;&lt;p&gt;In the folder where you found the cycfg_pins.* file, there is also a readme.&lt;/p&gt;&lt;p&gt;It details the define:&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;CY_USING_HAL - This define, enabled by default, specifies that the HAL is intended to be used by the application. This will cause the BSP to include the applicable header file and to initialize the system level drivers.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;retarget_io is interesting for examples.&lt;/p&gt;&lt;p&gt;Once you want to go very low energy and have a UART that can listen to input while sleeping, check the API Cy_SCB_UART_DeepSleepCallback().&lt;/p&gt;&lt;p&gt;Summary: &lt;a class="jive-link-blog-small" href="/technologies/embedded/b/blog/posts/psoc-6-and-modustoolbox-uart-receiver-with-freertos---deep-sleep-support"&gt;PSoC 6 and ModusToolbox: UART receiver with FreeRTOS - Deep Sleep support&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Example: uart.* sources of &lt;a class="jive-link-external-small" href="https://github.com/jancumps/Nanodrone-II_PSoC6/tree/main/source" rel="nofollow ugc noopener" target="_blank" title="https://github.com/jancumps/Nanodrone-II_PSoC6/tree/main/source"&gt;https://github.com/jancumps/Nanodrone-II_PSoC6/tree/main/source&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21871&amp;AppID=347&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>