Chen Wen
e44ec9e48e
xtensa/esp32: Fix code nxstyle issue
2021-05-19 06:45:42 -03:00
chenwen
f7db743152
xtensa/esp32: Support auto-sleep
2021-05-19 06:45:42 -03:00
chenwen
f50160f0e1
xtensa/esp32: Support tick-less OS
2021-05-19 06:45:42 -03:00
Xiang Xiao
11ef8a3201
board: Enable CONFIG_BOARDCTL_ROMDISK
...
to fix build break by commit 3156aa7532
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-13 10:44:16 -05:00
Gustavo Henrique Nihei
d9f2289d30
boards/esp32: Allocate .noinit in a dedicated section
2021-04-28 15:40:49 +01:00
Sara Souza
0c440cfdfe
xtensa/esp32: Reorganize the timer logic for wireless use
2021-04-22 21:38:16 -05:00
Dong Heng
fecdd27df3
esp32 & esp32c3: Update Wi-Fi BT and Wi-Fi libraries to fix some issues
2021-04-22 07:34:06 -03:00
Abdelatif Guettouche
f43f066018
boards: Update the iperf configs.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-21 13:44:18 -05:00
Masayuki Ishikawa
1a9e7efde5
smp: Remove CONFIG_SMP_IDLETHREAD_STACKSIZE
...
Summary:
- The CONFIG_SMP_IDLETHREAD_STACKSIZE was introduced to optimize
the idle stack size for other than CPU0
- However, there are no big differences between the idle stacks.
- This commit removes the config to simplify the kernel code
Impact:
- All SMP configurations
Testing:
- Tested with ostest with the following configs
- spresense:smp, spresense:rndis_smp
- esp32-devkitc:smp (QEMU), maix-bit:smp (QEMU)
- sabre-6quad:smp (QEMU), sabre-6quad:netnsh_smp (QEMU)
- raspberrypi-pico:smp, sim:smp (x86_64)
Signed-off-by: Masayuki Ishikawa <asayuki.Ishikawa@jp.sony.com>
2021-04-19 21:46:39 -05:00
Abdelatif Guettouche
c1b0ee436c
arch/xtensa/src/esp32/Kconfig: Make bank switching default to disabled.
...
This config is only useful when there is a > 4MB PSRAM and thus needs to
be selected by the user explicitly.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-19 07:48:35 -05:00
Abdelatif Guettouche
792f53b4ac
boards/esp32-devkitc: Remove useless configs from PSRAM defconfig.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-19 07:48:35 -05:00
YAMAMOTO Takashi
d1307aa34f
esp32-devkitc: Add a config to run apps/examples/sotest
2021-04-15 12:18:52 +01:00
YAMAMOTO Takashi
c62173375d
esp32-devkitc: Add a config to run apps/examples/module
...
Right now, these seems to be no config in tree with
CONFIG_ARCH_USE_MODULE_TEXT.
2021-04-15 12:18:52 +01:00
YAMAMOTO Takashi
1748ca42cd
esp32: Ensure the alignment of _smodtext
2021-04-15 12:18:52 +01:00
Gustavo Henrique Nihei
71f9aca371
boards/esp32: Refactor SPI hooks to be shared among ESP32 devkits
2021-04-14 16:29:32 -03:00
Xiang Xiao
0fdde5be26
arch/esp32: Fix error: Mixed case identifier found
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-10 12:00:06 +01:00
Gustavo Henrique Nihei
6c05b2479e
boards/xtensa: Avoid multiple inclusion of the common Kconfig
...
Also added a condition (!ARCH_BOARD_CUSTOM) for preventing that
out-of-tree ESP32-based custom boards carry out the in-tree common
directory.
2021-04-10 00:32:21 -05:00
Gustavo Henrique Nihei
2efae6928d
drivers/input: Rename BUTTONS configs to INPUT_BUTTONS
2021-04-08 14:41:22 -03:00
Matias N
ab206687bb
Replace wrong inclusion of sys/errno.h (toolchain provided) with errno.h
2021-04-07 21:27:06 -05:00
Matias N
bc8a6772f6
Documentation: migrate ESP32DevKit README into docs
2021-04-07 22:34:33 +01:00
Matias N
d88b5aac97
esp32: move common XTAL and RUN_IRAM configs to ESP32 KConfig
2021-04-07 21:45:48 +01:00
Abdelatif Guettouche
b198c63512
boards/xtensa/esp32: Update some old information in README.txt files.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-06 22:40:14 -05:00
Abdelatif Guettouche
19f3523499
boards/xtensa/esp32: Update Kconfig helps when it comes to running from
...
IRAM.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-06 22:40:14 -05:00
Alan C. Assis
cd08694698
esp32 boards: BUTTON_BOOT should use PULLUP instead PULLDOWN
2021-04-05 23:06:03 -05:00
Alan C. Assis
6481eb6523
esp32-devkitc: Add BMP180 sensor support
2021-04-04 10:54:02 -05:00
Abdelatif Guettouche
f07b64d1af
boards/xtensa/esp32/*/esP32_bringup.c: Remove unused comments blocks and
...
garbage at the end of the files.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-01 12:15:34 -05:00
Abdelatif Guettouche
b925c73110
boards/xtensa/esp32: Move the WLAN initialization to the common
...
directory.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-01 12:15:34 -05:00
Alin Jerpelea
3d96d5f2ce
arch: esp32: Mixed Case identifier fix
...
Fix Mixed Case Identifier reported by nxstyle
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
Abdelatif Guettouche
fcf5c1501e
boards/xtensa/esp32-devkitc: Add MQTT-C defconfig.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-31 10:01:08 -05:00
Gustavo Henrique Nihei
6949ec1074
boards/esp32-devkitc: Disable unnecessary SPI driver from nsh config
2021-03-30 04:11:31 -05:00
Alan C. Assis
7e9faa9725
esp32-devkitc: Add GPIO board support
2021-03-28 13:33:48 -07:00
Abdelatif Guettouche
04b9b8f6db
esp32-devkitc: Make nsh the entry-point of the ostest config.
...
This makes it consistent with other configs and helps with scripting.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-26 12:14:16 -05:00
Sara Souza
59313c86d1
xtensa/esp32: Adds oneshot timer driver.
2021-03-24 16:01:26 -03:00
chenwen
f54aef9977
xtensa/esp32: Support esp32 wireless ioctl cmd
2021-03-23 16:29:52 -03:00
Gustavo Henrique Nihei
c759f7e30e
boards/esp32-devkitc: Add configuration for testing Button device
2021-03-23 16:29:15 -03:00
Gustavo Henrique Nihei
fca65f08cf
boards/esp32-devkitc: Add Button support via the BOOT button
2021-03-23 16:29:15 -03:00
Abdelatif Guettouche
cc23bdeca4
boards/xtensa/esp32: Add a section in external memory to hold some BSS
...
data.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-23 16:39:01 +09:00
Masayuki Ishikawa
9cce09e58a
boards: Remove SCHED_INSTRUMENTATION from all SMP related configs
...
Summary:
- This commit removes SCHED_INSTRUMENTATION which has been used
to debug NuttX SMP kernel
Impact:
- None
Testing:
- Tested with ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-22 19:47:56 -07:00
Abdelatif Guettouche
04dffb551d
boards/xtensa/esp32: Delete the QEMU generated image on distclean.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-22 09:51:49 +09:00
Alin Jerpelea
6f14299dd0
boards: nxstyle fixes
...
nxstyle fixes to pass the CI check
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-18 22:58:27 -07:00
Alin Jerpelea
bdfe696b9a
boards: xtensa: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Jiuzhu Dong
59eb4fa8d6
fs: delete NFILE_DESCRIPTORS for allocating dynamically
...
Change-Id: Id06d215063796d222b9792d25ab2d6742167729f
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
Dong Heng
b2f5031e96
xtensa/esp32: Refactor ESP32 WiFi driver to support station and softAP coexistence
2021-03-16 10:20:59 -03:00
Abdelatif Guettouche
28160823b6
arch/xtensa/esp32: ~6KB of memory at address 0x3ffae6f0 is not used by
...
the ROM bootloader, add that to the heap as well.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00
Abdelatif Guettouche
cba44928d2
arch/xtensa/esp32: Part of the ROM regions in middle of DRAM are not
...
used, retrieve them as heap.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00
Gustavo Henrique Nihei
a3f6a5fbb6
boards/esp32-devkitc: Mount tmpfs on bring up
2021-03-15 19:59:49 -07:00
Gustavo Henrique Nihei
47cb41c92f
makefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
Alin Jerpelea
0a797f1e8b
boards: Makefile: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-05 04:08:55 -08:00
Alan C. Assis
29af35faef
esp32: Add board config to support MCP2515
2021-03-04 14:57:56 +00:00
Xiang Xiao
9473434587
Ensure the kernel component don't call userspace API
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09:00