This article describes what elua is. This article will conduct hands-on experiments, compile elua, and compile it on the stm32f4discovery platform.Prerequisites:
Software:
The Ubuntu operating system is used as a cross-compiling environment (I use 14.04, but other versions should be fine)
Git (if not, Apt-Get installgit)
Hardware
Stm32f4discovery Development Board
Mini USB cable
Micro USB cableInstall depen
configs/
setenv.sh file: The path variable that can be used to set the tool chain binary file. (optional)
Copy Configs/
Defconfig file: Save the actual build configuration. Included with all other make files to determine what is included in the build. This file is also used inThe C configuration header is generated in the include/nuttx/config.h.
At this point there are three folders under Nuttx NUTTX Apps tools
CD Nuttx
take Stm32f4discovery
Crazyflie2 can finally connect to the PC client, crazyflie2client
Today, I finally successfully connected to the crazyflie PC client. Many bugs have been fixed along the way. The following summarizes the difficulties:
1. Welding Problems
When welding, you must add more soldering tin to prevent virtual soldering. Do not reduce soldering tin to make it beautiful. Otherwise, there will be many virtual soldering pins, wasting debugging time.
2. Download the program
When I first started using jlink f
applicationsAN3965: Using USART to implement STM32F40X/STM32F41X IAPAn3967:stm32f417xx Secure Sockets Layer (SSL) for microcontrollersAN3968:STM32F407/STM32F417 Programming in applications via Ethernet (IAP)EEPROM Simulation in AN3969:STM32F40X/STM32F41X microcontrollerAn3983:stm32f4discovery Peripheral Firmware ExampleAN3988: Clock Configuration tool for stm32f40x/41x microcontrollersAN3990: Update stm32f4discov
Familiar with the software and hardware environment of RT-Thread [RT-Thread Study Notes 1] and rt-thread Study Notes
Software environment: Win7 + MDK4.7.2
Hardware environment: STM32F4Discovery
OS code used: RT-Thread2.0.0 beta: https://github.com/RT-Thread/rt-thread/archive/v2.0.0_beta.zip
After decompression, use \ rt-thread-2.0.0_beta \ bsp \ stm32f40x \ project. uvproj for the experiment.
Scons and python are not used. This is not necessary.
debugging ). There are two main functions:System and process observation window(System and thread viewer), the other isEvent window(Event Viewer ).
Here we use the stm32f4discovery Board as an example.
1. System and thread Viewer)
First, this function is similar to other cortex-M chips to view memory values (Memory window or watch window). RTOS stores related process information in the memory, then the system and process observation window will ext
Software environment: win7 + mdk4.7.2
Hardware environment: stm32f4discovery
OS code used: RT-Thread2.0.0 BETA: https://github.com/RT-Thread/rt-thread/archive/v2.0.0_beta.zip
After decompression, use \ rt-thread-2.0.0_beta \ BSP \ stm32f40x \ project. uvproj for the experiment.
Scons and Python are not used. This is not necessary.
Today, I am only familiar with the software environment:
1,RTGo to mainBefore,
Like a normal MDK-STM32 program.
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.