Commit Graph

2140 Commits

Author SHA1 Message Date
anjiahao 09c6b02017 Documentation:fix error describe on message queue
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-04-26 16:09:37 +08:00
Jiuzhu Dong de1c184e6c boards/sim: support rc.sysinit
Follow: http://glennastory.net/boot/sysinit.html

This is first script that init runs is rc.sysinit. This
script does serval initialization tasks about basic service.

The boot sequence currently provided to the board level is:
board_earlyinitialize->
    board_lateinitialize(Peripherals driver, core driver, ...)->
	run rcS script(mount fs, run service) ->
	    board_appinitialize->

After this patch:
The boot sequence currently provided to the board level is:
board_earlyinitialize->
    board_lateinitialize(core driver,...)->
	run rc.sysinit script(mount fs, run core service) ->
	    board_appinitialize(Peripherals driver)->
		run rcS script(run other service)->

So, Peripheral drivers can do more with the file system and
core services.

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-04-21 12:54:53 +03:00
Xiang Xiao ef1a98dd00 Remove the unneeded void cast
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-17 23:32:05 +03:00
Michal Lenc d5b34f9ce0 Documentation/guides/pysimcoder.rst: update pysimCoder dependencies
CONFIG_LIBM option may be required by some toolchains that do not include
standard math library. Morover CONFIG_PTHREAD_STACK_MIN was listed twice
in the list.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2022-04-08 01:05:43 +08:00
Long Dao 8bf0750090 Update cpp_cmake.rst 2022-04-05 02:04:05 +08:00
Long Dao e25df6706d Update cpp_cmake.rst
update CMAKE_C_FLAGS when compile C file
2022-04-05 02:04:05 +08:00
Alan C. Assis 0f49a8dec7 Fix ESP32-C3 toolchain download link 2022-04-02 05:41:18 +08:00
Janne Rosberg 841bcf84a0 docs/mpfs: mark USB and ethernet as supported 2022-03-18 17:22:27 +02:00
YAMAMOTO Takashi 26a08908cf boards/esp32-devkitc/index.rst: Mention efuse config 2022-03-17 13:40:51 +08:00
Meco Man 6ad06b0c2b [docs] eliminate potential misunderstandings 2022-03-17 02:04:05 +08:00
Xiang Xiao ee931c137f boards: Remove -fno-builtin
it's more efficent to generate the machine code directly if possible

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
simbit18 1e7e1cad0b Update install.rst
updade tip
2022-03-07 23:51:48 +08:00
Xiang Xiao f1ed349dd9 sched/clock: Remove CLOCK_MONOTONIC option from Kconfig
here is the reason:
1.clock_systime_timespec(core function) always exist regardless the setting
2.CLOCK_MONOTONIC is a foundamental clock type required by many places

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:26 +08:00
Xiang Xiao 1d1bdd85a3 Remove the double blank line from source files
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 20:10:14 +01:00
Alan C. Assis 9739be15de Doc/sim: Add documentation about LVGL and VNC 2022-02-19 17:30:27 +08:00
Xiang Xiao b0fa232918 boards: Remove -D__NuttX__ from the individual Make.defs
since it is defined globally in tools/Config.mk now

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-15 15:26:38 +01:00
Xiang Xiao 47e38eb70f binfmt: Decouple builtin from binfs file system
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-14 09:35:35 -03:00
Xiang Xiao 04297c3ca3 board: Remove -fno-omit-frame-pointer from Make.defs
except sim arch, since this flag is set inside Toolschain.defs now

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-20 16:00:48 +01:00
Alexander Lunev ea6141e01b Documentation: added "Testing / capturing TCP network traffic" section, including packet loss emulation 2022-01-20 14:15:33 +08:00
Xiang Xiao 8bcdefafc9 board: Remove -fno-strength-reduce
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-19 00:14:03 +01:00
Eero Nurkkala 10d98f64d3 Documentation: risc-v/mpfs: update documentation
Update the risc-v/mpfs documentation to match the current work.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-01-17 17:33:03 +08:00
Xiang Xiao 902d2197b0 vnc: Decouple VNC server from NX graphic stack
since VNC server is very useful even without NX:
1.Replace nxgl_coord_t with fb_coord_t
2.Replace nxgl_rect_s with fb_area_s
3.Remove nxgl_xxx function call

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-03 11:19:32 +08:00
ligd 75aec04330 serial: add CONFIG_TTY_LAUNCH support
this allow user start new program from tty

Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-01-01 20:38:26 +08:00
Alan C. Assis 7b1135500b doc/esp32: Add documentation about BLE for ESP32 2021-12-28 07:31:02 -06:00
ligd 10ccba6671 init: move USERMAIN_XX out of INIT_ENTRYPOINT
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-12-24 08:23:30 -06:00
Jari van Ewijk 2e47ef32cf GPIO driver: register all pintypes as generic /dev/gpioN 2021-12-09 23:55:12 -06:00
Abdelatif Guettouche 490ac188c2 Documentation/esp32: Remove the open issues section.
1. Issues regarding caching:  The ESP32 has no D-Cache and thus the
   issues described there do not apply.
