Configuring GCC with FreeRTOS and OpenOCD

I am sure it is possible, but I am not sure how to do it. I am very new to creating with GCC in general, and I have never used FreeRTOS, but I would like to try running the OS on the TI ARM Cortex MCU, but with a slight twist: I would like to get it with Pascal. I am curious:

  • Is it even possible to get a job? If not, the following issues are the odds.
  • In the days of my Delphi, I vaguely recall the ability to access functions in C libraries. I wonder if I will have access to C routines in FreeRTOS.
  • If I use the GCC version (preferred), can I debug using OpenOCD in the target? I am not quite sure how debugging symbols work, and if it is more or less linguistic agnostic (I hope in this case).
  • As a question about a bonus that is a bit outside the scope of the original request, can I imitate FreeRTOS on an x86 processor (for example, my development PC) for easier debugging during development? (Of course, with the Pascal program).

I have not found any documentation to achieve this, so hopefully someone here can shed some light! Any resources would be most helpful. As I said, I am very new to this development. I am also open to suggestions if you think there is a better alternative.

FYI, my preferred host configuration will be similar to:

  • Linux (Ubuntu / Debian)
  • Eclipse IDE for development, unit testing and, hopefully, modeling / debugging
  • OpenOCD for target debugging
  • GNU Pascal + FreeRTOS on Target
+3
3

FreeRTOS - C, , , C Pascal. , FreeRTOS , , ( , R0), ABI C Pascal - C, Pascal ( ). , .. , .

+3

GNU Pascal Free Pascal, C (gcc) ARM, pascal C .. cdecl - , .

- . ( ). /, ( C )

TP/Delphi, Free Pascal.

Delphi sheevaplug.

+2

FreeRTOS/GCC/OpenOCD TI Cortex-M3 ( Luminary Micro Cortex-M3). , , Eclipse OpenOCD .

Although there is an Eclipse project, the project is configured as a standard make project (as opposed to a managed make), so there is a standard make file that can be run just as easily from the command line as it is from Eclipse.

http://www.freertos.org/portLM3Sxxxx_Eclipse.html

+2
source

Source: https://habr.com/ru/post/1760942/


All Articles