In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
It is believed that many inexperienced people have no idea about how to use esp8266 rtos sdk on the small yellow board. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
# # 1. Download the RTOS SDK code
Git clone https://github.com/espressif/esp_iot_rtos_sdk.git
# # 2. Download compiler http://bbs.espressif.com/viewtopic.php?f=5&t=2 # # 3. Install compiler under ubuntu and extract xtensa-lx106-elf.tar.bz2 to / opt/
Tar-xvf xtensa-lx1060-elf.tar.bz2
# # 4. Compile code # 4.1 set compiler environment variables
Export PATH=$PATH:/opt/xtensa/bin/
# 4.2 compile
Cd. / esp_iot_rtos_sdk-master/app./gen_misc.sh
The execution script prompts you to select, as follows: STEP 1 boot version selection 2 (none) STEP 2 bin generate selection 0 (eagle.flash.bin+eagle.irom0text.bin) STEP 3 spi speed selection 2 (40m) STEP 4 spi mode selection 0 (QIO) STEP 5 flash size&map selection 4 (4M STEP 512K) compilation will start when the selection is complete, and will be prompted after completion:
# # 5. Download program: # 5.1 download downloader http://bbs.espressif.com/viewtopic.php?f=5&t=433 # # 5.2 set the address of eagle.flash.bin to 0x00000 and the address of eagle.irom0test.bin to 0x40000 according to the selections and prompts at compile time
# 5.3 after shorting the jumper of the small yellow board, connect the serial port to power on, then click to start, and wait a moment to complete the download.
Note: download serial port RX,TX directly connected to the host computer RX and TX, do not need to do crossover. # 5.4 remove the jumper, power on again and start running the program you just downloaded.
# Serial baud rate problem: after direct compilation of rtos sdk, various baud rates are garbled. Add the following code at the beginning of user_init to change the baud rate to 115200:
Uart_div_modify (0, UART_CLK_FREQ / (115200)); SET_PERI_REG_MASK (UART_CONF0 (0), UART_RXFIFO_RST | UART_TXFIFO_RST); CLEAR_PERI_REG_MASK (UART_CONF0 (0), UART_RXFIFO_RST | UART_TXFIFO_RST); after reading the above, have you mastered how to use esp8266 rtos sdk on the small yellow board? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.