2. Issue regarding assertion: No chip does this at the moment.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-12-06 07:15:58 -06:00
Abdelatif Guettouche 00befc4ec6 Documentation/esp32c3: Document the CDC console defconfig.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-09 09:22:57 -03:00
Abdelatif Guettouche dee1726a35 Documentation/esp32c3: List the supported ESP32-C3 boards.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-08 14:58:54 -03:00
Alan C. Assis b248dd0d3a Documentation: Fix openocd command instruction
A user reported me an issue while following our documentation
then looking his command line error I noticed the openocd stlink
interface was wrong: st-link-v2.cfg -> stlink-v2.cfg
2021-11-04 15:09:34 +01:00
Cocoacrumbs 2d4906ab9b Small clarification in the making-changes.rst documentation. 2021-11-02 20:22:18 +01:00
Gustavo Henrique Nihei a1af605973 espressif: Fix references to Wi-Fi according to Wi-Fi Alliance
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-25 08:01:44 -05:00
Gustavo Henrique Nihei b99852872c Documentation: Update "Using QEMU" section for ESP32
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-19 23:23:43 +02:00
Alan C. Assis e0389ce1fb build: Replace 'make download' with 'make flash' 2021-10-14 16:33:27 -03:00
Janne Rosberg 3a6d2adce8 Documentation/mpfs: add SD to supported peripherals 2021-09-18 12:18:09 -03:00
Alan C. Assis eaf50cd06b Doc: Update download version to 10.1 and fix tar command 2021-09-17 07:53:57 -07:00
Alan C. Assis edb52cc32c Doc: Add initial documentation to the simulator 2021-09-06 10:34:57 +08:00
Alan C. Assis adea1fdeb4 Add wifinsh documentation and fix missing "nsh> " in the doc 2021-08-31 15:04:07 -03:00
Alan C. Assis de64a1eee8 doc/esp32: Add instructions to use softap
Co-author: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-26 20:57:19 +02:00
Alan C. Assis 6031e06ff2 Move "Contributing" to be after getting started 2021-08-23 21:22:49 +08:00
Abdelatif Guettouche 6c2fcdc45d Documentation: Update ESP32-C3 supported peripheral list.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-21 18:30:53 -03:00
Abdelatif Guettouche 11ed9199c1 Documentation/esp32-wrover-kit: update the name of the GPIO interrupt
device.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-19 19:18:23 -07:00
Xiang Xiao 6b6c11f0ad mtd: Replace MTDIOC_XIPBASE with BIOC_XIPBASE
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-12 08:01:29 -03:00
Alan C. Assis 1023918d37 Doc/esp32: Fix wapi psk command, value 1 is for WEP 2021-08-11 20:04:48 -07:00
Michal Lenc c456b15916 Documentation: add guide for pysimCoder integration with NuttX
This commit adds documentation for compiling NuttX for pysimCoder and
then running pysimCoder designed applications on NuttX. PysimCoder is
a Rapid Control Application Development Tool that can transfer block
diagrams into C code and can be used in real time control applications.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-08-11 18:04:09 +02:00
Alan C. Assis 2581c7acef Doc/FAQ: Add more entries about board initialization 2021-08-08 20:50:49 -07:00
Alan C. Assis bed8161202 Documentation/FAQ: Why /dev/ttySx is not created 2021-08-06 19:52:30 -03:00
Xiang Xiao b12f588140 Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
since boardctl isn't a libc feature

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-06 13:58:26 +02:00
Xiang Xiao 5025fbef8d Rename LIB_ to LIBC_ for all libc Kconfig
follow other libc component naming convention

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-05 19:45:24 +02:00
jsun bb63afde1e Documentation/bl602: Update some imformation; Add partition.toml in tool/bl602 2021-07-27 21:01:15 -07:00