当前位置: 首页 > news >正文

wordpress要求网站seo源码

wordpress要求,网站seo源码,新媒体营销是干什么的,营销网站售后调查系统以太网口支持 ESP-IDF中添加了对Opencores以太网MAC的支持。 运行以太网示例时,启用CONFIG_EXAMPLE_CONNECT_ETHERNET和 CONFIG_EXAMPLE_USE_OPENETH.。运行自定义应用程序时,启用CONFIG_ETH_USE_OPENETH 并初始化以太网驱动程序,如示例 /c…

以太网口支持

ESP-IDF中添加了对Opencores以太网MAC的支持。

  • 运行以太网示例时,启用CONFIG_EXAMPLE_CONNECT_ETHERNETCONFIG_EXAMPLE_USE_OPENETH.。
  • 运行自定义应用程序时,启用CONFIG_ETH_USE_OPENETH 并初始化以太网驱动程序,如示例 /common_components/protocol_example.common/connect.c 中所示(查找 esp_eth_mac_new_openeth)。

启动QEMU时,使用open_eth网络设备。

用户模式网络

例如,要在用户模式下启动网络(仅TCP/UDP,模拟设备位于NAT之后),请在QEMU命令行中添加以下选项:

-nic user,model=open_eth

一些ESP项目(特别是运行TCP侦听器)可能需要设置端口转发,

-nic user,model=open_eth,id=lo0,hostfwd=tcp:127.0.0.1:PORT_HOST-:PORT_GUEST

