Gustavo Henrique Nihei
75dd460f79
boards/esp32s2-saola-1: Add example defconfig for booting from MCUboot
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-27 18:21:53 -07:00
Gustavo Henrique Nihei
800678ca78
xtensa/esp32s2: Enable booting from MCUboot bootloader
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-27 18:21:53 -07:00
Sara Souza
962059f843
xtensa/esp32-s2: Adds oneshot device driver support
2021-09-22 22:53:54 -03:00
Sara Souza
fba6fa2dc1
xtensa/esp32-s2: Adds support to rt_timer and systimer to ESP32-S2.
2021-09-22 17:18:24 -03:00
Pedro Bertoleti
64e8322974
Add LCD backpack support for ESP32 (devkit-c).
2021-09-22 16:58:36 -03:00
Sara Souza
0504e1d5f6
esp32-devkitc/wifinsh: Adds missing dependency on defconfig
2021-09-21 15:16:47 -03:00
Alan C. Assis
7edb39f880
boards/esp32: Remove "return ret" from bringup function
...
During the lcd1602 tests on our internal CI we noticed that the
lcd1602 was failing because there is not a I2C display in the
emulated board on QEMU. It is better to remove the "return ret"
from the bringup because the user will see the error anyway.
2021-09-21 10:34:55 -03:00
Alan C. Assis
60d4ee11ee
esp32-wrover: Add support to LCD1602 with I2C Backpack
2021-09-15 12:02:26 +08:00
Gustavo Henrique Nihei
aacbe981be
boards/esp32s2-saola-1: Add implementation for BOARDIOC_RESET interface
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-13 18:32:02 -03:00
Alan C. Assis
099e9fb4f7
boards: Remove -nostartfiles -nodefaultlibs from LDFLAGS
2021-09-13 08:58:25 +08:00
Gustavo Henrique Nihei
87496972a2
boards/esp32: Fix init thread stack size when ESP32_WIFI_SAVE_PARAM=y
...
Previous default value was not sufficient and was resulting in
unexpected behavior when some log domains were enabled
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-10 13:29:05 +08:00
Gustavo Henrique Nihei
12b4d22757
tools/esp32s2: Create option for merging all binaries into a single file
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-08 12:16:52 +02:00
Gustavo Henrique Nihei
c0344d2273
tools/esp32: Create option for merging all binaries into a single file
...
This is only useful when the path to binary files (e.g. bootloader) is
provided via the ESPTOOL_BINDIR variable.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-08 12:16:52 +02:00
Sara Souza
26397c6695
xtensa/esp32: Wi-Fi board logic refactoring.
...
This commit removes the initialization of the Wi-Fi partition
from the Wi-Fi board logic and moves it to the SPI Flash board code.
It creates 2 different partition (one for Wi-Fi and one for general
use).
It also allows these partitions to be mounted over several FSs.
2021-09-04 14:30:02 +08:00
Alin Jerpelea
dda6733178
defconfig: allow use of BSD components
...
several configs are used for testing and need the BSD components
more information about license can be found here
https://www.apache.org/legal/resolved.html#category-a
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
9d870e1502
defconfig: allow use of BSD components
...
several configs are used for testing and need the BSD components
more information about license can be found here
https://www.apache.org/legal/resolved.html#category-a
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 09:00:43 -03:00
Alin Jerpelea
2ab9e7fef0
Revert "esp32: remove FS_SPIFFS from defconfigs"
...
This reverts commit 35a004bdd0
.
2021-09-02 09:00:43 -03:00
Alin Jerpelea
cf884b7460
Revert "defconfig: remove NFS from defconfig"
...
This reverts commit ff07cb8b2f
.
2021-09-02 09:00:43 -03:00
Gustavo Henrique Nihei
54d436116e
boards/esp32-ethernet-kit: Add config for MCUboot API usage example
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
5bc3586b20
boards/esp32-ethernet-kit: Add config for MCUboot-based FW update agent
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
efbabfad04
boards/esp32-devkitc: Add config for MCUboot API usage example
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
509008cfbe
boards/esp32-devkitc: Add config for MCUboot-based FW update agent
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
c61399cca5
boards/esp32-wrover-kit: Add config for MCUboot API usage example
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
57bde4ff89
boards/esp32-wrover-kit: Add config for MCUboot-based FW update agent
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 14:13:28 -03:00
Sara Souza
8081228556
xtensa/esp32-s2: Adds support to the timer driver
...
Only one more support for ESP32-S2 chip.
2021-09-01 14:10:01 -03:00
Alin Jerpelea
ff07cb8b2f
defconfig: remove NFS from defconfig
...
NFS uses BSD license and should not be enabled by default
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alin Jerpelea
35a004bdd0
esp32: remove FS_SPIFFS from defconfigs
...
FS_SPIFFS uses BSD license and should not be enabled by default
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alan C. Assis
e89933d02a
esp32/ttgo_lora_esp32: Add support to SSD1306 OLED display
2021-08-29 10:48:35 +08:00
Alan C. Assis
5df1a544cf
boards/esp32: Add basic support to TTGO-LoRa-SX1276-ESP32
...
Link to this board's project: https://github.com/LilyGO/TTGO-LORA32
2021-08-26 18:51:15 -03:00
Abdelatif Guettouche
52f32cb367
boards/xtensa/esp32: Don't include esp32_cpuint.h, it's not needed.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-18 04:42:18 -07:00
Gustavo Henrique Nihei
1dfcc6ab49
xtensa/esp32: Enable boot from Espressif's port of MCUboot
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-13 08:44:20 -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
YAMAMOTO Takashi
7e449c8a61
esp32-devkitc/wapi: Some config tweaks
...
When trying to reproduce a reported issue with telnetd,
it took me a bit to find out a working config with telnetd.
I don't want to repeat the process again in future.
OTOH, I don't feel it's worth to have a separate config for this.
Enable a few things convenient for testing network stuff
- telnetd
- iperf
- NET_STATISTICS
- Bump NET_NACTIVESOCKETS
Stack related
- Enable interrupt stack
- Tweak stack sizes
- STACK_COLORATION
- SYSTEM_STACKMONITOR
Debug stuff
- Enable assertions
- Enable some WARN/ERROR logs
Misc
- Disable C++ as it does nothing for the rest of the config and
it's expensive (involving a download of the library)
2021-08-02 23:12:17 -07:00
Masayuki Ishikawa
b9757ff811
boards: esp32-devkitc: Update wapi_smp/defconfig
...
Summary:
- This commit adds RTC and NTP client to wapi_smp/defconfig
Impact:
- None
Testing:
- Tested with ntpcstart & date
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-29 21:00:01 -07:00
Sara Souza
9c3799f130
xtensa/esp32-s2: Adds GPIO board logic to esp32s2-saola-1.
2021-07-29 17:21:32 -03:00
Gustavo Henrique Nihei
a7a922611b
xtensa/esp32: Enable the allocation of multiple SPI Flash partitions
...
Currently the "esp32_spiflash_alloc_mtdpart" allocates a
statically-defined partition from "offset" and "size" set via
Kconfig.
This commit changes the function interface to receive those information
as arguments, enabling the creation of multiple MTD partitions with
different offsets and sizes.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-07-29 20:17:13 +02:00
Sara Souza
857414e95d
xtensa/esp32: expose SPI2 as a char driver
2021-07-27 09:55:49 -07:00
Alan C. Assis
5500dcdf64
Fix typo on HT16K33 name
2021-07-25 09:00:39 -07:00
Alan C. Assis
5b465345c7
Fix typo on esp32-devkitc
2021-07-25 09:00:39 -07:00
Alan C. Assis
6bc07944d5
Add nsh console through telnet over Wi-Fi
2021-07-25 02:45:19 -07:00
Sara Souza
c47faa7120
xtensa/esp32: Make output readable and rmv unnecessary var.
2021-07-16 19:53:51 -03:00
Abdelatif Guettouche
e29d14ad66
boards/xtensa/esp32: Delete the drivers directory, it's empty, the build
...
system will pick the common dummy one.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
a6632f969a
boards/xtensa/esp32: Make board level linker script take precedence over
...
the common scripts.
This allows having a more costumized linker script per board.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
0aa35850fc
boards/xtensa/esp32: Update Make.defs to account for the new location of
...
the linker scripts.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
e45facf6a8
boards/xtensa/esp32: Move the linker scripts to the common directory.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
e2705cd86c
boards/xtensa/esp32: Add license headers to the linker script files and
...
correct some old names.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouch@espressif.com>
2021-07-13 10:24:42 -07:00
Masayuki Ishikawa
fec3bb2a0c
boards: esp32-devkitc: Update wapi_smp/defconfig
...
Summary:
- This commit adds several configs to test Wi-Fi networking
Impact:
- wapi_smp only
Testing:
- Tested with nfsmount, telnet, ping, webserver
- telnet + ping, nfsmount + ping work
- NOTE: nfs + telnet stress test might stop
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-13 05:12:40 -07:00
Jiuzhu Dong
85470176e7
sched/task: delete CONFIG_MAX_TASKS limit
...
Change-Id: I583015a95dbcebd352f81ecb3104ffdbd646a9ec
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-07-11 19:42:30 -07:00
Masayuki Ishikawa
a7c9f701ef
boards: esp32-devkitc: Update smp/defconfig
...
Summary:
- This commit adds the following to smp/defconfig
+CONFIG_DEBUG_FULLOPT=y
+CONFIG_DEBUG_SYMBOLS=y
+CONFIG_STACK_COLORATION=y
Impact:
- None
Testing:
- Tested with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-07 21:24:28 -05:00
Masayuki Ishikawa
ba2e0026ab
boards: esp32-devkitc: Add interrupt stack to smp/defconfig
...
Summary:
- This commit adds CONFIG_ARCH_INTERRUPTSTACK=2048 to defconfig
Impact:
- None
Testing:
- Tested with ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-03 07:02:33 -05:00
Abdelatif Guettouche
e401aa17f6
boards/xtensa/esp32: Update the defconfigs to account for the changes in
...
TEXT_HEAP and the introduction of ESP32_IRAM_HEAP and ARCH_HAVE_EXTRA_HEAPS
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-26 09:52:43 -05:00
Abdelatif Guettouche
03d38166c0
boards/xtensa/esp32: Use the common gnu-elf.ld file from binfmt/libelf
...
instead of keeping the same file for each board.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-24 08:04:14 -05:00
Abdelatif Guettouche
c4b0a85841
boards/xtensa/esp32: Change the name of the flash segment to irom_0_0
...
instead of iram_0_2.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
4c559c8324
boards/xtensa/esp32: Use REGION_ALIAS to choose from IRAM and FLASH
...
regions.
With this we also don't need two separate linker scripts (one for IRAM
and another one for FLASH). Only one linker script (now called
esp32.ld) is now present.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
556321b9e2
boards/esp32: Move the ROM linker script to the common directory.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
40d7bbb231
boards/esp32: Remove the peripherals' linker script since it's not
...
needed.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
a920009102
boards/xtensa/esp32: Delete OpenOCD scripts. The documentation part
...
explains how to use those shipped with OpenOCD.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
1e49f2929f
arch/xtensa/src/esp32: Extract the IRAM region as a separate heap.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 08:37:01 +09:00
Abdelatif Guettouche
1719e9df94
arch/xtensa/esp32: Add the RTC Slow memory as a separate heap.
...
This memory region can be accessed by both I & D buses, so the heap can
be used for data storage and code execution.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 08:37:01 +09:00
chenwen
c3792f0aae
xtensa/esp32: Support ESP32 RTC driver
2021-06-18 22:01:34 -05:00
Abdelatif Guettouche
af5e0c620f
Rename MODULE_TEXT to TEXT_HEAP as the latter is more generic.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 07:14:17 -05:00
Xiang Xiao
5b2a17b892
Include assert.h in necessary place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-08 13:06:08 -07:00
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
Abdelatif Guettouche
2004acdeb1
boards/esp32s2: Remove anything that has to do with QEMU since it's not
...
supported.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 12:43:15 -05:00
Abdelatif Guettouche
672b8000f5
boards/xtensa/esp32s2/esp32s2-saola-1/scripts/.gitignore: Ignore the
...
generated linker script file.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 10:31:26 -05:00
Abdelatif Guettouche
8347a56bc0
Improve and remove not necessary board configuration
2021-06-01 07:49:54 +02:00
Alan C. Assis
1201777457
Add support to the esp32s2-saola-1 board
2021-06-01 07:49:54 +02: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
chenwen
f54aef9977
xtensa/esp32: Support esp32 wireless ioctl cmd
2021-03-23 16:29:52 -03:00
Gustavo Henrique Nihei
ca05ff5ffb
boards/esp32-ethernet-kit: Add configuration for testing Button device
2021-03-23 16:29:15 -03:00
Gustavo Henrique Nihei
72d98e645a
boards/esp32-ethernet-kit: Add Button support via the BOOT button
2021-03-23 16:29:15 -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
Gustavo Henrique Nihei
d8073c2fd8
boards/esp32-wrover-kit: Add configuration for testing Button device
2021-03-23 16:29:15 -03:00
Gustavo Henrique Nihei
c29770cde1
boards/esp32-wrover-kit: 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
4cde8dab5a
boards/esp32-wrover-kit: Mount tmpfs on bring up
2021-03-15 19:59:49 -07:00
Gustavo Henrique Nihei
31816d2726
boards/esp32-ethernet-kit: Mount tmpfs on bring up
2021-03-15 19:59:49 -07:00
Gustavo Henrique Nihei
a3f6a5fbb6
boards/esp32-devkitc: Mount tmpfs on bring up
2021-03-15 19:59:49 -07:00
Gustavo Henrique Nihei
330eff36d7
sourcefiles: Fix relative path in file header
2021-03-09 23:18:28 +08: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
Gustavo Henrique Nihei
37ac70b7d9
xtensa/esp32: Add configuration for testing BMP180
2021-03-04 16:31:51 +00:00
Gustavo Henrique Nihei
0735e8c2a7
xtensa/esp32: Fix BMP180 erroneously depending on I2C_DRIVER
2021-03-04 16:31:51 +00: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
Gustavo Henrique Nihei
ed0a1b724b
xtensa/esp32: Fix typos reported by codespell
2021-02-25 15:02:15 +00:00
YAMAMOTO Takashi
ce6f6d4241
esp32 Kconfig: Move ESP32_SPIFLASH_xxx configs to the common place
...
These are referenced by other boards than esp32-devkitc as well.
2021-02-24 08:19:25 +00:00
Pedro Bertoleti
a4f422a801
This commit enables BMP180 suport for ESP32.
...
As ESP32 has 2 I2C interfaces and BMP180 is a I2C sensor, the criterias to use BMP180 in I2C0 or I2C1 are:
1- First, bring-up routines search for BMP180 in I2C0.
If BMP180 is found in I2C0, then /dev/press0 is created.
2- If BMP180 cannot be registered in I2C0, bring-up routines search for it in I2C1.
If BMP180 is found in I2C1, then /dev/press0 is created.
It means only one BMP180 could be suported in Nuttx. In my tests I've observed
that BMP180 example application doesn't seem to work with /dev/press1 BMP180 device,
therefore even BMP180 is found in I2C1, it'll be registered as /dev/press0 device.
2021-02-22 21:45:16 -03:00
Pedro Bertoleti
79e8a52d86
This commit implements I2C support for ESP32 (wrover kit).
...
It was missing and it wasn't possible to enable I2C (0 and/or 1)
before this fix.
To sum up, this fix implements a I2C register function in ESP32
bring-up routines (esp32_bringup.c) and call if for I2C0 and/or
I2C1 during ESP32 bringup (these function callings are conditioned
by CONFIG_ESP32_I2C (to check if I2C support has been configured),
CONFIG_ESP32_I2C0 (to check if I2C0 support has been configured)
and CONFIG_ESP32_I2C1 (to check if I2C1 support has been configured).
Once this fix is implemented, /dev/i2c0 and/or /dev/i2c1 interfaces
become available and work fine.
2021-02-21 23:33:21 +00:00
Abdelatif Guettouche
10fca18b55
boards/*/esp32: Add instructions on how to use the configs with QEMU.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-21 09:57:01 -08:00
Abdelatif Guettouche
adae5083ba
esp32-dekitc:wapi_smp: Select the NETDEVICES dependency.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-19 03:29:10 -08:00
Masayuki Ishikawa
f344e7b5bf
boards: esp32-devkitc: Add CONFIG_STACK_COLORATION=y to wapi_smp/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-18 19:05:07 -08:00
Masayuki Ishikawa
74c56f53aa
boards: esp32-devkitc: Add wapi_smp to test Wi-Fi in SMP mode
...
Summary:
- This commit adds wapi_smp to test Wi-Fi in SMP mode
Impact:
- None
Testing:
- Tested with wapi, telnetd, ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-18 09:11:27 +00:00