MICROMOD MACHINE LEARNING CARRIER BOARD - RP2040 PROCESSOR BOARD - HM01B0 CAMERA

I have set up the MicroMod Machine Learning carrier board with an RP2040 processor board and the Himax HM01B0 camera. When I attempt to run the sample code from the GitHub repo https://github.com/sparkfun/MicroMod_Ma … /Examples below

/*
  This sketch just verifies that the camera is responding at a basic level.

  We must provide power the camera (enable the 1.8V regulator)
  We must provide a clock source via MCLK so the camera can run

  We check for an ack at 0x24 then check that the device IDs match. If
  everything is ok, attempt to start the camera interface.
*/

//#include <Wire.h>

#define cameraI2Caddress 0x21

#include "hm01b0_arduino.h" //Click here to get the library: http://librarymanager/All#SparkFun_HM01B0
HM01B0 myCamera;

void setup() {
  Serial.begin(115200);
  while (!Serial);
  Serial.println();
  Serial.println("Camera example");

//  Wire.begin();

  pinMode(PWM_1, OUTPUT);

//  analogWriteFrequency(4000000); //Max square wave freq
//  analogWrite(18, 255 / 2); //Send 4MHz square wave to pin 18 / Camera MCLK

  //Reset camera via power cycle
  digitalWrite(PWM_1, LOW); //Turn camera off
  delay(25);
  digitalWrite(PWM_1, HIGH); //Turn camera on
  delay(25);


  // Start the camera
  if (myCamera.begin() != HM01B0_ERR_OK) {
    Serial.print("Camera.begin() failed with code: " + String(myCamera.status) + "\n");
  } else {
    Serial.print("Camera started successfully\n");
  }

//  Wire.beginTransmission(cameraI2Caddress);
//  if (Wire.endTransmission() != 0)
//  {
//    Serial.println("Camera not detected at 0x24. Please re-insert camera into connector facing down. Freezing...");
//    while(1);
//  }
//
//  if (getID() == 0x1B0)
//    Serial.println("Camera ID ok!");
//  else
//    Serial.println("Camera failed ID check");

}

void loop() {

}

//uint16_t getID()
//{
//  uint16_t pui16MID = 0x0000;
//  uint8_t ui8Data[1] = {0};
//
//  read(cameraI2Caddress, HM01B0_REG_MODEL_ID_H, ui8Data, sizeof(ui8Data));
//  pui16MID |= (ui8Data[0] << 8);
//
//  read(cameraI2Caddress, HM01B0_REG_MODEL_ID_L, ui8Data, sizeof(ui8Data));
//  pui16MID |= ui8Data[0];
//
//  return pui16MID;
//}
//
////Read a number of bytes into a provided container
//void read(uint8_t i2cAddress, uint16_t adr, uint8_t *buff, uint16_t bufferSize)
//{
//  Wire.beginTransmission(i2cAddress);
//  Wire.write((uint8_t)(adr >> 8));   // MSB
//  Wire.write((uint8_t)(adr & 0xFF)); // LSB
//  Wire.endTransmission();
//
//  Wire.requestFrom((uint8_t)i2cAddress, (uint8_t)bufferSize);
//
//  for (uint16_t x = 0; x < bufferSize; x++)
//    buff[x] = Wire.read();
//}

I get the following output:

/Users/robert/Documents/Arduino/libraries/SparkFun_Himax_HM01B0_Camera/src/hm01b0_c/src/hm01b0_c.c:20:2: error: #error “Unsupported platform: Submit an issue / pull request to https://github.com/sparkfun/SparkFun_HM … inoLibrary to add support for your target”

#error “Unsupported platform: Submit an issue / pull request to https://github.com/sparkfun/SparkFun_HM … inoLibrary to add support for your target”

^~~~~

Compilation error: exit status 1

As per the documentation, the camera is connected to the board via I2C, but when I run an I2C scanner I don’t detect any devices, not even the LIS2DH12 accelerometer.

It appears there is a problem with the board definitions; file an issue per the error/recommendation here https://github.com/sparkfun/SparkFun_HM … inoLibrary and/or https://github.com/sparkfun/MicroMod_Ma … is%3Aissue