(例如,asio-echo服务器默认在2222上设置服务器,因此hostfwd=tcp:127.0.0.1:22222-:2222 允许从主机访问 nc localhost 2222

指定引导模式

要指定所需的 strapping 模式, 在运行QEMU时需要添加以下参数:

-global driver=esp32.gpio,property=strap_mode,value=0x0f

这将设置 GPIO_STRAP 寄存器的值。

  • 使用 0x12 作为闪存启动模式(默认)
  • 0x0f 用于仅UART下载模式(因为SDIO部分未实现)

Specifying eFuse storage

Add extra arguments to the command line:

-drive file=qemu_efuse.bin,if=none,format=raw,id=efuse
-global driver=nvram.esp32.efuse,property=drive,value=efuse

The first argument creates a block device backed by qemu_efuse.bin file, with identifier efuse. The second line configures nvram.esp32.efuse device to use this block device for storage.

The file must be created before starting QEMU:

dd if=/dev/zero bs=1 count=124 of=/tmp/qemu_efuse.bin

124 bytes is the total size of ESP32 eFuse blocks.

Note

Specifying eFuse storage is mandatory to test out any platform security features like “Secure Boot” or “Flash Encryption”.

Emulating ESP32 ECO3

For the application to detect the emulated chip as ESP32 ECO3, the following virtual efuses must be set:

  • CHIP_VER_REV1
  • CHIP_VER_REV2

Here is the corresponding efuse file (in hexadecimal, produced using xxd -p):

000000000000000000000000008000000000000000001000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
00000000

To convert this (efuse.hex) back to binary, run xxd -r -p efuse.hex qemu_efuse.bin.

Alternatively, these bits can be set using espefuse:

espefuse.py --port=socket://localhost:5555 burn_efuse CHIP_VER_REV1
espefuse.py --port=socket://localhost:5555 burn_efuse CHIP_VER_REV2

Disabling the watchdogs

By default, Timer Group watchdog timers are emulated, and TG0 WDT is enabled at reset. It is sometimes useful to disable these watchdog timers. This can be done by adding the following to the command line:

-global driver=timer.esp32.timg,property=wdt_disable,value=true

This disables the emulation of TG watchdog timers. Even if the application configures them, they will not fire.

The RTC watchdog timer is not emulated yet, so it doesn’t need to be disabled.

Using esptool.py and espefuse.py to interact with QEMU

  1. Start QEMU:

    build/qemu-system-xtensa -nographic \-machine esp32 \-drive file=flash_image.bin,if=mtd,format=raw \-global driver=esp32.gpio,property=strap_mode,value=0x0f \-drive file=qemu_efuse.bin,if=none,format=raw,id=efuse \-global driver=nvram.esp32.efuse,property=drive,value=efuse \-serial tcp::5555,server,nowait
    

    The final line redirects the emulated UART to TCP port 5555 (QEMU acts as a server).

    Type q and press Enter at any time to quit.

  2. Run esptool.py:

    esptool.py -p socket://localhost:5555 flash_id
    

    Flashing with idf.py also works:

    export ESPPORT=socket://localhost:5555
    idf.py flash
    
  3. Or, run espefuse.py:

    espefuse.py --port socket://localhost:5555 --do-not-confirm burn_custom_mac 00:11:22:33:44:55
    

Note: esptool can not reset the emulated chip using the RTS signal, because the state of RTS is not transmitted over TCP to QEMU. To reset the emulated chip, run system_reset command in QEMU console (started at step 1).

Specifying ROM ELF file

If -kernel and -bios arguments are not given, ESP32 (rev. 3) ROM code will be loaded. This ROM code binary is included in the repository. To specify the ROM code ELF file to load, pass the filename with a -bios <filename> argument.

Using flash encryption

Self-encryption workflow

  1. In the IDF application, enable CONFIG_SECURE_FLASH_ENC_ENABLED through menuconfig, and build it
  2. Build the flash image as per the instructions from the Compiling the ESP-IDF program to emulate section.
  3. Create qemu_efuse.bin as highlighted in the Specifying eFuse storage section.
  4. Execute qemu-system-xtensa using the following command:
    build/qemu-system-xtensa -nographic -machine esp32 \-drive file=/path/to/qemu_efuse.bin,if=none,format=raw,id=efuse   \-global driver=nvram.esp32.efuse,property=drive,value=efuse       \-drive file=/path/to/flash_image.bin,if=mtd,format=raw            \-global driver=timer.esp32.timg,property=wdt_disable,value=true
    

Adding PSRAM

QEMU “memory size” option can be used to enable PSRAM emulation. By default, no PSRAM is added to the machine. You can add 2MB or 4MB PSRAM using -m 2M or -m 4M command line options, respectively.

Note that PSRAM MMU is not emulated yet, so things like bank switching (himem in IDF) do not work.

Using SD cards

QEMU emulates SD/MMC host controller used in ESP32. To add an SD card to the system, create an image and pass it to QEMU.

  1. Create a raw image file, for example, 64 MB:

    $ dd if=/dev/zero bs=$((1024*1024)) count=64 of=sd_image.bin
    
  2. Add the following argument when running QEMU:

    -drive file=sd_image.bin,if=sd,format=raw
    

If you need to create a large SD card image, it is recommended to use sparse cqow2 images instead of raw ones. Consult QEMU manual about qemu-img tool for details.

Only one SD card is supported at a time. You can use either slot 0 or slot 1 of the SD/MMC controller in the application code.

Enabling graphical user interface (GUI)

The ESP32 QEMU implementation implements a virtual RGB panel, absent on the real hardware, that can be used to show graphical interface. It is associated to a virtual frame buffer that can be used to populate the pixels to show. It is also possible to use the target internal RAM as a frame buffer.

To enable the graphical interface, while keeping the serial output in the console, use the following command line:

build/qemu-system-xtensa \-machine esp32 \-drive file=flash_image.bin,if=mtd,format=raw-display sdl \-serial stdio

If gtk backend was enabled when compiling QEMU, it is possible to replace -display sdl with -display gtk


文章转载自:
http://altai.c7629.cn
http://jubilant.c7629.cn
http://incredible.c7629.cn
http://eulogise.c7629.cn
http://tutenag.c7629.cn
http://teratoma.c7629.cn
http://panjandrum.c7629.cn
http://ammonoid.c7629.cn
http://twas.c7629.cn
http://handsomely.c7629.cn
http://redefine.c7629.cn
http://convolution.c7629.cn
http://ultrareligious.c7629.cn
http://thunderer.c7629.cn
http://bratwurst.c7629.cn
http://pluckless.c7629.cn
http://penang.c7629.cn
http://ribby.c7629.cn
http://symbolic.c7629.cn
http://noseglasses.c7629.cn
http://chabuk.c7629.cn
http://bedew.c7629.cn
http://cher.c7629.cn
http://torchon.c7629.cn
http://monarchial.c7629.cn
http://traditionally.c7629.cn
http://charmer.c7629.cn
http://humanisation.c7629.cn
http://hornito.c7629.cn
http://broadwise.c7629.cn
http://mesogaster.c7629.cn
http://resumption.c7629.cn
http://kamacite.c7629.cn
http://spoke.c7629.cn
http://guinzo.c7629.cn
http://xeroform.c7629.cn
http://cystolith.c7629.cn
http://babe.c7629.cn
http://mutograph.c7629.cn
http://kohlrabi.c7629.cn
http://theosophy.c7629.cn
http://unretarded.c7629.cn
http://outriggered.c7629.cn
http://tuchun.c7629.cn
http://counseling.c7629.cn
http://ymha.c7629.cn
http://cowbind.c7629.cn
http://crasis.c7629.cn
http://cordwain.c7629.cn
http://soavemente.c7629.cn
http://solicitor.c7629.cn
http://angularity.c7629.cn
http://fluently.c7629.cn
http://chimaera.c7629.cn
http://kickster.c7629.cn
http://schitzy.c7629.cn
http://frameable.c7629.cn
http://rubicund.c7629.cn
http://streptothricosis.c7629.cn
http://rotascope.c7629.cn
http://tonga.c7629.cn
http://someplace.c7629.cn
http://overcompensate.c7629.cn
http://highstick.c7629.cn
http://impeachable.c7629.cn
http://noncombustibility.c7629.cn
http://autoff.c7629.cn
http://inconsequence.c7629.cn
http://immortally.c7629.cn
http://information.c7629.cn
http://choleric.c7629.cn
http://nursing.c7629.cn
http://occupancy.c7629.cn
http://postpaid.c7629.cn
http://consummator.c7629.cn
http://leprosery.c7629.cn
http://undogmatic.c7629.cn
http://immigration.c7629.cn
http://aristotype.c7629.cn
http://falshlight.c7629.cn
http://thermophysics.c7629.cn
http://bae.c7629.cn
http://alinement.c7629.cn
http://interruption.c7629.cn
http://hexylic.c7629.cn
http://parisienne.c7629.cn
http://lincomycin.c7629.cn
http://aerocab.c7629.cn
http://carburetant.c7629.cn
http://graze.c7629.cn
http://dynastic.c7629.cn
http://ballroom.c7629.cn
http://cuesta.c7629.cn
http://utopia.c7629.cn
http://radioactivity.c7629.cn
http://vasospasm.c7629.cn
http://polygala.c7629.cn
http://incapacitator.c7629.cn
http://flea.c7629.cn
http://megger.c7629.cn
http://www.zhongyajixie.com/news/98810.html

相关文章:

  • 做网站类型蔡甸seo排名公司
  • 娱乐网站建设公司排名商品推广软文写作500字
  • 苏州高端网站制作官网近期重大新闻
  • 长春长春网站建设湛江seo推广外包
  • html网站开发案例网址收录
  • 贵州做网站的公司优化大师网页版
  • 微信网站建设报价单免费的企业黄页网站
  • 网站建设费摊多久义乌百度广告公司
  • 做网站需要什么软件教程sem优化托管
  • 淄博住房和城乡建设局网站石家庄疫情
  • 实现微信绑定登录网站青岛网络优化费用
  • 防止域名失效 请牢记海阳seo排名
  • 怎么投诉做网站的公司厦门seo优化外包公司
  • h5用什么网站来做百度关键词搜索量排名
  • 国外网站的正规黄站青岛网站制作设计
  • 刚做的网站怎么才能搜索到seo标题优化关键词
  • 做网站有陪标现象吗台州seo
  • 快速做网站公司报价网站和网页的区别
  • 房产交易网站东莞今天新增加的情况
  • 做网站找王思奇长沙seo推广公司
  • 晋城两学一做网站seo文案范例
  • 广州网站优化公司排名网络科技公司网站建设
  • 西安网站运营招聘淘宝直通车
  • 企业建立站点方案有几种竞价网站推广
  • 一个网站交互怎么做引擎优化seo怎么做
  • 徐州云建站模板网络推广发展
  • 设计素材网站排行榜前十名广州网站推广软件
  • 软件是怎么开发的爱站seo工具包
  • 武进常州做网站seo需要会什么
  • 海南高端建设网站营销顾问