-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Variants): Add Arduino libraries for Lora 4G Module and Node Wifi o… #10402
Conversation
👋 Hello Bharat-Pi, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Bharat-Pi PTAL on my comments.
As you are using 4MB Flash chip, please remove other options and unusable partitions for all the boards. Thanks, otherwise its looking good.
boards.txt
Outdated
BharatPi-Node-Wifi.menu.FlashSize.8M=8MB (64Mb) | ||
BharatPi-Node-Wifi.menu.FlashSize.8M.build.flash_size=8MB | ||
BharatPi-Node-Wifi.menu.FlashSize.8M.build.partitions=default_8MB | ||
BharatPi-Node-Wifi.menu.FlashSize.16M=16MB (128Mb) | ||
BharatPi-Node-Wifi.menu.FlashSize.16M.build.flash_size=16MB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove those as the board is made with 4MB flash chip
BharatPi-Node-Wifi.menu.FlashSize.8M=8MB (64Mb) | |
BharatPi-Node-Wifi.menu.FlashSize.8M.build.flash_size=8MB | |
BharatPi-Node-Wifi.menu.FlashSize.8M.build.partitions=default_8MB | |
BharatPi-Node-Wifi.menu.FlashSize.16M=16MB (128Mb) | |
BharatPi-Node-Wifi.menu.FlashSize.16M.build.flash_size=16MB |
BharatPi-Node-Wifi.build.loop_core= | ||
BharatPi-Node-Wifi.build.event_core= | ||
|
||
BharatPi-Node-Wifi.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also go through all partition schemes and remove those that are not for 4MB Flash size.
boards.txt
Outdated
BharatPi-A7672S-4G.menu.FlashSize.8M=8MB (64Mb) | ||
BharatPi-A7672S-4G.menu.FlashSize.8M.build.flash_size=8MB | ||
BharatPi-A7672S-4G.menu.FlashSize.8M.build.partitions=default_8MB | ||
BharatPi-A7672S-4G.menu.FlashSize.16M=16MB (128Mb) | ||
BharatPi-A7672S-4G.menu.FlashSize.16M.build.flash_size=16MB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here:
BharatPi-A7672S-4G.menu.FlashSize.8M=8MB (64Mb) | |
BharatPi-A7672S-4G.menu.FlashSize.8M.build.flash_size=8MB | |
BharatPi-A7672S-4G.menu.FlashSize.8M.build.partitions=default_8MB | |
BharatPi-A7672S-4G.menu.FlashSize.16M=16MB (128Mb) | |
BharatPi-A7672S-4G.menu.FlashSize.16M.build.flash_size=16MB |
boards.txt
Outdated
BharatPi-LoRa.menu.FlashSize.8M=8MB (64Mb) | ||
BharatPi-LoRa.menu.FlashSize.8M.build.flash_size=8MB | ||
BharatPi-LoRa.menu.FlashSize.8M.build.partitions=default_8MB | ||
BharatPi-LoRa.menu.FlashSize.16M=16MB (128Mb) | ||
BharatPi-LoRa.menu.FlashSize.16M.build.flash_size=16MB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it also uses 4MB flash please remove those options and remove the unusable partitions.
Hello @Bharat-Pi, please take a look on proposed changes by @P-R-O-C-H-Y. |
Somehow my comments are not shown Though the board picture you see in the website has 4MB flash, We have boards with 8MB and 16MB Flash versions, which are used by ones who wants more flash memory and trying edge ai workloads. I have also mentioned the same in the description. This is same for all three boards, Hence we would need partition and flash size of 8MB and 16MB also. It is showing as pending for me not sure why . I have resolved other comments regarding board name , please check and approve the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Bharat-Pi ----
@Bharat-Pi Thanks for the info, one small nitpick about the build.board name. Else it's looking good. Once fixed and CI passes we can merge :) |
Fixed and pushed the changes, Thanks for the quick support. Hope it gets merged today |
…f BharatPi boards variant.
Description of Change
This Pull Request add support to three new hardware on the market using ESP32 modules, Bharat Pi Node Wifi , Bharat Pi A7672s 4G and Bharat Pi LoRa modules. Links to the hardware is provided below
Bharat Pi Node Wifi
https://bharatpi.net/product/bharat-pi-node-wifi/
Bharat Pi A7672s 4G Board
https://bharatpi.net/product/bharat-pi-4g-lte-module-with-esp32-simcom-a7672-with-gps/
Bharat Pi LoRa boards with Indian Frequency
https://bharatpi.net/product/bharat-pi-lora-module-with-esp32-lora868mhz-transreceiver-with-esp32-arduino-compatible/
These boards are used by Students, Tinkerers across 100s of different colleges and universities and we are connected with the Espressif to launch these boards.
Tests scenarios
We have tested these changes on a Bharat Pi boards using the Arduino IDE and the ESP32 core with 4MB, 8MB and 16MB flash versions of ESP32.
We have verified that the defined pins correspond to the correct hardware pins on the board.
We tested the samples codes and libraries of our code and example codes.
You can see our test codes in this page
https://github.com/Bharat-Pi/iot-projects
Related links
This is a support package for new variant
https://github.com/Bharat-Pi/iot-projects
https://bharatpi.net/product/bharat-pi-node-wifi/
https://bharatpi.net/product/bharat-pi-4g-lte-module-with-esp32-simcom-a7672-with-gps/
https://bharatpi.net/product/bharat-pi-lora-module-with-esp32-lora868mhz-transreceiver-with-esp32-arduino-compatible/