Commit Graph

232 Commits

Author SHA1 Message Date
Alan C. Assis
be1c8036d5 esp32-devkitc: Add board support to ht16k33 14-seg display 2021-06-05 20:32:04 -05:00
Abdelatif Guettouche
6e4a3d6cd8 boards/esp32-devkitc: Add an ELF defconfig.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-04 10:25:15 -05:00
Xiang Xiao
2e54df0f35 Don't include assert.h from public header file
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-03 08:36:03 -07:00
YAMAMOTO Takashi
42d75f97e6 esp32-devkitc/wapi: a few settings which I often need for network testing
CONFIG_DEV_URANDOM=y (for mbedtls)
CONFIG_NETDB_DNSCLIENT_NAMESIZE=64 (azure generated hostnames)
CONFIG_NET_ETH_PKTSIZE=1518
CONFIG_NET_TCP_DELAYED_ACK=y
CONFIG_NET_TCP_WRITE_BUFFERS=y
CONFIG_NSH_LINELEN=300 (copy-and-paste azure long URLs)
2021-06-03 10:06:16 -05:00
YAMAMOTO Takashi
c20ed229b1 refresh configs 2021-06-03 10:05:33 -05:00
Xiang Xiao
d7f96003cf Don't include debug.h from public header file
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-01 06:42:02 +09:00
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
Alan C. Assis
ae42005712 esp32/mcp2515: Enable irq after attaching to the pin irq 2021-04-21 22:26:52 -05: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
0030c2020f boards/esp32-wrover-kit: Remove deprecated README documentation 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
890ce34626 boards/esp32-wrover-kit: Add configuration for running LVGL demo 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
3fbca90700 boards/esp32-wrover-kit: Add configuration for testing NX graphics 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
3ae2a2965f boards/esp32-wrover-kit: Add support for Framebuffer character driver 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
ee636c5fe2 boards/esp32-wrover-kit: Add support for LCD character driver 2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
856bed2966 boards/esp32-wrover-kit: Add LCD support via ILI9341 controller 2021-04-14 16:29:32 -03: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
8218d5ea76 boards/xtensa: Fix Kconfig style issues 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
Alan C. Assis
ec1b89e264 esp32-wrover-kit: Don't use User GPIO Subsystem to control LED
The GPIO_LEDx are already used by esp32_userleds.c, they shouldn't
be used by esp32_gpio.c. This patch also includes the GPIO Input
example (GPIN) that was missing.
2021-04-03 09:37:38 -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
d89b2b4092 boards/esp32-wrover-kit: Disable unnecessary SPI driver from nsh config 2021-03-30 04:11:31 -05:00
Gustavo Henrique Nihei
6d93d948de boards/esp32-ethernet-kit: Disable unnecessary SPI driver from nsh config 2021-03-30 04:11:31 -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